OriginWizard
Map Maker
- 47
- Posts
- 3
- Years
- UK
- Seen Jan 30, 2023
I used PKSV to make a battle script which should be a Raikou battle at level 50. This is the script:
I also tried using what Rayquaza's battle looks like in the game but all that does is play the cry when I swap it to Raikou:
I've set the Person ID correctly, Script offset is correct, it when I click on the pokemon it crashes the game.
Is PKSV outdated or am I doing something wrong?
Spoiler:
#org 0x8740ABF
'-----------------------------------
special INIT_STEPCOUNT
compare LASTRESULT 0x2
if == jump 0x81A7AE0 ' Equal To
special GET_STEPCOUNT
lock
faceplayer
cry 0x30 0x2F3
nop0 ' #raw 0x0
waitcry
pause 0x14
playsound 0x156
battle RAIKOU 50 MAGNET
setflag RS_BADGE_1
special BATTLE_PIXELLATE
waitspecial
clearflag RS_BADGE_1
special2 LASTRESULT 0xB4
compare LASTRESULT 0x1
if == jump 0x8162558 ' Equal To
compare LASTRESULT 0x4
if == jump 0x8162561 ' Equal To
compare LASTRESULT 0x5
if == jump 0x8162561 ' Equal To
setflag 0x208
release
end
'-----------------------------------
special INIT_STEPCOUNT
compare LASTRESULT 0x2
if == jump 0x81A7AE0 ' Equal To
special GET_STEPCOUNT
lock
faceplayer
cry 0x30 0x2F3
nop0 ' #raw 0x0
waitcry
pause 0x14
playsound 0x156
battle RAIKOU 50 MAGNET
setflag RS_BADGE_1
special BATTLE_PIXELLATE
waitspecial
clearflag RS_BADGE_1
special2 LASTRESULT 0xB4
compare LASTRESULT 0x1
if == jump 0x8162558 ' Equal To
compare LASTRESULT 0x4
if == jump 0x8162561 ' Equal To
compare LASTRESULT 0x5
if == jump 0x8162561 ' Equal To
setflag 0x208
release
end
I also tried using what Rayquaza's battle looks like in the game but all that does is play the cry when I swap it to Raikou:
Spoiler:
#org 0x815F2C6
'-----------------------------------
lock
faceplayer
battle RAIKOU 50 NONE
cry 0x30 0x2F3
end
'-----------------------------------
lock
faceplayer
battle RAIKOU 50 NONE
cry 0x30 0x2F3
end
I've set the Person ID correctly, Script offset is correct, it when I click on the pokemon it crashes the game.
Is PKSV outdated or am I doing something wrong?