mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
PoC
This commit is contained in:
parent
40ca6c9563
commit
8c2ed54a39
@ -159,7 +159,7 @@ glabel func_8024061C_C2F1BC
|
||||
/* C2F40C 8024086C 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C2F410 80240870 1462000D */ bne $v1, $v0, .L802408A8
|
||||
/* C2F414 80240874 00000000 */ nop
|
||||
/* C2F418 80240878 0C090037 */ jal UnkNpcAIFunc8
|
||||
/* C2F418 80240878 0C090037 */ jal dgb_02_UnkNpcAIFunc8
|
||||
/* C2F41C 8024087C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C2F420 80240880 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C2F424 80240884 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -180,7 +180,7 @@ glabel func_802410D4_C2FC74
|
||||
/* C2FF18 80241378 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C2FF1C 8024137C 1462001F */ bne $v1, $v0, .L802413FC
|
||||
/* C2FF20 80241380 00000000 */ nop
|
||||
/* C2FF24 80241384 0C090037 */ jal UnkNpcAIFunc8
|
||||
/* C2FF24 80241384 0C090037 */ jal dgb_02_UnkNpcAIFunc8
|
||||
/* C2FF28 80241388 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C2FF2C 8024138C 080904FF */ j .L802413FC
|
||||
/* C2FF30 80241390 00000000 */ nop
|
||||
|
@ -159,7 +159,7 @@ glabel func_8024086C_C31D4C
|
||||
/* C31F9C 80240ABC 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C31FA0 80240AC0 1462000D */ bne $v1, $v0, .L80240AF8
|
||||
/* C31FA4 80240AC4 00000000 */ nop
|
||||
/* C31FA8 80240AC8 0C0900CB */ jal UnkNpcAIFunc8
|
||||
/* C31FA8 80240AC8 0C0900CB */ jal dgb_03_UnkNpcAIFunc8
|
||||
/* C31FAC 80240ACC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C31FB0 80240AD0 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C31FB4 80240AD4 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -165,7 +165,7 @@ glabel func_802419B0_C32E90
|
||||
/* C330F8 80241C18 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C330FC 80241C1C 1462000D */ bne $v1, $v0, .L80241C54
|
||||
/* C33100 80241C20 00000000 */ nop
|
||||
/* C33104 80241C24 0C0900CB */ jal UnkNpcAIFunc8
|
||||
/* C33104 80241C24 0C0900CB */ jal dgb_03_UnkNpcAIFunc8
|
||||
/* C33108 80241C28 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C3310C 80241C2C 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C33110 80241C30 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -180,7 +180,7 @@ glabel func_80242480_C33960
|
||||
/* C33C04 80242724 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C33C08 80242728 1462001F */ bne $v1, $v0, .L802427A8
|
||||
/* C33C0C 8024272C 00000000 */ nop
|
||||
/* C33C10 80242730 0C0900CB */ jal UnkNpcAIFunc8
|
||||
/* C33C10 80242730 0C0900CB */ jal dgb_03_UnkNpcAIFunc8
|
||||
/* C33C14 80242734 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C33C18 80242738 080909EA */ j .L802427A8
|
||||
/* C33C1C 8024273C 00000000 */ nop
|
||||
|
@ -180,7 +180,7 @@ glabel func_80240E80_C3B890
|
||||
/* C3BB34 80241124 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C3BB38 80241128 1462001F */ bne $v1, $v0, .L802411A8
|
||||
/* C3BB3C 8024112C 00000000 */ nop
|
||||
/* C3BB40 80241130 0C09004F */ jal UnkNpcAIFunc8
|
||||
/* C3BB40 80241130 0C09004F */ jal dgb_05_UnkNpcAIFunc8
|
||||
/* C3BB44 80241134 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C3BB48 80241138 0809046A */ j .L802411A8
|
||||
/* C3BB4C 8024113C 00000000 */ nop
|
||||
|
@ -159,7 +159,7 @@ glabel func_802411D0_C3BBE0
|
||||
/* C3BE30 80241420 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C3BE34 80241424 1462000D */ bne $v1, $v0, .L8024145C
|
||||
/* C3BE38 80241428 00000000 */ nop
|
||||
/* C3BE3C 8024142C 0C09004F */ jal UnkNpcAIFunc8
|
||||
/* C3BE3C 8024142C 0C09004F */ jal dgb_05_UnkNpcAIFunc8
|
||||
/* C3BE40 80241430 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C3BE44 80241434 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C3BE48 80241438 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -180,7 +180,7 @@ glabel func_80240E20_C3EA10
|
||||
/* C3ECB4 802410C4 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C3ECB8 802410C8 1462001F */ bne $v1, $v0, .L80241148
|
||||
/* C3ECBC 802410CC 00000000 */ nop
|
||||
/* C3ECC0 802410D0 0C090037 */ jal UnkNpcAIFunc8
|
||||
/* C3ECC0 802410D0 0C090037 */ jal dgb_07_UnkNpcAIFunc8
|
||||
/* C3ECC4 802410D4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C3ECC8 802410D8 08090452 */ j .L80241148
|
||||
/* C3ECCC 802410DC 00000000 */ nop
|
||||
|
@ -159,7 +159,7 @@ glabel func_80241170_C3ED60
|
||||
/* C3EFB0 802413C0 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C3EFB4 802413C4 1462000D */ bne $v1, $v0, .L802413FC
|
||||
/* C3EFB8 802413C8 00000000 */ nop
|
||||
/* C3EFBC 802413CC 0C090037 */ jal UnkNpcAIFunc8
|
||||
/* C3EFBC 802413CC 0C090037 */ jal dgb_07_UnkNpcAIFunc8
|
||||
/* C3EFC0 802413D0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C3EFC4 802413D4 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C3EFC8 802413D8 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_802414AC_C4125C
|
||||
/* C414AC 802416FC 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C414B0 80241700 1462000D */ bne $v1, $v0, .L80241738
|
||||
/* C414B4 80241704 00000000 */ nop
|
||||
/* C414B8 80241708 0C0903DB */ jal UnkNpcAIFunc8
|
||||
/* C414B8 80241708 0C0903DB */ jal dgb_08_UnkNpcAIFunc8
|
||||
/* C414BC 8024170C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C414C0 80241710 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C414C4 80241714 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_8024061C_C471FC
|
||||
/* C4744C 8024086C 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C47450 80240870 1462000D */ bne $v1, $v0, .L802408A8
|
||||
/* C47454 80240874 00000000 */ nop
|
||||
/* C47458 80240878 0C090037 */ jal UnkNpcAIFunc8
|
||||
/* C47458 80240878 0C090037 */ jal dgb_09_UnkNpcAIFunc8
|
||||
/* C4745C 8024087C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C47460 80240880 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C47464 80240884 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -180,7 +180,7 @@ glabel func_802410D4_C47CB4
|
||||
/* C47F58 80241378 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C47F5C 8024137C 1462001F */ bne $v1, $v0, .L802413FC
|
||||
/* C47F60 80241380 00000000 */ nop
|
||||
/* C47F64 80241384 0C090037 */ jal UnkNpcAIFunc8
|
||||
/* C47F64 80241384 0C090037 */ jal dgb_09_UnkNpcAIFunc8
|
||||
/* C47F68 80241388 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C47F6C 8024138C 080904FF */ j .L802413FC
|
||||
/* C47F70 80241390 00000000 */ nop
|
||||
|
@ -159,7 +159,7 @@ glabel func_8024061C_C4FB2C
|
||||
/* C4FD7C 8024086C 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C4FD80 80240870 1462000D */ bne $v1, $v0, .L802408A8
|
||||
/* C4FD84 80240874 00000000 */ nop
|
||||
/* C4FD88 80240878 0C090037 */ jal UnkNpcAIFunc8
|
||||
/* C4FD88 80240878 0C090037 */ jal dgb_15_UnkNpcAIFunc8
|
||||
/* C4FD8C 8024087C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C4FD90 80240880 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C4FD94 80240884 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -180,7 +180,7 @@ glabel func_80240E20_C53360
|
||||
/* C53604 802410C4 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C53608 802410C8 1462001F */ bne $v1, $v0, .L80241148
|
||||
/* C5360C 802410CC 00000000 */ nop
|
||||
/* C53610 802410D0 0C090037 */ jal UnkNpcAIFunc8
|
||||
/* C53610 802410D0 0C090037 */ jal dgb_16_UnkNpcAIFunc8
|
||||
/* C53614 802410D4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C53618 802410D8 08090452 */ j .L80241148
|
||||
/* C5361C 802410DC 00000000 */ nop
|
||||
|
@ -159,7 +159,7 @@ glabel func_80241170_C536B0
|
||||
/* C53900 802413C0 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C53904 802413C4 1462000D */ bne $v1, $v0, .L802413FC
|
||||
/* C53908 802413C8 00000000 */ nop
|
||||
/* C5390C 802413CC 0C090037 */ jal UnkNpcAIFunc8
|
||||
/* C5390C 802413CC 0C090037 */ jal dgb_16_UnkNpcAIFunc8
|
||||
/* C53910 802413D0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C53914 802413D4 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C53918 802413D8 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80241EE8_B4C958
|
||||
/* B4CBA8 80242138 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* B4CBAC 8024213C 1462000D */ bne $v1, $v0, .L80242174
|
||||
/* B4CBB0 80242140 00000000 */ nop
|
||||
/* B4CBB4 80242144 0C09066A */ jal UnkNpcAIFunc8
|
||||
/* B4CBB4 80242144 0C09066A */ jal jan_05_UnkNpcAIFunc8
|
||||
/* B4CBB8 80242148 0240202D */ daddu $a0, $s2, $zero
|
||||
/* B4CBBC 8024214C 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* B4CBC0 80242150 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_8024219C_B4CC0C
|
||||
/* B4CE5C 802423EC 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* B4CE60 802423F0 1462000D */ bne $v1, $v0, .L80242428
|
||||
/* B4CE64 802423F4 00000000 */ nop
|
||||
/* B4CE68 802423F8 0C09066A */ jal UnkNpcAIFunc8
|
||||
/* B4CE68 802423F8 0C09066A */ jal jan_05_UnkNpcAIFunc8
|
||||
/* B4CE6C 802423FC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* B4CE70 80242400 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* B4CE74 80242404 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80241E38_B54668
|
||||
/* B548B8 80242088 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* B548BC 8024208C 1462000D */ bne $v1, $v0, .L802420C4
|
||||
/* B548C0 80242090 00000000 */ nop
|
||||
/* B548C4 80242094 0C09063E */ jal UnkNpcAIFunc8
|
||||
/* B548C4 80242094 0C09063E */ jal jan_06_UnkNpcAIFunc8
|
||||
/* B548C8 80242098 0240202D */ daddu $a0, $s2, $zero
|
||||
/* B548CC 8024209C 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* B548D0 802420A0 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_802420EC_B5491C
|
||||
/* B54B6C 8024233C 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* B54B70 80242340 1462000D */ bne $v1, $v0, .L80242378
|
||||
/* B54B74 80242344 00000000 */ nop
|
||||
/* B54B78 80242348 0C09063E */ jal UnkNpcAIFunc8
|
||||
/* B54B78 80242348 0C09063E */ jal jan_06_UnkNpcAIFunc8
|
||||
/* B54B7C 8024234C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* B54B80 80242350 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* B54B84 80242354 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80240830_B5A0A0
|
||||
/* B5A2F0 80240A80 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* B5A2F4 80240A84 1462000D */ bne $v1, $v0, .L80240ABC
|
||||
/* B5A2F8 80240A88 00000000 */ nop
|
||||
/* B5A2FC 80240A8C 0C0900BC */ jal UnkNpcAIFunc8
|
||||
/* B5A2FC 80240A8C 0C0900BC */ jal jan_07_UnkNpcAIFunc8
|
||||
/* B5A300 80240A90 0240202D */ daddu $a0, $s2, $zero
|
||||
/* B5A304 80240A94 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* B5A308 80240A98 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80240AE4_B5A354
|
||||
/* B5A5A4 80240D34 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* B5A5A8 80240D38 1462000D */ bne $v1, $v0, .L80240D70
|
||||
/* B5A5AC 80240D3C 00000000 */ nop
|
||||
/* B5A5B0 80240D40 0C0900BC */ jal UnkNpcAIFunc8
|
||||
/* B5A5B0 80240D40 0C0900BC */ jal jan_07_UnkNpcAIFunc8
|
||||
/* B5A5B4 80240D44 0240202D */ daddu $a0, $s2, $zero
|
||||
/* B5A5B8 80240D48 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* B5A5BC 80240D4C 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80241C84_B5FF34
|
||||
/* B60184 80241ED4 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* B60188 80241ED8 1462000D */ bne $v1, $v0, .L80241F10
|
||||
/* B6018C 80241EDC 00000000 */ nop
|
||||
/* B60190 80241EE0 0C0905D1 */ jal UnkNpcAIFunc8
|
||||
/* B60190 80241EE0 0C0905D1 */ jal jan_08_UnkNpcAIFunc8
|
||||
/* B60194 80241EE4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* B60198 80241EE8 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* B6019C 80241EEC 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80241F38_B601E8
|
||||
/* B60438 80242188 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* B6043C 8024218C 1462000D */ bne $v1, $v0, .L802421C4
|
||||
/* B60440 80242190 00000000 */ nop
|
||||
/* B60444 80242194 0C0905D1 */ jal UnkNpcAIFunc8
|
||||
/* B60444 80242194 0C0905D1 */ jal jan_08_UnkNpcAIFunc8
|
||||
/* B60448 80242198 0240202D */ daddu $a0, $s2, $zero
|
||||
/* B6044C 8024219C 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* B60450 802421A0 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80241170_B66C20
|
||||
/* B66E70 802413C0 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* B66E74 802413C4 1462000D */ bne $v1, $v0, .L802413FC
|
||||
/* B66E78 802413C8 00000000 */ nop
|
||||
/* B66E7C 802413CC 0C09030C */ jal UnkNpcAIFunc8
|
||||
/* B66E7C 802413CC 0C09030C */ jal jan_09_UnkNpcAIFunc8
|
||||
/* B66E80 802413D0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* B66E84 802413D4 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* B66E88 802413D8 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80241424_B66ED4
|
||||
/* B67124 80241674 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* B67128 80241678 1462000D */ bne $v1, $v0, .L802416B0
|
||||
/* B6712C 8024167C 00000000 */ nop
|
||||
/* B67130 80241680 0C09030C */ jal UnkNpcAIFunc8
|
||||
/* B67130 80241680 0C09030C */ jal jan_09_UnkNpcAIFunc8
|
||||
/* B67134 80241684 0240202D */ daddu $a0, $s2, $zero
|
||||
/* B67138 80241688 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* B6713C 8024168C 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80240CF0_B73DA0
|
||||
/* B73FF0 80240F40 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* B73FF4 80240F44 1462000D */ bne $v1, $v0, .L80240F7C
|
||||
/* B73FF8 80240F48 00000000 */ nop
|
||||
/* B73FFC 80240F4C 0C0901EC */ jal UnkNpcAIFunc8
|
||||
/* B73FFC 80240F4C 0C0901EC */ jal jan_12_UnkNpcAIFunc8
|
||||
/* B74000 80240F50 0240202D */ daddu $a0, $s2, $zero
|
||||
/* B74004 80240F54 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* B74008 80240F58 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80240FA4_B74054
|
||||
/* B742A4 802411F4 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* B742A8 802411F8 1462000D */ bne $v1, $v0, .L80241230
|
||||
/* B742AC 802411FC 00000000 */ nop
|
||||
/* B742B0 80241200 0C0901EC */ jal UnkNpcAIFunc8
|
||||
/* B742B0 80241200 0C0901EC */ jal jan_12_UnkNpcAIFunc8
|
||||
/* B742B4 80241204 0240202D */ daddu $a0, $s2, $zero
|
||||
/* B742B8 80241208 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* B742BC 8024120C 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80241214_C61F24
|
||||
/* C62174 80241464 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C62178 80241468 1462000D */ bne $v1, $v0, .L802414A0
|
||||
/* C6217C 8024146C 00000000 */ nop
|
||||
/* C62180 80241470 0C090335 */ jal UnkNpcAIFunc8
|
||||
/* C62180 80241470 0C090335 */ jal kzn_03_UnkNpcAIFunc8
|
||||
/* C62184 80241474 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C62188 80241478 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C6218C 8024147C 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80242B58_C73FD8
|
||||
/* C74228 80242DA8 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C7422C 80242DAC 1462000D */ bne $v1, $v0, .L80242DE4
|
||||
/* C74230 80242DB0 00000000 */ nop
|
||||
/* C74234 80242DB4 0C090986 */ jal UnkNpcAIFunc8
|
||||
/* C74234 80242DB4 0C090986 */ jal kzn_08_UnkNpcAIFunc8
|
||||
/* C74238 80242DB8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C7423C 80242DBC 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C74240 80242DC0 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_8024163C_C7831C
|
||||
/* C7856C 8024188C 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C78570 80241890 1462000D */ bne $v1, $v0, .L802418C8
|
||||
/* C78574 80241894 00000000 */ nop
|
||||
/* C78578 80241898 0C09043F */ jal UnkNpcAIFunc8
|
||||
/* C78578 80241898 0C09043F */ jal kzn_09_UnkNpcAIFunc8
|
||||
/* C7857C 8024189C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C78580 802418A0 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C78584 802418A4 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_8024092C_C863DC
|
||||
/* C8662C 80240B7C 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* C86630 80240B80 1462000D */ bne $v1, $v0, .L80240BB8
|
||||
/* C86634 80240B84 00000000 */ nop
|
||||
/* C86638 80240B88 0C0900FB */ jal UnkNpcAIFunc8
|
||||
/* C86638 80240B88 0C0900FB */ jal kzn_17_UnkNpcAIFunc8
|
||||
/* C8663C 80240B8C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* C86640 80240B90 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* C86644 80240B94 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80240B1C_B93F5C
|
||||
/* B941AC 80240D6C 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* B941B0 80240D70 1462000D */ bne $v1, $v0, .L80240DA8
|
||||
/* B941B4 80240D74 00000000 */ nop
|
||||
/* B941B8 80240D78 0C090177 */ jal UnkNpcAIFunc8
|
||||
/* B941B8 80240D78 0C090177 */ jal mim_01_UnkNpcAIFunc8
|
||||
/* B941BC 80240D7C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* B941C0 80240D80 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* B941C4 80240D84 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_8024068C_BA0DBC
|
||||
/* BA100C 802408DC 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* BA1010 802408E0 1462000D */ bne $v1, $v0, .L80240918
|
||||
/* BA1014 802408E4 00000000 */ nop
|
||||
/* BA1018 802408E8 0C090053 */ jal UnkNpcAIFunc8
|
||||
/* BA1018 802408E8 0C090053 */ jal mim_05_UnkNpcAIFunc8
|
||||
/* BA101C 802408EC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* BA1020 802408F0 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* BA1024 802408F4 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80240B8C_BA530C
|
||||
/* BA555C 80240DDC 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* BA5560 80240DE0 1462000D */ bne $v1, $v0, .L80240E18
|
||||
/* BA5564 80240DE4 00000000 */ nop
|
||||
/* BA5568 80240DE8 0C090193 */ jal UnkNpcAIFunc8
|
||||
/* BA5568 80240DE8 0C090193 */ jal mim_06_UnkNpcAIFunc8
|
||||
/* BA556C 80240DEC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* BA5570 80240DF0 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* BA5574 80240DF4 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80241BB4_BAF4F4
|
||||
/* BAF744 80241E04 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* BAF748 80241E08 1462000D */ bne $v1, $v0, .L80241E40
|
||||
/* BAF74C 80241E0C 00000000 */ nop
|
||||
/* BAF750 80241E10 0C09059D */ jal UnkNpcAIFunc8
|
||||
/* BAF750 80241E10 0C09059D */ jal mim_08_UnkNpcAIFunc8
|
||||
/* BAF754 80241E14 0240202D */ daddu $a0, $s2, $zero
|
||||
/* BAF758 80241E18 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* BAF75C 80241E1C 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -165,7 +165,7 @@ glabel func_802423CC_D8F61C
|
||||
/* D8F884 80242634 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* D8F888 80242638 1462000D */ bne $v1, $v0, .L80242670
|
||||
/* D8F88C 8024263C 00000000 */ nop
|
||||
/* D8F890 80242640 0C0907A3 */ jal UnkNpcAIFunc8
|
||||
/* D8F890 80242640 0C0907A3 */ jal pra_35_UnkNpcAIFunc8
|
||||
/* D8F894 80242644 0240202D */ daddu $a0, $s2, $zero
|
||||
/* D8F898 80242648 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* D8F89C 8024264C 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80242698_D8F8E8
|
||||
/* D8FB38 802428E8 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* D8FB3C 802428EC 1462000D */ bne $v1, $v0, .L80242924
|
||||
/* D8FB40 802428F0 00000000 */ nop
|
||||
/* D8FB44 802428F4 0C0907A3 */ jal UnkNpcAIFunc8
|
||||
/* D8FB44 802428F4 0C0907A3 */ jal pra_35_UnkNpcAIFunc8
|
||||
/* D8FB48 802428F8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* D8FB4C 802428FC 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* D8FB50 80242900 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_8024156C_D944AC
|
||||
/* D946FC 802417BC 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* D94700 802417C0 1462000D */ bne $v1, $v0, .L802417F8
|
||||
/* D94704 802417C4 00000000 */ nop
|
||||
/* D94708 802417C8 0C09040B */ jal UnkNpcAIFunc8
|
||||
/* D94708 802417C8 0C09040B */ jal pra_37_UnkNpcAIFunc8
|
||||
/* D9470C 802417CC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* D94710 802417D0 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* D94714 802417D4 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_8024066C_D1172C
|
||||
/* D1197C 802408BC 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* D11980 802408C0 1462000D */ bne $v1, $v0, .L802408F8
|
||||
/* D11984 802408C4 00000000 */ nop
|
||||
/* D11988 802408C8 0C09004B */ jal UnkNpcAIFunc8
|
||||
/* D11988 802408C8 0C09004B */ jal sam_03_UnkNpcAIFunc8
|
||||
/* D1198C 802408CC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* D11990 802408D0 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* D11994 802408D4 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_8024061C_D18DFC
|
||||
/* D1904C 8024086C 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* D19050 80240870 1462000D */ bne $v1, $v0, .L802408A8
|
||||
/* D19054 80240874 00000000 */ nop
|
||||
/* D19058 80240878 0C090037 */ jal UnkNpcAIFunc8
|
||||
/* D19058 80240878 0C090037 */ jal sam_05_UnkNpcAIFunc8
|
||||
/* D1905C 8024087C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* D19060 80240880 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* D19064 80240884 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_80240C6C_D2C99C
|
||||
/* D2CBEC 80240EBC 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* D2CBF0 80240EC0 1462000D */ bne $v1, $v0, .L80240EF8
|
||||
/* D2CBF4 80240EC4 00000000 */ nop
|
||||
/* D2CBF8 80240EC8 0C0901CB */ jal UnkNpcAIFunc8
|
||||
/* D2CBF8 80240EC8 0C0901CB */ jal sam_07_UnkNpcAIFunc8
|
||||
/* D2CBFC 80240ECC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* D2CC00 80240ED0 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* D2CC04 80240ED4 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_8024135C_D30FDC
|
||||
/* D3122C 802415AC 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* D31230 802415B0 1462000D */ bne $v1, $v0, .L802415E8
|
||||
/* D31234 802415B4 00000000 */ nop
|
||||
/* D31238 802415B8 0C090387 */ jal UnkNpcAIFunc8
|
||||
/* D31238 802415B8 0C090387 */ jal sam_08_UnkNpcAIFunc8
|
||||
/* D3123C 802415BC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* D31240 802415C0 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* D31244 802415C4 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -159,7 +159,7 @@ glabel func_802409EC_D381EC
|
||||
/* D3843C 80240C3C 24020020 */ addiu $v0, $zero, 0x20
|
||||
/* D38440 80240C40 1462000D */ bne $v1, $v0, .L80240C78
|
||||
/* D38444 80240C44 00000000 */ nop
|
||||
/* D38448 80240C48 0C09012B */ jal UnkNpcAIFunc8
|
||||
/* D38448 80240C48 0C09012B */ jal sam_10_UnkNpcAIFunc8
|
||||
/* D3844C 80240C4C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* D38450 80240C50 8E430070 */ lw $v1, 0x70($s2)
|
||||
/* D38454 80240C54 24020021 */ addiu $v0, $zero, 0x21
|
||||
|
@ -9,7 +9,7 @@ void nuContPakMgrRemove(void) {
|
||||
nuSiCallBackRemove(&nuContCallBack);
|
||||
}
|
||||
|
||||
static s32 contPakOpen(NUSiCommonMesg* mesg) {
|
||||
s32 contPakOpen(NUSiCommonMesg* mesg) {
|
||||
s32 err;
|
||||
NUContPakFile* file = (NUContPakFile*) mesg->dataPtr;
|
||||
|
||||
@ -23,20 +23,20 @@ static s32 contPakOpen(NUSiCommonMesg* mesg) {
|
||||
return err;
|
||||
}
|
||||
|
||||
static s32 contPakFree(NUSiCommonMesg* mesg) {
|
||||
s32 contPakFree(NUSiCommonMesg* mesg) {
|
||||
NUContPakFreeMesg* freeMesg = (NUContPakFreeMesg*) mesg->dataPtr;
|
||||
|
||||
return osPfsFreeBlocks(freeMesg->file->pfs, &freeMesg->size);
|
||||
}
|
||||
|
||||
static s32 contPakFileReadWrite(NUSiCommonMesg* mesg) {
|
||||
s32 contPakFileReadWrite(NUSiCommonMesg* mesg) {
|
||||
NUContPakFileRWMesg* rwMesg = (NUContPakFileRWMesg*) mesg->dataPtr;
|
||||
|
||||
return osPfsReadWriteFile(rwMesg->file->pfs, rwMesg->file->file_no, rwMesg->mode, rwMesg->offset, rwMesg->size,
|
||||
rwMesg->buf);
|
||||
}
|
||||
|
||||
static s32 contPakFileOpen(NUSiCommonMesg* mesg) {
|
||||
s32 contPakFileOpen(NUSiCommonMesg* mesg) {
|
||||
NUContPakFileOpenMesg* openMesg = mesg->dataPtr;
|
||||
NUContPakFile* file = openMesg->file;
|
||||
s32 err;
|
||||
@ -52,26 +52,26 @@ static s32 contPakFileOpen(NUSiCommonMesg* mesg) {
|
||||
return err;
|
||||
}
|
||||
|
||||
static s32 contPakFileDelete(NUSiCommonMesg* mesg) {
|
||||
s32 contPakFileDelete(NUSiCommonMesg* mesg) {
|
||||
NUContPakFileOpenMesg* openMesg = (NUContPakFileOpenMesg*) mesg->dataPtr;
|
||||
|
||||
return osPfsDeleteFile(openMesg->file->pfs, nuContPakCompanyCode, nuContPakGameCode, openMesg->noteName,
|
||||
openMesg->extName);
|
||||
}
|
||||
|
||||
static s32 contPakFileState(NUSiCommonMesg* mesg) {
|
||||
s32 contPakFileState(NUSiCommonMesg* mesg) {
|
||||
NUContPakFileStateMesg* state = (NUContPakFileStateMesg*) mesg->dataPtr;
|
||||
|
||||
return osPfsFileState(state->file->pfs, state->file->file_no, state->state);
|
||||
}
|
||||
|
||||
static s32 contPakFileNum(NUSiCommonMesg* mesg) {
|
||||
s32 contPakFileNum(NUSiCommonMesg* mesg) {
|
||||
NUContPakFileNumMesg* fileNum = (NUContPakFileNumMesg*) mesg->dataPtr;
|
||||
|
||||
return osPfsNumFiles(fileNum->file->pfs, fileNum->max_files, fileNum->used_files);
|
||||
}
|
||||
|
||||
static s32 contPakRepairId(NUSiCommonMesg* mesg) {
|
||||
s32 contPakRepairId(NUSiCommonMesg* mesg) {
|
||||
NUContPakFile* file = (NUContPakFile*) mesg->dataPtr;
|
||||
|
||||
return osPfsRepairId(file->pfs);
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "common.h"
|
||||
#include "nu/nusys.h"
|
||||
|
||||
static s32 contRmbControl(NUContRmbCtl* rmbCtl, u32 contNo) {
|
||||
s32 contRmbControl(NUContRmbCtl* rmbCtl, u32 contNo) {
|
||||
s32 ret = 0;
|
||||
u32 cnt;
|
||||
|
||||
@ -48,7 +48,7 @@ static s32 contRmbControl(NUContRmbCtl* rmbCtl, u32 contNo) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
static s32 contRmbRetrace(NUSiCommonMesg* mesg) {
|
||||
s32 contRmbRetrace(NUSiCommonMesg* mesg) {
|
||||
u32 i;
|
||||
NUContRmbCtl* cont;
|
||||
|
||||
@ -114,13 +114,13 @@ void nuContRmbMgrRemove(void) {
|
||||
nuSiCallBackRemove(&nuContRmbCallBack);
|
||||
}
|
||||
|
||||
static s32 contRmbCheckMesg(NUSiCommonMesg* mesg) {
|
||||
s32 contRmbCheckMesg(NUSiCommonMesg* mesg) {
|
||||
NUContRmbMesg* rmbMesg = (NUContRmbMesg*) mesg->dataPtr;
|
||||
|
||||
return osMotorInit(&nuSiMesgQ, &nuContPfs[rmbMesg->contNo], rmbMesg->contNo);
|
||||
}
|
||||
|
||||
static s32 contRmbStartMesg(NUSiCommonMesg* mesg) {
|
||||
s32 contRmbStartMesg(NUSiCommonMesg* mesg) {
|
||||
NUContRmbMesg* rmbMesg = (NUContRmbMesg*) mesg->dataPtr;
|
||||
NUContRmbCtl* rmbCtl = (NUContRmbCtl*) rmbMesg->data;
|
||||
|
||||
@ -131,7 +131,7 @@ static s32 contRmbStartMesg(NUSiCommonMesg* mesg) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static s32 contRmbStopMesg(NUSiCommonMesg* mesg) {
|
||||
s32 contRmbStopMesg(NUSiCommonMesg* mesg) {
|
||||
NUContRmbMesg* rmbMesg = (NUContRmbMesg*) mesg->dataPtr;
|
||||
|
||||
nuContRmbCtl[rmbMesg->contNo].frame = 0;
|
||||
@ -139,7 +139,7 @@ static s32 contRmbStopMesg(NUSiCommonMesg* mesg) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static s32 contRmbForceStopMesg(NUSiCommonMesg* mesg) {
|
||||
s32 contRmbForceStopMesg(NUSiCommonMesg* mesg) {
|
||||
u32 i;
|
||||
|
||||
for (i = 0; i < NU_CONT_MAXCONTROLLERS; i++) {
|
||||
|
@ -148,7 +148,7 @@ INCLUDE_ASM(s32, "os/nusys/nuSched", nuScGetFrameRate, void);
|
||||
|
||||
INCLUDE_ASM(void, "os/nusys/nuSched", nuScEventHandler);
|
||||
|
||||
static void nuScEventBroadcast(NUScMsg* msg) {
|
||||
void nuScEventBroadcast(NUScMsg* msg) {
|
||||
NUScClient* clientList = nusched.clientList;
|
||||
|
||||
while (clientList != NULL) {
|
||||
|
@ -22,7 +22,7 @@ INCLUDE_ASM(s32, "world/area_arn/arn_07/BED740", func_80241B38_BEE928);
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_arn/arn_07/BED740", func_80241C5C_BEEA4C);
|
||||
|
||||
static ApiStatus PostChapter3StatUpdate(ScriptInstance* script, s32 isInitialCall) {
|
||||
ApiStatus PostChapter3StatUpdate(ScriptInstance* script, s32 isInitialCall) {
|
||||
PlayerData* playerData = PLAYER_DATA;
|
||||
|
||||
set_max_SP(3);
|
||||
|
@ -24,7 +24,7 @@ INCLUDE_ASM(s32, "world/area_flo/flo_00/C9DF60", func_80240B14_C9EA34);
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_flo/flo_00/C9DF60", func_80240BD4_C9EAF4);
|
||||
|
||||
static ApiStatus PostChapter6StatUpdate(ScriptInstance* script, s32 isInitialCall) {
|
||||
ApiStatus PostChapter6StatUpdate(ScriptInstance* script, s32 isInitialCall) {
|
||||
PlayerData* playerData = PLAYER_DATA;
|
||||
|
||||
set_max_SP(6);
|
||||
|
@ -32,7 +32,7 @@ INCLUDE_ASM(s32, "world/area_jan/jan_22/B84180", func_80240FA8_B85128);
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_jan/jan_22/B84180", func_80240FC4_B85144);
|
||||
|
||||
static ApiStatus PostChapter5StatUpdate(ScriptInstance* script, s32 isInitialCall) {
|
||||
ApiStatus PostChapter5StatUpdate(ScriptInstance* script, s32 isInitialCall) {
|
||||
PlayerData* playerData = PLAYER_DATA;
|
||||
|
||||
set_max_SP(5);
|
||||
|
@ -64,7 +64,7 @@ INCLUDE_ASM(s32, "world/area_mac/mac_04/843030", func_80241848_844418);
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_mac/mac_04/843030", func_802418AC_84447C);
|
||||
|
||||
static ApiStatus PostChapter4StatUpdate(ScriptInstance* script, s32 isInitialCall) {
|
||||
ApiStatus PostChapter4StatUpdate(ScriptInstance* script, s32 isInitialCall) {
|
||||
PlayerData* playerData = PLAYER_DATA;
|
||||
|
||||
set_max_SP(4);
|
||||
|
@ -45,7 +45,7 @@ INCLUDE_ASM(s32, "world/area_pra/pra_01/D4D060", func_80241238_D4E278);
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_pra/pra_01/D4D060", func_802412D4_D4E314);
|
||||
|
||||
static ApiStatus PostChapter7StatUpdate(ScriptInstance* script, s32 isInitialCall) {
|
||||
ApiStatus PostChapter7StatUpdate(ScriptInstance* script, s32 isInitialCall) {
|
||||
PlayerData* playerData = PLAYER_DATA;
|
||||
|
||||
set_max_SP(7);
|
||||
|
@ -4,7 +4,7 @@ INCLUDE_ASM(s32, "world/area_sam/sam_11/D3A930", func_80240360_D3A930);
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_sam/sam_11/D3A930", func_8024052C_D3AAFC);
|
||||
|
||||
static ApiStatus Set80151310_2(ScriptInstance* script, s32 isInitialCall) {
|
||||
ApiStatus Set80151310_2(ScriptInstance* script, s32 isInitialCall) {
|
||||
D_80151310 = 2;
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ INCLUDE_ASM(s32, "world/area_sbk/sbk_02/92A9A0", func_80240A44_92ACF4);
|
||||
|
||||
#include "world/common/GetItemName.inc.c"
|
||||
|
||||
static ApiStatus PostChapter2StatUpdate(ScriptInstance* script, s32 isInitialCall) {
|
||||
ApiStatus PostChapter2StatUpdate(ScriptInstance* script, s32 isInitialCall) {
|
||||
PlayerData* playerData = PLAYER_DATA;
|
||||
|
||||
set_max_SP(2);
|
||||
@ -26,7 +26,7 @@ static ApiStatus PostChapter2StatUpdate(ScriptInstance* script, s32 isInitialCal
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_sbk/sbk_02/92A9A0", func_80240B98_92AE48);
|
||||
|
||||
static ApiStatus GetItemCount(ScriptInstance* script, s32 isInitialCall) {
|
||||
ApiStatus GetItemCount(ScriptInstance* script, s32 isInitialCall) {
|
||||
script->varTable[0] = get_item_count();
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ INCLUDE_ASM(s32, "world/area_trd/trd_00/999F80", func_80240310_999F80);
|
||||
|
||||
#include "world/common/SomeItemEntityFunc.inc.c"
|
||||
|
||||
static ApiStatus func_80240578_99A1E8(ScriptInstance* script, s32 isInitialCall) {
|
||||
ApiStatus func_80240578_99A1E8(ScriptInstance* script, s32 isInitialCall) {
|
||||
s32 itemIndex = get_variable(script, *script->ptrReadPos);
|
||||
|
||||
script->varTable[0] = 0;
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "trd_00.h"
|
||||
|
||||
static ApiStatus PostChapter1StatUpdate(ScriptInstance* script, s32 isInitialCall) {
|
||||
ApiStatus PostChapter1StatUpdate(ScriptInstance* script, s32 isInitialCall) {
|
||||
PlayerData* playerData = PLAYER_DATA;
|
||||
|
||||
set_max_SP(1);
|
||||
|
@ -16,7 +16,7 @@ ApiStatus func_80240000_9A4650(ScriptInstance* script, s32 isInitialCall) {
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
||||
static ApiStatus GetFrameCounter(ScriptInstance* script, s32 isInitialCall) {
|
||||
ApiStatus GetFrameCounter(ScriptInstance* script, s32 isInitialCall) {
|
||||
set_variable(script, *script->ptrReadPos, GAME_STATUS->frameCounter);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ INCLUDE_ASM(s32, "world/area_trd/trd_06/9B1AA0", func_8024093C_9B20CC);
|
||||
|
||||
INCLUDE_ASM(s32, "world/area_trd/trd_06/9B1AA0", func_80240A5C_9B21EC);
|
||||
|
||||
static ApiStatus func_80240A70_9B2200(ScriptInstance* script, s32 isInitialCall) {
|
||||
ApiStatus func_80240A70_9B2200(ScriptInstance* script, s32 isInitialCall) {
|
||||
f32 partnerCollisionHeight = get_npc_unsafe(NpcId_PARTNER)->collisionHeight;
|
||||
|
||||
script->varTable[0] = ((partnerCollisionHeight * 2) / 3.0f) + 145.0f;
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "common.h"
|
||||
#include "map.h"
|
||||
|
||||
static void UnkNpcAIFunc8(ScriptInstance* script) {
|
||||
void M(UnkNpcAIFunc8)(ScriptInstance* script) {
|
||||
Enemy* enemy = script->owner1.enemy;
|
||||
Npc* npc = get_npc_unsafe(enemy->npcID);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user