Talk:Village/@comment-16325373-20140320142541/@comment-9531161-20140320150203

OK, here are the important stuctures: GOSUB @SHOWDIALOGBOX SAY$="Yeah" GOSUB @MAKEWAITDIALOG SAY$="More yeah in a different window" GOSUB @MAKEWAITDIALOG GOSUB @HIDEDIALOGBOX
 * VF represents the objects in the village.
 * SPCLASS represents the classes of individual items, like whether it is an OBSTACLE, HAMMERABLE, DIGGABLE, TREE, etc.
 * UPDATEPKG is what updates all the bug, fish, and time stuff. This is where you'll want to put the villager walking code. UPDATEPKG is just what happens on one frame; for instance, it'll move a fish one or two pixels each time it is called. Do not call this function yourself
 * PLX and PLY are the player positions in VF
 * SHOWDIALOGBOX/HIDEDIALOGBOX/MAKEDIALOG/WAITDIALOG/YESNOCHOICE are the functions for the dialog system. MAKEDIALOG puts the string in SAY$ onto the screen within the dialog box. You'll basically want to do:
 * Probably more things that I'm forgetting about. Let me know if you need help with variables or the system, but just know that I can't mod it for you.