master morty
Master Spriter
- 93
- Posts
- 16
- Years
- The world I created yesterday
- Seen Oct 15, 2013
hey I tried to make a script where there two nightingales (my custom trainers) standing and when you step on a tile the one to the left moves up but before that the right one says halt
after that the right one challenges you to a battle after that the second one but when I compiled the script the game freezes when I stand on the script tile what did I do wrong? here is the script note I did not put in setflag and checkflag because this is a script test
#org 0x76ECF0
message 0x800000
boxset 0x6
applymovement 0x5 0x800100
pause 0x20
#raw 0x5C
trainerbattle 0x0 0x46 0x0 0x76ED30 0x76ED60
#raw 0x5C
trainerbattle 0x0 0x46 0x0 0x800200 0x800300
release
end
#org 0x800000
= Halt!
#org 0x800100
#raw 0x09
#raw 0x09
#raw 0xFE
#org 0x76ED30
= before you battle our leader,
you must defeat us in a match
#org 0x76ED60
= how did you beat me!?!
#org 0x800200
= she was weak now it's my turn!
#org 0x800300
= I stand in awe at your skill
actually I fixed it all I needed to do was assign the script to an npc
after that the right one challenges you to a battle after that the second one but when I compiled the script the game freezes when I stand on the script tile what did I do wrong? here is the script note I did not put in setflag and checkflag because this is a script test
#org 0x76ECF0
message 0x800000
boxset 0x6
applymovement 0x5 0x800100
pause 0x20
#raw 0x5C
trainerbattle 0x0 0x46 0x0 0x76ED30 0x76ED60
#raw 0x5C
trainerbattle 0x0 0x46 0x0 0x800200 0x800300
release
end
#org 0x800000
= Halt!
#org 0x800100
#raw 0x09
#raw 0x09
#raw 0xFE
#org 0x76ED30
= before you battle our leader,
you must defeat us in a match
#org 0x76ED60
= how did you beat me!?!
#org 0x800200
= she was weak now it's my turn!
#org 0x800300
= I stand in awe at your skill
actually I fixed it all I needed to do was assign the script to an npc
Last edited: