fork/training-mode-ce
git clone https://git.julia.blue/fork/training-mode-ce
96edbd1
master
1# To be inserted at 800ccb40 2# This ASM is injected to "800CCAAC:Fighter_IASACheck_AllAerial" function which is called from some air action states' IASA function. 3# So this can affect to other action states' IASA besides "Fall". 4.include "../../../Globals.s" 5 6.set player , 31 7 8backup 9 10# fulfill requirements of the static function before branching 11mr r4 , player # store player to r4 12bl Text # store the address of OSD text to r6 13mflr r6 14li r10 , OSD.ActOoAirborne # store the OSD kind ID to r10 15 16branchl r12 , 0x8000550c 17b Exit 18 19Text : 20blrl 21.string "Aerial OoFall\nFrame %d" 22.align 2 23 24Exit : 25restore 26cmpwi r3 , 0