fork/training-mode-ce

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

AitchMerge pull request #242 from NickCondron/remove-asm96edbd1

techchase-camera
830 B38 linesraw
1    # To be inserted at 800d5d5c
2    .include "../../../../Globals.s"
3    .include "../../../../m-ex/Header.s"
4
5    .set entity, 31
6    .set playerdata, 31
7    .set player, 30
8    .set text, 29
9    .set textprop, 28
10    .set hitbool, 27
11
12##########################################################
13## 804a1f5c -> 804a1fd4 = Static Stock Icon Text Struct ##
14## Is 0x80 long and is zero'd at the start ##
15## of every VS Match ##
16## Store Text Info here ##
17##########################################################
18
19    backupall
20
21    lwz r5, 0x2C(r31)
22
23    # Check If Coming From Airdodge
24    lhz r3, TM_OneASAgo (r5)
25    cmpwi r3, 0xEC
26    bne Exit
27    # Check For CliffWait
28    lhz r3, TM_FourASAgo (r5)
29    cmpwi r3, 0xFD
30    bne Exit
31
32    mr r3, r31
33    li r4, 0
34    branchl r12, 0x80005514
35
36Exit:
37    restoreall
38    mr r3, r31