okay, here's the problem I have.
I need a script for a rival battle and tried this:
- Spoiler:
#org $start
lock
checkflag 0x1206
if 0x01 goto $done
applymovement 0x02
message $blank
boxset 6
trainerbattle 1 0x001 $before $after $later
release
end
#org $move
#raw 0x00 0x62 0x10 0x10 0xFE
#org $move 2
#raw 0x63 0xFE
message $blank
blank 1 =...
#org $before
$before 1 =Battle...
#org $after
$after 1 =... I lost...
#org $later
applymovement 0xFF
fadescreen 1
removesprite 2
checkflag 0x1206
pause 0x10
fadescreen 0x00
release
end
I'm not sure how it failed, but I'll break down what it's meant to do.
-lock the player in place
-check the flag didn't already occur, if it did, release the player and end the scirpt
-if it didn't a person on the map looks down, explenation mark appears over their head and he steps down 2 squares
-display the message "..."
-begin the battle with the text: "battle..."
-afterwards it should say "I lost", then the script should continue
-then the screen should go black
-the person dissapears
-the screen comes back
-the player is released, the script ends.