mirror of https://github.com/zeldaret/tmc.git
				
				
				
			Fix r1 call
This commit is contained in:
		
							parent
							
								
									b4557f8778
								
							
						
					
					
						commit
						0a6ac50774
					
				| 
						 | 
				
			
			@ -21,13 +21,12 @@ extern u8 gUnk_0811022E[];
 | 
			
		|||
 | 
			
		||||
void sub_08065C0C(Entity* this);
 | 
			
		||||
static EntityAction* const gUnk_08110164[];
 | 
			
		||||
extern u32 _call_via_r1(u32, u32*);
 | 
			
		||||
 | 
			
		||||
void GhostBrothers(Entity* this) {
 | 
			
		||||
    if (this->flags & 0x2) {
 | 
			
		||||
        sub_08065C0C(this);
 | 
			
		||||
    } else {
 | 
			
		||||
        _call_via_r1((u32)this, (u32*)gUnk_08110164[this->type]);
 | 
			
		||||
        gUnk_08110164[this->type](this);
 | 
			
		||||
 | 
			
		||||
        if (this->type < 3) {
 | 
			
		||||
            s8* ptr = gUnk_0811015C;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue