fork/training-mode-ce

git clone https://git.julia.blue/fork/training-mode-ce

AitchMerge pull request #242 from NickCondron/remove-asm96edbd1

master
714 B26 linesraw
1    # To be inserted at 800CCAC4
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
8    backup
9
10    # fulfill requirements of the static function before branching
11    mr r4, player              # store player to r4
12    bl Text                    # store the address of OSD text to r6
13    mflr r6
14    li r10, OSD.ActOoAirborne  # store the OSD kind ID to r10
15
16    branchl r12, 0x8000550c
17    b Exit
18
19Text:
20    blrl
21    .string "Special OoFall\nFrame %d"
22    .align 2
23
24Exit:
25    restore
26    cmpwi r3, 0