mirror of https://github.com/zeldaret/tmc.git
				
				
				
			Match sub_080267D0
This commit is contained in:
		
							parent
							
								
									78d262be7e
								
							
						
					
					
						commit
						ce2cec75e7
					
				| 
						 | 
					@ -17,34 +17,6 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	thumb_func_start sub_080267D0
 | 
					 | 
				
			||||||
sub_080267D0: @ 0x080267D0
 | 
					 | 
				
			||||||
	push {r4, lr}
 | 
					 | 
				
			||||||
	sub sp, #4
 | 
					 | 
				
			||||||
	adds r4, r0, #0
 | 
					 | 
				
			||||||
	movs r1, #0xf0
 | 
					 | 
				
			||||||
	movs r2, #8
 | 
					 | 
				
			||||||
	bl sub_080277B8
 | 
					 | 
				
			||||||
	adds r0, r4, #0
 | 
					 | 
				
			||||||
	adds r0, #0x84
 | 
					 | 
				
			||||||
	ldr r0, [r0]
 | 
					 | 
				
			||||||
	ldrb r0, [r0, #3]
 | 
					 | 
				
			||||||
	cmp r0, #1
 | 
					 | 
				
			||||||
	beq _08026802
 | 
					 | 
				
			||||||
	movs r0, #0xff
 | 
					 | 
				
			||||||
	str r0, [sp]
 | 
					 | 
				
			||||||
	adds r0, r4, #0
 | 
					 | 
				
			||||||
	movs r1, #0xe0
 | 
					 | 
				
			||||||
	movs r2, #0xc0
 | 
					 | 
				
			||||||
	movs r3, #0x20
 | 
					 | 
				
			||||||
	bl sub_08027B98
 | 
					 | 
				
			||||||
	ldr r0, [r4, #0x54]
 | 
					 | 
				
			||||||
	movs r1, #2
 | 
					 | 
				
			||||||
	bl InitAnimationForceUpdate
 | 
					 | 
				
			||||||
_08026802:
 | 
					 | 
				
			||||||
	add sp, #4
 | 
					 | 
				
			||||||
	pop {r4, pc}
 | 
					 | 
				
			||||||
	.align 2, 0
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	thumb_func_start sub_08026808
 | 
						thumb_func_start sub_08026808
 | 
				
			||||||
sub_08026808: @ 0x08026808
 | 
					sub_08026808: @ 0x08026808
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -754,3 +754,11 @@ void sub_08026774(ChuchuBossEntity* this) {
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    sub_080277F8(this);
 | 
					    sub_080277F8(this);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					void sub_080267D0(ChuchuBossEntity* this) {
 | 
				
			||||||
 | 
					    sub_080277B8(this, 0xf0, 8);
 | 
				
			||||||
 | 
					    if (this->unk_84->unk_03 != 1) {
 | 
				
			||||||
 | 
					        sub_08027B98(this, 0xe0, 0xc0, 0x20, 0xff);
 | 
				
			||||||
 | 
					        InitAnimationForceUpdate(super->child, 2);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue