- 12
- Posts
- 10
- Years
- Seen Nov 10, 2014
1. My script ends after every trainer battle. When I step off the tile and back on, I get the "Aah, [player] message again, then it skips the battle and proceeds with the next part of the script.
2. The movement commands are moving sprites that are NOT referenced anywhere in the script. Like, scripts standing by on the side will just turn to face a different direction when the player is supposed to.
Here is my script... I imagine something stupid is wrong. I'm fairly new to this...
#org 0x700200
msgbox 0x89704D3 MSG_NORMAL '"Aah, [player]. I am the LEADER of\..."
applymovement MOVE_PLAYER 0x87004A2
waitmovement 0x0
trainerbattle 0x0 0x118 0x0 0x8801021 0x8801021
msgbox 0x8801021 MSG_NORMAL '"Rrrarrghhh!"
applymovement MOVE_PLAYER 0x8702200
waitmovement 0x0
trainerbattle 0x0 0x142 0x0 0x8801021 0x8801021
msgbox 0x8801021 MSG_NORMAL '"Rrrarrghhh!"
applymovement MOVE_PLAYER 0x8702300
waitmovement 0x0
msgbox 0x89702E9 MSG_NORMAL '"Well, [player], that was pretty\ng..."
applymovement 0x29 0x8702500
waitmovement 0x0
applymovement MOVE_PLAYER 0x8702400
waitmovement 0x0
msgbox 0x897018A MSG_NORMAL '"Hello, kid. I was wondering who\nt..."
trainerbattle 0x0 0x295 0x0 0x8970163 0x897017C
msgbox 0x89700F1 MSG_NORMAL '"You stupid kid! You make me\nhoppi..."
fadescreen 0x0
hidesprite 0x27
hidesprite 0x29
hidesprite 0x23
hidesprite 0x24
hidesprite 0x25
hidesprite 0x26
hidesprite 0x13
hidesprite 0x6
hidesprite 0x18
hidesprite 0x16
setflag 0x203
msgbox 0x8970098 MSG_NORMAL '"Well... THAT was strange. Guess I\..."
setvar 0x406F 0x1
end
2. The movement commands are moving sprites that are NOT referenced anywhere in the script. Like, scripts standing by on the side will just turn to face a different direction when the player is supposed to.
Here is my script... I imagine something stupid is wrong. I'm fairly new to this...
#org 0x700200
msgbox 0x89704D3 MSG_NORMAL '"Aah, [player]. I am the LEADER of\..."
applymovement MOVE_PLAYER 0x87004A2
waitmovement 0x0
trainerbattle 0x0 0x118 0x0 0x8801021 0x8801021
msgbox 0x8801021 MSG_NORMAL '"Rrrarrghhh!"
applymovement MOVE_PLAYER 0x8702200
waitmovement 0x0
trainerbattle 0x0 0x142 0x0 0x8801021 0x8801021
msgbox 0x8801021 MSG_NORMAL '"Rrrarrghhh!"
applymovement MOVE_PLAYER 0x8702300
waitmovement 0x0
msgbox 0x89702E9 MSG_NORMAL '"Well, [player], that was pretty\ng..."
applymovement 0x29 0x8702500
waitmovement 0x0
applymovement MOVE_PLAYER 0x8702400
waitmovement 0x0
msgbox 0x897018A MSG_NORMAL '"Hello, kid. I was wondering who\nt..."
trainerbattle 0x0 0x295 0x0 0x8970163 0x897017C
msgbox 0x89700F1 MSG_NORMAL '"You stupid kid! You make me\nhoppi..."
fadescreen 0x0
hidesprite 0x27
hidesprite 0x29
hidesprite 0x23
hidesprite 0x24
hidesprite 0x25
hidesprite 0x26
hidesprite 0x13
hidesprite 0x6
hidesprite 0x18
hidesprite 0x16
setflag 0x203
msgbox 0x8970098 MSG_NORMAL '"Well... THAT was strange. Guess I\..."
setvar 0x406F 0x1
end