- 86
- Posts
- 9
- Years
- North Carolina
- Seen Apr 29, 2018
I am trying to make a script that involves the player's mother giving him the running shoes. That script involves movements.
Script:
The script freezes on the spot. I was reading diegoisawesome's XSE tutorial, and it said how to fix the freezing, but instead of doing so with text, it did so with dead links to images, preventing me from finding an answer there, so I ask here.
Script:
Spoiler:
#dynamic 0x801100
#org @start
checkflag 0x800
if 0x1 goto @done
applymovement 0xFF @move
waitmovement 0x0
applymovement 0x0 @move2
waitmovement 0x0
msgbox @msg1 0x6
special 0x171
msgbox @msg2 0x6
applymovement 0x0 @move3
waitmovement 0x0
setflag 0x800
release
end
#org @move
#raw 0x62
#raw 0x0
#raw 0xFE
#org @move2
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE
#org @move3
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE
#org @done
release
end
#org @msg1
= [player]!\pYou left your shoes at home!
#org @msg2
= What's a good TRAINER without\ngood shoes? I'd have hated to\lgive away your Nikes.\pWell, back home I go!
#org @start
checkflag 0x800
if 0x1 goto @done
applymovement 0xFF @move
waitmovement 0x0
applymovement 0x0 @move2
waitmovement 0x0
msgbox @msg1 0x6
special 0x171
msgbox @msg2 0x6
applymovement 0x0 @move3
waitmovement 0x0
setflag 0x800
release
end
#org @move
#raw 0x62
#raw 0x0
#raw 0xFE
#org @move2
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x13
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0x11
#raw 0xFE
#org @move3
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0x10
#raw 0xFE
#org @done
release
end
#org @msg1
= [player]!\pYou left your shoes at home!
#org @msg2
= What's a good TRAINER without\ngood shoes? I'd have hated to\lgive away your Nikes.\pWell, back home I go!
The script freezes on the spot. I was reading diegoisawesome's XSE tutorial, and it said how to fix the freezing, but instead of doing so with text, it did so with dead links to images, preventing me from finding an answer there, so I ask here.