View Single Post
  #7154    
Old August 6th, 2012 (06:13 PM).
tajaros's Avatar
tajaros
Hi I'm dawg
 
Join Date: Apr 2012
Location: Philippines
Age: 15
Gender: Male
Nature: Timid
Send a message via Windows Live Messenger to tajaros
Quote:
Originally Posted by Korvydaehunt View Post
Game: Fire Red (US9
Type: Level
Editor: XSE
The problem is it actually works, but only once, and I want it to keep happening until I set the flag.
Script:
Spoiler:
'---------------
#org 0x71A5E0
#raw 0x2
#raw pointer 0x871A5E6
#raw 0x0

'---------------
#org 0x71A5E6
#raw word 0x4051
#raw word 0x0
#raw pointer 0x8800262
#raw word 0x0

'---------------
#org 0x800262
checkflag 0x1002
if 0x1 goto 0x8800294
applymovement 0xB 0x8800297
waitmovement 0x0
msgbox 0x880029B MSG_FACE '"You can't be here!!"
applymovement 0xB 0x88002B1
setvar 0x4051 0x1
clearflag 0x1002
warp 0x3 0x0 0x2 0x0 0x0
release
end

'---------------
#org 0x800294
release
end


'---------
' Strings
'---------
#org 0x80029B
= You can't be here!!


'-----------
' Movements
'-----------
#org 0x800297
#raw 0x4 'Face Down (Faster)
#raw 0x62 'Exclamation Mark (!)
#raw 0xFE 'End of Movements

#org 0x8002B1
#raw 0x1D 'Step Down (Fast)
#raw 0xFE 'End of Movements
You have to input a setvar command, use it so the event won't happen again, and again... xD

Use the setvar you use in the map script... And put it in the end of the script...
__________________