tinix
PearlShipper & C Programmer
- 86
- Posts
- 15
- Years
- Bratislava, Slovakia
- Seen Jun 19, 2021
game: fire red
editor: PKSV
script:
As you can see i have trainerbattle 0x1 command here with three comands on it: 0x874028C, 0x87402C3 and @ending
but @ending dont work after battle what is wrong ?
editor: PKSV
script:
Spoiler:
#dyn 0x740000
#org 0x8740256
'-----------------------------------
lock
faceplayer
checkflag 0x205
if true jump 0x8740281 ' Flag is set
applymovement 0x3 0x87402F1 ' look_right walk_righ...
msgbox 0x8740283 ' Hey You!
callstd MSG_NOCLOSE ' Non-closing message
trainerbattle 0x1 0x3 0x0 0x874028C 0x87402C3 @ending
end
#org 0x8740281
'-----------------------------------
release
end
#org 0x8740283
= Hey You!
#org 0x874028C
= You are rookie trainer arent you? \nLets have a battle.
#org 0x87402C3
= You have potetntial for[.] \nNo it cant be true.
#org 0x87402F1
M look_right walk_right look_down walk_down walk_down end
#org @ending
msgbox @test
callstd MSG_NORMAL
applymovement 0x3 @move2
release
end
#org @test
= test
#org @move2
m look_up walk_up walk_up look_left walk_left look_right end
#org 0x8740256
'-----------------------------------
lock
faceplayer
checkflag 0x205
if true jump 0x8740281 ' Flag is set
applymovement 0x3 0x87402F1 ' look_right walk_righ...
msgbox 0x8740283 ' Hey You!
callstd MSG_NOCLOSE ' Non-closing message
trainerbattle 0x1 0x3 0x0 0x874028C 0x87402C3 @ending
end
#org 0x8740281
'-----------------------------------
release
end
#org 0x8740283
= Hey You!
#org 0x874028C
= You are rookie trainer arent you? \nLets have a battle.
#org 0x87402C3
= You have potetntial for[.] \nNo it cant be true.
#org 0x87402F1
M look_right walk_right look_down walk_down walk_down end
#org @ending
msgbox @test
callstd MSG_NORMAL
applymovement 0x3 @move2
release
end
#org @test
= test
#org @move2
m look_up walk_up walk_up look_left walk_left look_right end
As you can see i have trainerbattle 0x1 command here with three comands on it: 0x874028C, 0x87402C3 and @ending
but @ending dont work after battle what is wrong ?