MrDollSteak

Formerly known as 11bayerf1

Age 24
Male
Hong Kong
Seen 3 Days Ago
Posted May 15th, 2019
846 posts
10.6 Years
Done!

The only effect bytes that are still left inline are that of pawell6's and itari's, so if you guys could either repost the respective codes or give me permission to remove them from the OP that'd be appreciated!
I'm going to post an updated Flare Blitz here that uses Double-Edge's battle script (198), it will also unthaw the user when used, which I don't think Jambo's does.

I'm not 100% sure on Pawell6's and itari's. I don't know about permissions but I'll write up a BSP version of their moves, apart from the really buggy ones like U-Turn and Dragon Tail because those'll likely need ASM.

EDIT: It seems that to unthaw, you need battle script 125, so I'll hook Flare Blitz into that instead. The AI may not realise it has recoil, but I feel that being able to unfreeze the user is more significant.

Flare Blitz for FireRed

Spoiler:

Replace battle script 125 with this, note that 0x1B2 is the index for Flare Blitz in my rombase, so just make a note of that and change it.
This allows for a burn chance, defrosts the user, and does 1/3 recoil.
#dynamic 0x800000
#freespacebyte 0xFF

#org @start
setbyte 0x2023E85 0x3
jumpifhalfword 0x0 0x2023D4A 0x1B2 @flareblitz
goto 0x81D6900

#org @flareblitz
attackcanceler
accuracycheck 0x81D695E 0x0
attackstring
ppreduce
calculatedamage
attackanimation
waitanimation
missmessage
cmd5c BANK_TARGET
waitstate
graphicalhpupdate BANK_TARGET
datahpupdate BANK_TARGET
critmessage
waitmessage DELAY_1SECOND
resultmessage
waitmessage DELAY_1SECOND
seteffectwithchancetarget
setbyte 0x2023E85 0xE6
seteffectwithchancetarget
goto 0x81D6947