Good Day PC, I just want to ask how to implement DIVE in FireRed?
I tried this method:
Create A tilesets and Maps that had UNDERWATER data...
Then I created a script:
This is EMERGE and DIVE SCRIPT script:
Quote:
'---------------
#org 0x8028B8
lockall
checkflag 0x800
if 0x0 goto 0x88028CA
call 0x8802866
releaseall
end
'---------------
#org 0x8028CA
checkattack 0x123
compare LASTRESULT 0x6
if 0x1 goto 0x8802866
bufferpartypokemon 0x0 LASTRESULT
setanimation 0x0 LASTRESULT
setanimation 0x1 0x1
msgbox 0x880290F MSG_YESNO '"Light is filtering down from above..."
compare LASTRESULT 0x0
if 0x1 goto 0x880290C
msgbox 0x8802951 MSG_KEEPOPEN '"[buffer1] used DIVE"
doanimation 0x2C
warp 0x43 0x0 0x1 0x0 0x0
end
'---------------
#org 0x802866
lockall
msgbox 0x8802872 MSG_NORMAL '"Light is filtering down from above..."
releaseall
end
'---------------
#org 0x80290C
releaseall
end
'---------
' Strings
'---------
#org 0x80290F
= Light is filtering down from above.\nWould you like to use DIVE?
#org 0x802951
= [buffer1] used DIVE
#org 0x802872
= Light is filtering down from above.\nA POKéMON may be able to surface.
|
I think there is something in WARP COMMAND....
Yeah it works (Y) I can use dive, but when I warped in a blackscreen map, I also used other map that is not expanded.
THANKS