fork/training-mode-ce

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

UnclePunchupdate OSD codef7aa10e

techchase-camera
862 B45 linesraw
1#To be inserted at 80078950
2.include "../../../Globals.s"
3.include "../../../../m-ex/Header.s"
4
5#Original Line
6lwz	r7, 0x002C (r30)
7
8#Check if this is a Pummel
9lwz	r3,0x10(r7)
10cmpwi	r3,0xD9
11beq	Exit
12
13#Allow for Cliff Attacks
14cmpwi	r3,0x100
15beq	Exit
16cmpwi	r3,0x101
17beq	Exit
18
19#Check If Attacker Is Grabbable (Attacker is Set Grabbable When the Throw Releases the Victim)
20lhz	r3,0x1A6A(r7)		#Grabbable Flag
21cmpwi	r3,0x0
22bne	SkipComboIncrement
23
24#Check If Attacker Is Throwing, Allow Combo Inc
25lwz	r3,0x10(r7)
26cmpwi	r3,0xDB
27blt	SkipThrowCheck
28cmpwi	r3,0xDE
29bgt	SkipThrowCheck
30b	Exit
31SkipThrowCheck:
32
33#Check If Same Move ID as Last Hit
34#lwz	r3,0x2C(r31)
35#lhz	r3,0x18EC(r3)		#Last Move Instance Victim Was Hit By
36#lhz	r4,0x2088(r7)		#Attacking Player's Current Move Instance
37#cmpw	r3,r4
38#beq	SkipComboIncrement
39
40b	Exit
41
42SkipComboIncrement:
43branch	r12,0x8007897c
44
45Exit: