Quote:
Originally Posted by Fatlip_A
Awesome! Thank you for the answer. Sounds easy enough. Do you have an example? Or could you point me towards a tutorial or an explanation of the subject?
|
Cut's attack entry is 0xF:
Here are the attacks:
(Copied from XSE)
Then in Advance-Map open up the map with cut and open the script in XSE. Or for Firered, the script offset is 1BDF13
In the beginning of the script:
#dynamic 0x80A698
'---------------
#org @start
special 0x187
compare LASTRESULT 0x2
if 0x1 goto @snippet1
lockall
checkflag 0x821 'checks for the badge
if 0x0 goto @snippet2 'If no badge
checkattack 0xF
compare LASTRESULT 0x6 'compares if you have it
Change checkattack's ID to the corresponding attack ID of your attack, and recompile that script to your rom. Then replace all cut tree's offsets on a-map with your compiled offset
In the line
Sorry for not stating this step:
bufferattack 0x1 0xF
Change 0xF as well