-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathYoshiPunch.s
More file actions
26 lines (23 loc) · 740 Bytes
/
Copy pathYoshiPunch.s
File metadata and controls
26 lines (23 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
@ called in multiple states
nsub_020ddeb4_ov_02:
bne 0x020ddedc @ punch if not yoshi
bl check_yellow_yoshi
beq 0x020ddedc @ punch if yellow
b 0x020ddeb8 @ tongue if not
@ in Player::St_SlopeJump_Main
nsub_020e0bbc_ov_02:
bne 0x020e0bd0 @ dive if not yoshi
bl check_yellow_yoshi
beq 0x020e0bd0 @ dive if yellow
b 0x020e0bc0 @ tongue if not
@ called in multiple states
nsub_020e283c_ov_02:
bne 0x020e2850 @ dive if not yoshi
bl check_yellow_yoshi
beq 0x020e2850 @ dive if yellow
b 0x020e2840 @ tongue if not
check_yellow_yoshi:
ldr r0, =currentYoshiColor
ldrb r0, [r0, #0x0]
cmp r0, #0x3
bx r14