View Single Post
  #7323    
Old September 19th, 2012 (5:12 AM).
ManekenT ManekenT is offline
 
Join Date: Aug 2012
Posts: 2

Need help with var number, with some var numbers the scripts seem to work but reset when i change maps and with some they dont work at all.
How do i find out which var number is correct and for what are they used?
Or is there a problem in the script?

Game: FireRed
Type: Trigger
Editor: XSE

Spoiler:
Code:
'---------------
#org 0x740C95
lockall
setvar 0x7000 0x1
goto 0x8740CA1

'--------------- #org 0x740CA1 checkflag 0x901 if 0x1 goto 0x8740CF4 checkflag 0x902 if 0x1 goto 0x8740CD5 applymovement 0x2 0x8740DA1 waitmovement 0x0 msgbox 0x8740CF7 MSG_KEEPOPEN '"Text" applymovement MOVE_PLAYER 0x8740D9E waitmovement 0x0 setflag 0x902 releaseall end

'--------------- #org 0x740CF4 releaseall end

'--------------- #org 0x740CD5 applymovement 0x2 0x8740DA1 waitmovement 0x0 msgbox 0x8740D40 MSG_KEEPOPEN '"Text" applymovement MOVE_PLAYER 0x8740D9E waitmovement 0x0 releaseall end

'--------- ' Strings '--------- #org 0x740CF7 = Text #org 0x740D40 = Text

'----------- ' Movements '----------- #org 0x740DA1 #raw 0x2 'Face Left #raw 0xFE 'End of Movements

#org 0x740D9E #raw 0x11 'Step Up (Normal) #raw 0xFE 'End of Movements