mirror of https://github.com/zeldaret/tmc.git
				
				
				
			Match sub_080186D4
This commit is contained in:
		
							parent
							
								
									a60ae10b96
								
							
						
					
					
						commit
						c17adeba29
					
				|  | @ -258,19 +258,3 @@ sub_080186C0: @ 0x080186C0 | |||
| 	bx lr | ||||
| 	.align 2, 0 | ||||
| _080186D0: .4byte gArea | ||||
| 
 | ||||
| 	thumb_func_start sub_080186D4 | ||||
| sub_080186D4: @ 0x080186D4
 | ||||
| 	push {lr} | ||||
| 	ldr r0, _080186E8 @ =gArea
 | ||||
| 	adds r0, #0x28 | ||||
| 	ldrb r0, [r0] | ||||
| 	cmp r0, #0xff | ||||
| 	bne _080186E4 | ||||
| 	bl sub_0801855C | ||||
| _080186E4: | ||||
| 	pop {pc} | ||||
| 	.align 2, 0 | ||||
| _080186E8: .4byte gArea | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -5,6 +5,8 @@ | |||
| #include "flags.h" | ||||
| #include "player.h" | ||||
| #include "kinstone.h" | ||||
| #include "area.h" | ||||
| #include "manager.h" | ||||
| 
 | ||||
| extern EntityData gUnk_080FEC28[]; | ||||
| extern EntityData gUnk_080FEBE8[]; | ||||
|  | @ -26,6 +28,12 @@ void sub_080189EC(int); | |||
| void sub_0801876C(int, int); | ||||
| void sub_08018738(u32, int); | ||||
| 
 | ||||
| void sub_080186D4(void) { | ||||
|     if (gArea.inventoryGfxIdx == 0xff) { | ||||
|         sub_0801855C(); | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| void sub_080186EC(u32 param_1) { | ||||
|     struct_080C9CBC* psVar1; | ||||
|     u32 i; | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Tal Hayon
						Tal Hayon