Hi so the problem is that when I make a script with xse containing the warp command (or any other warping commands) the game freezes down.(The script starts and when it gets to "warp" it teleports the player away but to a froze down black/white screen. Also it's in my GBA romhack.
EX script (ignore he applymovements and msgboxes)
#dynamic 0x1AD03A
#org @start
lock
faceplayer
applymovement 0x4 @move1
waitmovement 0x4
msgbox @string1 MSG_NORMAL '"???:Voltorb,Thunder Wave!"
sound 0x13
playsong 0x112 0x1
applymovement 0x4 @move2
waitmovement 0x4
msgbox @string2 MSG_NORMAL '"Ahh!What the!?\nWhy I can't move?!"
applymovement 0x1 @move3
waitmovement 0x1
msgbox @string3 MSG_NORMAL '"Thug:Oh well well.Remember when I\..."
sethealingplace 0x1
warp 0x42 0x0 0xFF 0x1 0x2 <---------------------------------------------------------------------------------HERE IS THE WARP!
setvar 0x4083 0x1
setflag 0x255
setflag 0x256
release
end
'---------
' Strings
'---------
#org @string1
= ???:Voltorb,Thunder Wave!
#org @string2
= Ahh!What the!?\nWhy I can't move?!
#org @string3
= Thug:Oh well well.Remember when I\nsaid next time?\pWell this is the next time!\p[player]:What?Why are you doing this?\nAnd what are you doing actually?\pThug:The boss has noticed your\nheroic actions.And he thinks that\pyou are a threat to our\norganiyation!\pHe wants to eliminate you before it'\ntoo late.
'-----------
' Movements
'-----------
#org @move1
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0xFE 'End of Movements
#org @move2
#raw 0x49 'Jump Facing Left (Right)
#raw 0xA 'Step Left (Very Slow)
#raw 0xFE 'End of Movements
#org @move3
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements
EX script (ignore he applymovements and msgboxes)
#dynamic 0x1AD03A
#org @start
lock
faceplayer
applymovement 0x4 @move1
waitmovement 0x4
msgbox @string1 MSG_NORMAL '"???:Voltorb,Thunder Wave!"
sound 0x13
playsong 0x112 0x1
applymovement 0x4 @move2
waitmovement 0x4
msgbox @string2 MSG_NORMAL '"Ahh!What the!?\nWhy I can't move?!"
applymovement 0x1 @move3
waitmovement 0x1
msgbox @string3 MSG_NORMAL '"Thug:Oh well well.Remember when I\..."
sethealingplace 0x1
warp 0x42 0x0 0xFF 0x1 0x2 <---------------------------------------------------------------------------------HERE IS THE WARP!
setvar 0x4083 0x1
setflag 0x255
setflag 0x256
release
end
'---------
' Strings
'---------
#org @string1
= ???:Voltorb,Thunder Wave!
#org @string2
= Ahh!What the!?\nWhy I can't move?!
#org @string3
= Thug:Oh well well.Remember when I\nsaid next time?\pWell this is the next time!\p[player]:What?Why are you doing this?\nAnd what are you doing actually?\pThug:The boss has noticed your\nheroic actions.And he thinks that\pyou are a threat to our\norganiyation!\pHe wants to eliminate you before it'\ntoo late.
'-----------
' Movements
'-----------
#org @move1
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0xFE 'End of Movements
#org @move2
#raw 0x49 'Jump Facing Left (Right)
#raw 0xA 'Step Left (Very Slow)
#raw 0xFE 'End of Movements
#org @move3
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x10 'Step Down (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x13 'Step Right (Normal)
#raw 0x1 'Face Up
#raw 0xFE 'End of Movements
Last edited: