1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-29 16:26:18 +00:00

Armos and object_am OK (#652)

* started

* all but 2

* OK

* docs progress

* lots of docs

* add gitkeep back

* all funcs named

* small fix

* git subrepo pull --force tools/ZAPD

subrepo:
  subdir:   "tools/ZAPD"
  merged:   "0305ec2c2"
upstream:
  origin:   "https://github.com/zeldaret/ZAPD.git"
  branch:   "master"
  commit:   "0305ec2c2"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "2f68596"

* object_am

* change

* ready i think

* last thing

* asm

* progress
This commit is contained in:
fig02 2021-02-15 13:41:55 -05:00 committed by GitHub
parent 79c8accfab
commit 982c645167
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
131 changed files with 1094 additions and 2602 deletions

View file

@ -16,7 +16,7 @@ glabel func_8092E470
/* 01ED4 8092E4A4 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 01ED8 8092E4A8 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 01EDC 8092E4AC 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 01EE0 8092E4B0 0C00D09B */ jal func_8003426C
/* 01EE0 8092E4B0 0C00D09B */ jal Actor_SetColorFilter
/* 01EE4 8092E4B4 AFA20010 */ sw $v0, 0x0010($sp)
/* 01EE8 8092E4B8 920E03E4 */ lbu $t6, 0x03E4($s0) ## 000003E4
/* 01EEC 8092E4BC 921806C5 */ lbu $t8, 0x06C5($s0) ## 000006C5

View file

@ -16,7 +16,7 @@ glabel func_8092E930
/* 02394 8092E964 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 02398 8092E968 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 0239C 8092E96C 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 023A0 8092E970 0C00D09B */ jal func_8003426C
/* 023A0 8092E970 0C00D09B */ jal Actor_SetColorFilter
/* 023A4 8092E974 AFA20010 */ sw $v0, 0x0010($sp)
/* 023A8 8092E978 3C040601 */ lui $a0, 0x0601 ## $a0 = 06010000
/* 023AC 8092E97C 0C028800 */ jal Animation_GetLastFrame
@ -27,7 +27,7 @@ glabel func_8092E930
/* 023BC 8092E98C 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 023C0 8092E990 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 023C4 8092E994 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 023C8 8092E998 0C00D09B */ jal func_8003426C
/* 023C8 8092E998 0C00D09B */ jal Actor_SetColorFilter
/* 023CC 8092E99C AFA20010 */ sw $v0, 0x0010($sp)
/* 023D0 8092E9A0 3C040601 */ lui $a0, 0x0601 ## $a0 = 06010000
/* 023D4 8092E9A4 0C028800 */ jal Animation_GetLastFrame
@ -38,7 +38,7 @@ glabel func_8092E930
/* 023E4 8092E9B4 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 023E8 8092E9B8 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 023EC 8092E9BC 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 023F0 8092E9C0 0C00D09B */ jal func_8003426C
/* 023F0 8092E9C0 0C00D09B */ jal Actor_SetColorFilter
/* 023F4 8092E9C4 AFA20010 */ sw $v0, 0x0010($sp)
/* 023F8 8092E9C8 920E06C5 */ lbu $t6, 0x06C5($s0) ## 000006C5
/* 023FC 8092E9CC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000

View file

@ -20,7 +20,7 @@ glabel func_8092EF28
/* 029A0 8092EF70 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 029A4 8092EF74 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 029A8 8092EF78 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 029AC 8092EF7C 0C00D09B */ jal func_8003426C
/* 029AC 8092EF7C 0C00D09B */ jal Actor_SetColorFilter
/* 029B0 8092EF80 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 029B4 8092EF84 3C048094 */ lui $a0, %hi(D_80938C98) ## $a0 = 80940000
/* 029B8 8092EF88 2418003C */ addiu $t8, $zero, 0x003C ## $t8 = 0000003C
@ -28,7 +28,7 @@ glabel func_8092EF28
/* 029C0 8092EF90 8C848C98 */ lw $a0, %lo(D_80938C98)($a0)
/* 029C4 8092EF94 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 029C8 8092EF98 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 029CC 8092EF9C 0C00D09B */ jal func_8003426C
/* 029CC 8092EF9C 0C00D09B */ jal Actor_SetColorFilter
/* 029D0 8092EFA0 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 029D4 8092EFA4 3C048094 */ lui $a0, %hi(D_80938C9C) ## $a0 = 80940000
/* 029D8 8092EFA8 2419003C */ addiu $t9, $zero, 0x003C ## $t9 = 0000003C
@ -36,7 +36,7 @@ glabel func_8092EF28
/* 029E0 8092EFB0 8C848C9C */ lw $a0, %lo(D_80938C9C)($a0)
/* 029E4 8092EFB4 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 029E8 8092EFB8 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 029EC 8092EFBC 0C00D09B */ jal func_8003426C
/* 029EC 8092EFBC 0C00D09B */ jal Actor_SetColorFilter
/* 029F0 8092EFC0 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 029F4 8092EFC4 922906C5 */ lbu $t1, 0x06C5($s1) ## 000006C5
/* 029F8 8092EFC8 922B03E6 */ lbu $t3, 0x03E6($s1) ## 000003E6

View file

@ -28,7 +28,7 @@ glabel func_809322B4
/* 05D48 80932318 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 05D4C 8093231C 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 05D50 80932320 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 05D54 80932324 0C00D09B */ jal func_8003426C
/* 05D54 80932324 0C00D09B */ jal Actor_SetColorFilter
/* 05D58 80932328 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 05D5C 8093232C 3C0B8093 */ lui $t3, %hi(func_8093234C) ## $t3 = 80930000
/* 05D60 80932330 256B234C */ addiu $t3, $t3, %lo(func_8093234C) ## $t3 = 8093234C

View file

@ -34,7 +34,7 @@ glabel func_809329D4
/* 0647C 80932A4C 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 06480 80932A50 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 06484 80932A54 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 06488 80932A58 0C00D09B */ jal func_8003426C
/* 06488 80932A58 0C00D09B */ jal Actor_SetColorFilter
/* 0648C 80932A5C AFA20010 */ sw $v0, 0x0010($sp)
/* 06490 80932A60 3C0C8093 */ lui $t4, %hi(func_80932A80) ## $t4 = 80930000
/* 06494 80932A64 258C2A80 */ addiu $t4, $t4, %lo(func_80932A80) ## $t4 = 80932A80

View file

@ -41,7 +41,7 @@ glabel func_80933328
/* 06DEC 809333BC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 06DF0 809333C0 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 06DF4 809333C4 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 06DF8 809333C8 0C00D09B */ jal func_8003426C
/* 06DF8 809333C8 0C00D09B */ jal Actor_SetColorFilter
/* 06DFC 809333CC 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 06E00 809333D0 3C0A8093 */ lui $t2, %hi(func_809333F4) ## $t2 = 80930000
/* 06E04 809333D4 254A33F4 */ addiu $t2, $t2, %lo(func_809333F4) ## $t2 = 809333F4

View file

@ -72,7 +72,7 @@ glabel func_80951844
/* 02664 80951924 AFAD0010 */ sw $t5, 0x0010($sp)
/* 02668 80951928 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 0266C 8095192C 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 02670 80951930 0C00D09B */ jal func_8003426C
/* 02670 80951930 0C00D09B */ jal Actor_SetColorFilter
/* 02674 80951934 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 02678 80951938 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0267C 8095193C 0C00BE0A */ jal Audio_PlayActorSound2

View file

@ -38,7 +38,7 @@ glabel func_80951C04
/* 0299C 80951C5C 11800007 */ beq $t4, $zero, .L80951C7C
/* 029A0 80951C60 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 029A4 80951C64 240D00A0 */ addiu $t5, $zero, 0x00A0 ## $t5 = 000000A0
/* 029A8 80951C68 0C00D09B */ jal func_8003426C
/* 029A8 80951C68 0C00D09B */ jal Actor_SetColorFilter
/* 029AC 80951C6C AFAD0010 */ sw $t5, 0x0010($sp)
/* 029B0 80951C70 820E0196 */ lb $t6, 0x0196($s0) ## 00000196
/* 029B4 80951C74 10000002 */ beq $zero, $zero, .L80951C80
@ -68,7 +68,7 @@ glabel func_80951C04
/* 02A0C 80951CCC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02A10 80951CD0 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 02A14 80951CD4 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 02A18 80951CD8 0C00D09B */ jal func_8003426C
/* 02A18 80951CD8 0C00D09B */ jal Actor_SetColorFilter
/* 02A1C 80951CDC 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 02A20 80951CE0 3C0E0FC0 */ lui $t6, 0x0FC0 ## $t6 = 0FC00000
/* 02A24 80951CE4 35CE0712 */ ori $t6, $t6, 0x0712 ## $t6 = 0FC00712
@ -97,7 +97,7 @@ glabel func_80951C04
/* 02A7C 80951D3C 00000000 */ nop
/* 02A80 80951D40 A2000196 */ sb $zero, 0x0196($s0) ## 00000196
.L80951D44:
/* 02A84 80951D44 0C00D09B */ jal func_8003426C
/* 02A84 80951D44 0C00D09B */ jal Actor_SetColorFilter
/* 02A88 80951D48 AFAC0010 */ sw $t4, 0x0010($sp)
.L80951D4C:
/* 02A8C 80951D4C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000

View file

@ -88,7 +88,7 @@ glabel func_8095213C
/* 02F80 80952240 AFAD0010 */ sw $t5, 0x0010($sp)
/* 02F84 80952244 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 02F88 80952248 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 02F8C 8095224C 0C00D09B */ jal func_8003426C
/* 02F8C 8095224C 0C00D09B */ jal Actor_SetColorFilter
/* 02F90 80952250 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 02F94 80952254 02602025 */ or $a0, $s3, $zero ## $a0 = 00000000
/* 02F98 80952258 0C00BE0A */ jal Audio_PlayActorSound2

View file

@ -126,7 +126,7 @@ glabel func_80952858
/* 03720 809529E0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 03724 809529E4 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 03728 809529E8 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 0372C 809529EC 0C00D09B */ jal func_8003426C
/* 0372C 809529EC 0C00D09B */ jal Actor_SetColorFilter
/* 03730 809529F0 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 03734 809529F4 3C028096 */ lui $v0, %hi(D_80966940) ## $v0 = 80960000
/* 03738 809529F8 24426940 */ addiu $v0, $v0, %lo(D_80966940) ## $v0 = 80966940
@ -195,7 +195,7 @@ glabel func_80952858
/* 03824 80952AE4 AFA90010 */ sw $t1, 0x0010($sp)
/* 03828 80952AE8 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 0382C 80952AEC 2406007D */ addiu $a2, $zero, 0x007D ## $a2 = 0000007D
/* 03830 80952AF0 0C00D09B */ jal func_8003426C
/* 03830 80952AF0 0C00D09B */ jal Actor_SetColorFilter
/* 03834 80952AF4 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 03838 80952AF8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0383C 80952AFC 0C00BE0A */ jal Audio_PlayActorSound2

View file

@ -20,7 +20,7 @@ glabel func_80954168
/* 04EDC 8095419C 1320002E */ beq $t9, $zero, .L80954258
/* 04EE0 809541A0 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 04EE4 809541A4 2408000C */ addiu $t0, $zero, 0x000C ## $t0 = 0000000C
/* 04EE8 809541A8 0C00D09B */ jal func_8003426C
/* 04EE8 809541A8 0C00D09B */ jal Actor_SetColorFilter
/* 04EEC 809541AC AFA80010 */ sw $t0, 0x0010($sp)
/* 04EF0 809541B0 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float

View file

@ -59,7 +59,7 @@ glabel func_80955658
/* 06460 80955720 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 06464 80955724 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 06468 80955728 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 0646C 8095572C 0C00D09B */ jal func_8003426C
/* 0646C 8095572C 0C00D09B */ jal Actor_SetColorFilter
/* 06470 80955730 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 06474 80955734 3C058095 */ lui $a1, %hi(func_8095575C) ## $a1 = 80950000
/* 06478 80955738 A2000195 */ sb $zero, 0x0195($s0) ## 00000195

View file

@ -329,7 +329,7 @@ glabel func_80957384
/* 08560 80957820 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 08564 80957824 91CF0114 */ lbu $t7, 0x0114($t6) ## 00000114
/* 08568 80957828 24072000 */ addiu $a3, $zero, 0x2000 ## $a3 = 00002000
/* 0856C 8095782C 0C00D09B */ jal func_8003426C
/* 0856C 8095782C 0C00D09B */ jal Actor_SetColorFilter
/* 08570 80957830 AFAF0010 */ sw $t7, 0x0010($sp)
.L80957834:
/* 08574 80957834 0C0329C8 */ jal Math_SinF

View file

@ -12,7 +12,7 @@ glabel func_80957998
/* 08700 809579C0 24072000 */ addiu $a3, $zero, 0x2000 ## $a3 = 00002000
/* 08704 809579C4 AC990198 */ sw $t9, 0x0198($a0) ## 00000198
/* 08708 809579C8 AFA40020 */ sw $a0, 0x0020($sp)
/* 0870C 809579CC 0C00D09B */ jal func_8003426C
/* 0870C 809579CC 0C00D09B */ jal Actor_SetColorFilter
/* 08710 809579D0 AFB90010 */ sw $t9, 0x0010($sp)
/* 08714 809579D4 3C058095 */ lui $a1, %hi(func_809579F4) ## $a1 = 80950000
/* 08718 809579D8 8FA40020 */ lw $a0, 0x0020($sp)

View file

@ -1,26 +0,0 @@
glabel EnAm_Destroy
/* 002F8 809AE218 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 002FC 809AE21C AFA40018 */ sw $a0, 0x0018($sp)
/* 00300 809AE220 8FAE0018 */ lw $t6, 0x0018($sp)
/* 00304 809AE224 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00308 809AE228 00A03825 */ or $a3, $a1, $zero ## $a3 = 00000000
/* 0030C 809AE22C 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 00310 809AE230 8DC6014C */ lw $a2, 0x014C($t6) ## 0000014C
/* 00314 809AE234 AFA7001C */ sw $a3, 0x001C($sp)
/* 00318 809AE238 0C00FB56 */ jal DynaPoly_DeleteBgActor
## DynaPoly_DeleteBgActor
/* 0031C 809AE23C 24A50810 */ addiu $a1, $a1, 0x0810 ## $a1 = 00000810
/* 00320 809AE240 8FA50018 */ lw $a1, 0x0018($sp)
/* 00324 809AE244 8FA4001C */ lw $a0, 0x001C($sp)
/* 00328 809AE248 0C0170EB */ jal Collider_DestroyCylinder
/* 0032C 809AE24C 24A50274 */ addiu $a1, $a1, 0x0274 ## $a1 = 00000274
/* 00330 809AE250 8FA50018 */ lw $a1, 0x0018($sp)
/* 00334 809AE254 8FA4001C */ lw $a0, 0x001C($sp)
/* 00338 809AE258 0C0170EB */ jal Collider_DestroyCylinder
/* 0033C 809AE25C 24A502C0 */ addiu $a1, $a1, 0x02C0 ## $a1 = 000002C0
/* 00340 809AE260 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00344 809AE264 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00348 809AE268 03E00008 */ jr $ra
/* 0034C 809AE26C 00000000 */ nop

View file

@ -1,112 +0,0 @@
.rdata
glabel D_809B0160
.asciz "../z_en_am.c"
.balign 4
glabel D_809B0170
.asciz "../z_en_am.c"
.balign 4
.late_rodata
glabel D_809B0184
.float 1.4
.text
glabel EnAm_Draw
/* 01EC4 809AFDE4 27BDFF88 */ addiu $sp, $sp, 0xFF88 ## $sp = FFFFFF88
/* 01EC8 809AFDE8 AFB10038 */ sw $s1, 0x0038($sp)
/* 01ECC 809AFDEC 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
/* 01ED0 809AFDF0 AFBF003C */ sw $ra, 0x003C($sp)
/* 01ED4 809AFDF4 AFB00034 */ sw $s0, 0x0034($sp)
/* 01ED8 809AFDF8 8CA50000 */ lw $a1, 0x0000($a1) ## 00000000
/* 01EDC 809AFDFC 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01EE0 809AFE00 3C06809B */ lui $a2, %hi(D_809B0160) ## $a2 = 809B0000
/* 01EE4 809AFE04 24C60160 */ addiu $a2, $a2, %lo(D_809B0160) ## $a2 = 809B0160
/* 01EE8 809AFE08 27A40050 */ addiu $a0, $sp, 0x0050 ## $a0 = FFFFFFD8
/* 01EEC 809AFE0C 2407062C */ addiu $a3, $zero, 0x062C ## $a3 = 0000062C
/* 01EF0 809AFE10 0C031AB1 */ jal Graph_OpenDisps
/* 01EF4 809AFE14 AFA50060 */ sw $a1, 0x0060($sp)
/* 01EF8 809AFE18 0C024F46 */ jal func_80093D18
/* 01EFC 809AFE1C 8E240000 */ lw $a0, 0x0000($s1) ## 00000000
/* 01F00 809AFE20 8FA40060 */ lw $a0, 0x0060($sp)
/* 01F04 809AFE24 3C0FFB00 */ lui $t7, 0xFB00 ## $t7 = FB000000
/* 01F08 809AFE28 3C09809B */ lui $t1, %hi(func_809AFD9C) ## $t1 = 809B0000
/* 01F0C 809AFE2C 8C8302C0 */ lw $v1, 0x02C0($a0) ## 000002C0
/* 01F10 809AFE30 2529FD9C */ addiu $t1, $t1, %lo(func_809AFD9C) ## $t1 = 809AFD9C
/* 01F14 809AFE34 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 01F18 809AFE38 246E0008 */ addiu $t6, $v1, 0x0008 ## $t6 = 00000008
/* 01F1C 809AFE3C AC8E02C0 */ sw $t6, 0x02C0($a0) ## 000002C0
/* 01F20 809AFE40 AC6F0000 */ sw $t7, 0x0000($v1) ## 00000000
/* 01F24 809AFE44 92190266 */ lbu $t9, 0x0266($s0) ## 00000266
/* 01F28 809AFE48 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 01F2C 809AFE4C AC790004 */ sw $t9, 0x0004($v1) ## 00000004
/* 01F30 809AFE50 8E060184 */ lw $a2, 0x0184($s0) ## 00000184
/* 01F34 809AFE54 8E050168 */ lw $a1, 0x0168($s0) ## 00000168
/* 01F38 809AFE58 AFB00014 */ sw $s0, 0x0014($sp)
/* 01F3C 809AFE5C 0C028572 */ jal SkelAnime_DrawOpa
/* 01F40 809AFE60 AFA90010 */ sw $t1, 0x0010($sp)
/* 01F44 809AFE64 860A025E */ lh $t2, 0x025E($s0) ## 0000025E
/* 01F48 809AFE68 11400031 */ beq $t2, $zero, .L809AFF30
/* 01F4C 809AFE6C 00000000 */ nop
/* 01F50 809AFE70 860D025E */ lh $t5, 0x025E($s0) ## 0000025E
/* 01F54 809AFE74 920B0114 */ lbu $t3, 0x0114($s0) ## 00000114
/* 01F58 809AFE78 3C19809B */ lui $t9, %hi(D_809B00D0) ## $t9 = 809B0000
/* 01F5C 809AFE7C 25AEFFFF */ addiu $t6, $t5, 0xFFFF ## $t6 = FFFFFFFF
/* 01F60 809AFE80 A60E025E */ sh $t6, 0x025E($s0) ## 0000025E
/* 01F64 809AFE84 8608025E */ lh $t0, 0x025E($s0) ## 0000025E
/* 01F68 809AFE88 256C0001 */ addiu $t4, $t3, 0x0001 ## $t4 = 00000001
/* 01F6C 809AFE8C A20C0114 */ sb $t4, 0x0114($s0) ## 00000114
/* 01F70 809AFE90 310F0003 */ andi $t7, $t0, 0x0003 ## $t7 = 00000000
/* 01F74 809AFE94 15E00026 */ bne $t7, $zero, .L809AFF30
/* 01F78 809AFE98 00081883 */ sra $v1, $t0, 2
/* 01F7C 809AFE9C 0003C080 */ sll $t8, $v1, 2
/* 01F80 809AFEA0 0303C023 */ subu $t8, $t8, $v1
/* 01F84 809AFEA4 0018C080 */ sll $t8, $t8, 2
/* 01F88 809AFEA8 273900D0 */ addiu $t9, $t9, %lo(D_809B00D0) ## $t9 = 809B00D0
/* 01F8C 809AFEAC 03191021 */ addu $v0, $t8, $t9
/* 01F90 809AFEB0 C4440000 */ lwc1 $f4, 0x0000($v0) ## 00000000
/* 01F94 809AFEB4 C6060024 */ lwc1 $f6, 0x0024($s0) ## 00000024
/* 01F98 809AFEB8 C44A0004 */ lwc1 $f10, 0x0004($v0) ## 00000004
/* 01F9C 809AFEBC 3C01809B */ lui $at, %hi(D_809B0184) ## $at = 809B0000
/* 01FA0 809AFEC0 46062200 */ add.s $f8, $f4, $f6
/* 01FA4 809AFEC4 C4440008 */ lwc1 $f4, 0x0008($v0) ## 00000008
/* 01FA8 809AFEC8 24090096 */ addiu $t1, $zero, 0x0096 ## $t1 = 00000096
/* 01FAC 809AFECC 240A0096 */ addiu $t2, $zero, 0x0096 ## $t2 = 00000096
/* 01FB0 809AFED0 E7A80068 */ swc1 $f8, 0x0068($sp)
/* 01FB4 809AFED4 C6100028 */ lwc1 $f16, 0x0028($s0) ## 00000028
/* 01FB8 809AFED8 240B00FA */ addiu $t3, $zero, 0x00FA ## $t3 = 000000FA
/* 01FBC 809AFEDC 240C00EB */ addiu $t4, $zero, 0x00EB ## $t4 = 000000EB
/* 01FC0 809AFEE0 46105480 */ add.s $f18, $f10, $f16
/* 01FC4 809AFEE4 C42A0184 */ lwc1 $f10, %lo(D_809B0184)($at)
/* 01FC8 809AFEE8 240D00F5 */ addiu $t5, $zero, 0x00F5 ## $t5 = 000000F5
/* 01FCC 809AFEEC 240E00FF */ addiu $t6, $zero, 0x00FF ## $t6 = 000000FF
/* 01FD0 809AFEF0 E7B2006C */ swc1 $f18, 0x006C($sp)
/* 01FD4 809AFEF4 C606002C */ lwc1 $f6, 0x002C($s0) ## 0000002C
/* 01FD8 809AFEF8 AFAE0024 */ sw $t6, 0x0024($sp)
/* 01FDC 809AFEFC AFAD0020 */ sw $t5, 0x0020($sp)
/* 01FE0 809AFF00 46062200 */ add.s $f8, $f4, $f6
/* 01FE4 809AFF04 AFAC001C */ sw $t4, 0x001C($sp)
/* 01FE8 809AFF08 AFAB0018 */ sw $t3, 0x0018($sp)
/* 01FEC 809AFF0C AFAA0014 */ sw $t2, 0x0014($sp)
/* 01FF0 809AFF10 E7A80070 */ swc1 $f8, 0x0070($sp)
/* 01FF4 809AFF14 AFA90010 */ sw $t1, 0x0010($sp)
/* 01FF8 809AFF18 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 01FFC 809AFF1C 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 02000 809AFF20 27A60068 */ addiu $a2, $sp, 0x0068 ## $a2 = FFFFFFF0
/* 02004 809AFF24 24070096 */ addiu $a3, $zero, 0x0096 ## $a3 = 00000096
/* 02008 809AFF28 0C00A850 */ jal EffectSsEnIce_SpawnFlyingVec3f
/* 0200C 809AFF2C E7AA0028 */ swc1 $f10, 0x0028($sp)
.L809AFF30:
/* 02010 809AFF30 3C06809B */ lui $a2, %hi(D_809B0170) ## $a2 = 809B0000
/* 02014 809AFF34 24C60170 */ addiu $a2, $a2, %lo(D_809B0170) ## $a2 = 809B0170
/* 02018 809AFF38 27A40050 */ addiu $a0, $sp, 0x0050 ## $a0 = FFFFFFD8
/* 0201C 809AFF3C 8E250000 */ lw $a1, 0x0000($s1) ## 00000000
/* 02020 809AFF40 0C031AD5 */ jal Graph_CloseDisps
/* 02024 809AFF44 24070645 */ addiu $a3, $zero, 0x0645 ## $a3 = 00000645
/* 02028 809AFF48 8FBF003C */ lw $ra, 0x003C($sp)
/* 0202C 809AFF4C 8FB00034 */ lw $s0, 0x0034($sp)
/* 02030 809AFF50 8FB10038 */ lw $s1, 0x0038($sp)
/* 02034 809AFF54 03E00008 */ jr $ra
/* 02038 809AFF58 27BD0078 */ addiu $sp, $sp, 0x0078 ## $sp = 00000000
/* 0203C 809AFF5C 00000000 */ nop

View file

@ -1,130 +0,0 @@
glabel EnAm_Init
/* 00130 809AE050 27BDFFB8 */ addiu $sp, $sp, 0xFFB8 ## $sp = FFFFFFB8
/* 00134 809AE054 AFB10028 */ sw $s1, 0x0028($sp)
/* 00138 809AE058 00A08825 */ or $s1, $a1, $zero ## $s1 = 00000000
/* 0013C 809AE05C AFBF002C */ sw $ra, 0x002C($sp)
/* 00140 809AE060 AFB00024 */ sw $s0, 0x0024($sp)
/* 00144 809AE064 3C05809B */ lui $a1, %hi(D_809B0048) ## $a1 = 809B0000
/* 00148 809AE068 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 0014C 809AE06C AFA00044 */ sw $zero, 0x0044($sp)
/* 00150 809AE070 0C01E037 */ jal Actor_ProcessInitChain
/* 00154 809AE074 24A50048 */ addiu $a1, $a1, %lo(D_809B0048) ## $a1 = 809B0048
/* 00158 809AE078 3C068003 */ lui $a2, %hi(ActorShadow_DrawCircle)
/* 0015C 809AE07C 24C6B5EC */ addiu $a2, %lo(ActorShadow_DrawCircle)
/* 00160 809AE080 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 00164 809AE084 24050000 */ addiu $a1, $zero, 0x0000 ## $a1 = 00000000
/* 00168 809AE088 0C00AC78 */ jal ActorShape_Init
/* 0016C 809AE08C 3C074240 */ lui $a3, 0x4240 ## $a3 = 42400000
/* 00170 809AE090 3C060600 */ lui $a2, %hi(D_06005948) ## $a2 = 06000000
/* 00174 809AE094 3C070600 */ lui $a3, %hi(D_0600033C) ## $a3 = 06000000
/* 00178 809AE098 260E01AC */ addiu $t6, $s0, 0x01AC ## $t6 = 000001AC
/* 0017C 809AE09C 260F0200 */ addiu $t7, $s0, 0x0200 ## $t7 = 00000200
/* 00180 809AE0A0 2418000E */ addiu $t8, $zero, 0x000E ## $t8 = 0000000E
/* 00184 809AE0A4 AFB80018 */ sw $t8, 0x0018($sp)
/* 00188 809AE0A8 AFAF0014 */ sw $t7, 0x0014($sp)
/* 0018C 809AE0AC AFAE0010 */ sw $t6, 0x0010($sp)
/* 00190 809AE0B0 24E7033C */ addiu $a3, $a3, %lo(D_0600033C) ## $a3 = 0600033C
/* 00194 809AE0B4 24C65948 */ addiu $a2, $a2, %lo(D_06005948) ## $a2 = 06005948
/* 00198 809AE0B8 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 0019C 809AE0BC 0C02915F */ jal SkelAnime_Init
/* 001A0 809AE0C0 26050164 */ addiu $a1, $s0, 0x0164 ## $a1 = 00000164
/* 001A4 809AE0C4 3C053C23 */ lui $a1, 0x3C23 ## $a1 = 3C230000
/* 001A8 809AE0C8 34A5D70A */ ori $a1, $a1, 0xD70A ## $a1 = 3C23D70A
/* 001AC 809AE0CC 0C00B58B */ jal Actor_SetScale
/* 001B0 809AE0D0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 001B4 809AE0D4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 001B8 809AE0D8 0C010D20 */ jal DynaPolyActor_Init
/* 001BC 809AE0DC 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 001C0 809AE0E0 26050274 */ addiu $a1, $s0, 0x0274 ## $a1 = 00000274
/* 001C4 809AE0E4 AFA50034 */ sw $a1, 0x0034($sp)
/* 001C8 809AE0E8 0C0170D9 */ jal Collider_InitCylinder
/* 001CC 809AE0EC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 001D0 809AE0F0 260502C0 */ addiu $a1, $s0, 0x02C0 ## $a1 = 000002C0
/* 001D4 809AE0F4 AFA50038 */ sw $a1, 0x0038($sp)
/* 001D8 809AE0F8 0C0170D9 */ jal Collider_InitCylinder
/* 001DC 809AE0FC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 001E0 809AE100 3C07809B */ lui $a3, %hi(D_809AFF80) ## $a3 = 809B0000
/* 001E4 809AE104 24E7FF80 */ addiu $a3, $a3, %lo(D_809AFF80) ## $a3 = 809AFF80
/* 001E8 809AE108 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 001EC 809AE10C 8FA50034 */ lw $a1, 0x0034($sp)
/* 001F0 809AE110 0C01712B */ jal Collider_SetCylinder
/* 001F4 809AE114 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 001F8 809AE118 8619001C */ lh $t9, 0x001C($s0) ## 0000001C
/* 001FC 809AE11C 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 00200 809AE120 8FA50038 */ lw $a1, 0x0038($sp)
/* 00204 809AE124 17200020 */ bne $t9, $zero, .L809AE1A8
/* 00208 809AE128 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 0020C 809AE12C 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
/* 00210 809AE130 A20800AF */ sb $t0, 0x00AF($s0) ## 000000AF
/* 00214 809AE134 3C07809B */ lui $a3, %hi(D_809AFF80) ## $a3 = 809B0000
/* 00218 809AE138 24E7FF80 */ addiu $a3, $a3, %lo(D_809AFF80) ## $a3 = 809AFF80
/* 0021C 809AE13C 8FA50038 */ lw $a1, 0x0038($sp)
/* 00220 809AE140 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 00224 809AE144 0C01712B */ jal Collider_SetCylinder
/* 00228 809AE148 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 0022C 809AE14C 24090035 */ addiu $t1, $zero, 0x0035 ## $t1 = 00000035
/* 00230 809AE150 240A000D */ addiu $t2, $zero, 0x000D ## $t2 = 0000000D
/* 00234 809AE154 3C040600 */ lui $a0, %hi(D_06000118) ## $a0 = 06000000
/* 00238 809AE158 A2090286 */ sb $t1, 0x0286($s0) ## 00000286
/* 0023C 809AE15C A20A02D2 */ sb $t2, 0x02D2($s0) ## 000002D2
/* 00240 809AE160 24840118 */ addiu $a0, $a0, %lo(D_06000118) ## $a0 = 06000118
/* 00244 809AE164 0C010620 */ jal CollisionHeader_GetVirtual
/* 00248 809AE168 27A50044 */ addiu $a1, $sp, 0x0044 ## $a1 = FFFFFFFC
/* 0024C 809AE16C 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 00250 809AE170 26250810 */ addiu $a1, $s1, 0x0810 ## $a1 = 00000810
/* 00254 809AE174 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 00258 809AE178 0C00FA9D */ jal DynaPoly_SetBgActor
## DynaPoly_SetBgActor
/* 0025C 809AE17C 8FA70044 */ lw $a3, 0x0044($sp)
/* 00260 809AE180 AE02014C */ sw $v0, 0x014C($s0) ## 0000014C
/* 00264 809AE184 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 00268 809AE188 26251C24 */ addiu $a1, $s1, 0x1C24 ## $a1 = 00001C24
/* 0026C 809AE18C 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 00270 809AE190 0C00CDD2 */ jal Actor_ChangeCategory
/* 00274 809AE194 24070001 */ addiu $a3, $zero, 0x0001 ## $a3 = 00000001
/* 00278 809AE198 0C26B92A */ jal func_809AE4A8
/* 0027C 809AE19C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00280 809AE1A0 10000017 */ beq $zero, $zero, .L809AE200
/* 00284 809AE1A4 240D00FE */ addiu $t5, $zero, 0x00FE ## $t5 = 000000FE
.L809AE1A8:
/* 00288 809AE1A8 3C07809B */ lui $a3, %hi(D_809AFFAC) ## $a3 = 809B0000
/* 0028C 809AE1AC 0C01712B */ jal Collider_SetCylinder
/* 00290 809AE1B0 24E7FFAC */ addiu $a3, $a3, %lo(D_809AFFAC) ## $a3 = 809AFFAC
/* 00294 809AE1B4 2605030C */ addiu $a1, $s0, 0x030C ## $a1 = 0000030C
/* 00298 809AE1B8 AFA50038 */ sw $a1, 0x0038($sp)
/* 0029C 809AE1BC 0C017406 */ jal Collider_InitQuad
/* 002A0 809AE1C0 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 002A4 809AE1C4 3C07809B */ lui $a3, %hi(D_809AFFD8) ## $a3 = 809B0000
/* 002A8 809AE1C8 8FA50038 */ lw $a1, 0x0038($sp)
/* 002AC 809AE1CC 24E7FFD8 */ addiu $a3, $a3, %lo(D_809AFFD8) ## $a3 = 809AFFD8
/* 002B0 809AE1D0 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 002B4 809AE1D4 0C017441 */ jal Collider_SetQuad
/* 002B8 809AE1D8 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 002BC 809AE1DC 3C0C809B */ lui $t4, %hi(D_809B0028) ## $t4 = 809B0000
/* 002C0 809AE1E0 240B0001 */ addiu $t3, $zero, 0x0001 ## $t3 = 00000001
/* 002C4 809AE1E4 258C0028 */ addiu $t4, $t4, %lo(D_809B0028) ## $t4 = 809B0028
/* 002C8 809AE1E8 A20B00AF */ sb $t3, 0x00AF($s0) ## 000000AF
/* 002CC 809AE1EC AE0C0098 */ sw $t4, 0x0098($s0) ## 00000098
/* 002D0 809AE1F0 0C26B903 */ jal func_809AE40C
/* 002D4 809AE1F4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 002D8 809AE1F8 A6000258 */ sh $zero, 0x0258($s0) ## 00000258
/* 002DC 809AE1FC 240D00FE */ addiu $t5, $zero, 0x00FE ## $t5 = 000000FE
.L809AE200:
/* 002E0 809AE200 A20D00AE */ sb $t5, 0x00AE($s0) ## 000000AE
/* 002E4 809AE204 8FBF002C */ lw $ra, 0x002C($sp)
/* 002E8 809AE208 8FB10028 */ lw $s1, 0x0028($sp)
/* 002EC 809AE20C 8FB00024 */ lw $s0, 0x0024($sp)
/* 002F0 809AE210 03E00008 */ jr $ra
/* 002F4 809AE214 27BD0048 */ addiu $sp, $sp, 0x0048 ## $sp = 00000000

View file

@ -1,268 +0,0 @@
.late_rodata
glabel D_809B0180
.float 4500.0
.text
glabel EnAm_Update
/* 01ADC 809AF9FC 27BDFF78 */ addiu $sp, $sp, 0xFF78 ## $sp = FFFFFF78
/* 01AE0 809AFA00 AFBF004C */ sw $ra, 0x004C($sp)
/* 01AE4 809AFA04 AFB30048 */ sw $s3, 0x0048($sp)
/* 01AE8 809AFA08 AFB20044 */ sw $s2, 0x0044($sp)
/* 01AEC 809AFA0C AFB10040 */ sw $s1, 0x0040($sp)
/* 01AF0 809AFA10 AFB0003C */ sw $s0, 0x003C($sp)
/* 01AF4 809AFA14 F7B60030 */ sdc1 $f22, 0x0030($sp)
/* 01AF8 809AFA18 F7B40028 */ sdc1 $f20, 0x0028($sp)
/* 01AFC 809AFA1C 848E001C */ lh $t6, 0x001C($a0) ## 0000001C
/* 01B00 809AFA20 00809025 */ or $s2, $a0, $zero ## $s2 = 00000000
/* 01B04 809AFA24 00A09825 */ or $s3, $a1, $zero ## $s3 = 00000000
/* 01B08 809AFA28 51C00004 */ beql $t6, $zero, .L809AFA3C
/* 01B0C 809AFA2C 924F00B1 */ lbu $t7, 0x00B1($s2) ## 000000B1
/* 01B10 809AFA30 0C26BE19 */ jal func_809AF864
/* 01B14 809AFA34 00000000 */ nop
/* 01B18 809AFA38 924F00B1 */ lbu $t7, 0x00B1($s2) ## 000000B1
.L809AFA3C:
/* 01B1C 809AFA3C 2401000E */ addiu $at, $zero, 0x000E ## $at = 0000000E
/* 01B20 809AFA40 51E10085 */ beql $t7, $at, .L809AFC58
/* 01B24 809AFA44 26510274 */ addiu $s1, $s2, 0x0274 ## $s1 = 00000274
/* 01B28 809AFA48 8642025C */ lh $v0, 0x025C($s2) ## 0000025C
/* 01B2C 809AFA4C 10400002 */ beq $v0, $zero, .L809AFA58
/* 01B30 809AFA50 2458FFFF */ addiu $t8, $v0, 0xFFFF ## $t8 = FFFFFFFF
/* 01B34 809AFA54 A658025C */ sh $t8, 0x025C($s2) ## 0000025C
.L809AFA58:
/* 01B38 809AFA58 8E590254 */ lw $t9, 0x0254($s2) ## 00000254
/* 01B3C 809AFA5C 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 01B40 809AFA60 02602825 */ or $a1, $s3, $zero ## $a1 = 00000000
/* 01B44 809AFA64 0320F809 */ jalr $ra, $t9
/* 01B48 809AFA68 00000000 */ nop
/* 01B4C 809AFA6C 86420260 */ lh $v0, 0x0260($s2) ## 00000260
/* 01B50 809AFA70 1040006C */ beq $v0, $zero, .L809AFC24
/* 01B54 809AFA74 2448FFFF */ addiu $t0, $v0, 0xFFFF ## $t0 = FFFFFFFF
/* 01B58 809AFA78 A6480260 */ sh $t0, 0x0260($s2) ## 00000260
/* 01B5C 809AFA7C 86420260 */ lh $v0, 0x0260($s2) ## 00000260
/* 01B60 809AFA80 3C090001 */ lui $t1, 0x0001 ## $t1 = 00010000
/* 01B64 809AFA84 01334821 */ addu $t1, $t1, $s3
/* 01B68 809AFA88 1440005E */ bne $v0, $zero, .L809AFC04
/* 01B6C 809AFA8C 30590003 */ andi $t9, $v0, 0x0003 ## $t9 = 00000000
/* 01B70 809AFA90 8D291DE4 */ lw $t1, 0x1DE4($t1) ## 00011DE4
/* 01B74 809AFA94 3C014F80 */ lui $at, 0x4F80 ## $at = 4F800000
/* 01B78 809AFA98 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 01B7C 809AFA9C 00095080 */ sll $t2, $t1, 2
/* 01B80 809AFAA0 01495021 */ addu $t2, $t2, $t1
/* 01B84 809AFAA4 000A5040 */ sll $t2, $t2, 1
/* 01B88 809AFAA8 448A2000 */ mtc1 $t2, $f4 ## $f4 = 0.00
/* 01B8C 809AFAAC 05410004 */ bgez $t2, .L809AFAC0
/* 01B90 809AFAB0 46802520 */ cvt.s.w $f20, $f4
/* 01B94 809AFAB4 44813000 */ mtc1 $at, $f6 ## $f6 = 4294967296.00
/* 01B98 809AFAB8 00000000 */ nop
/* 01B9C 809AFABC 4606A500 */ add.s $f20, $f20, $f6
.L809AFAC0:
/* 01BA0 809AFAC0 0C26B89C */ jal func_809AE270
/* 01BA4 809AFAC4 02602825 */ or $a1, $s3, $zero ## $a1 = 00000000
/* 01BA8 809AFAC8 C6480028 */ lwc1 $f8, 0x0028($s2) ## 00000028
/* 01BAC 809AFACC 8E470024 */ lw $a3, 0x0024($s2) ## 00000024
/* 01BB0 809AFAD0 240B0002 */ addiu $t3, $zero, 0x0002 ## $t3 = 00000002
/* 01BB4 809AFAD4 E7A80010 */ swc1 $f8, 0x0010($sp)
/* 01BB8 809AFAD8 C64A002C */ lwc1 $f10, 0x002C($s2) ## 0000002C
/* 01BBC 809AFADC AFA00024 */ sw $zero, 0x0024($sp)
/* 01BC0 809AFAE0 AFAB0020 */ sw $t3, 0x0020($sp)
/* 01BC4 809AFAE4 AFA0001C */ sw $zero, 0x001C($sp)
/* 01BC8 809AFAE8 AFA00018 */ sw $zero, 0x0018($sp)
/* 01BCC 809AFAEC 26641C24 */ addiu $a0, $s3, 0x1C24 ## $a0 = 00001C24
/* 01BD0 809AFAF0 02602825 */ or $a1, $s3, $zero ## $a1 = 00000000
/* 01BD4 809AFAF4 24060010 */ addiu $a2, $zero, 0x0010 ## $a2 = 00000010
/* 01BD8 809AFAF8 0C00C7D4 */ jal Actor_Spawn
## ActorSpawn
/* 01BDC 809AFAFC E7AA0014 */ swc1 $f10, 0x0014($sp)
/* 01BE0 809AFB00 10400002 */ beq $v0, $zero, .L809AFB0C
/* 01BE4 809AFB04 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 01BE8 809AFB08 A44001F8 */ sh $zero, 0x01F8($v0) ## 000001F8
.L809AFB0C:
/* 01BEC 809AFB0C 0C00BE0A */ jal Audio_PlayActorSound2
/* 01BF0 809AFB10 24053846 */ addiu $a1, $zero, 0x3846 ## $a1 = 00003846
/* 01BF4 809AFB14 02602025 */ or $a0, $s3, $zero ## $a0 = 00000000
/* 01BF8 809AFB18 02402825 */ or $a1, $s2, $zero ## $a1 = 00000000
/* 01BFC 809AFB1C 26460024 */ addiu $a2, $s2, 0x0024 ## $a2 = 00000024
/* 01C00 809AFB20 0C007E50 */ jal Item_DropCollectibleRandom
/* 01C04 809AFB24 240700A0 */ addiu $a3, $zero, 0x00A0 ## $a3 = 000000A0
/* 01C08 809AFB28 3C0140E0 */ lui $at, 0x40E0 ## $at = 40E00000
/* 01C0C 809AFB2C 3C11809B */ lui $s1, %hi(D_809B00A4) ## $s1 = 809B0000
/* 01C10 809AFB30 4481B000 */ mtc1 $at, $f22 ## $f22 = 7.00
/* 01C14 809AFB34 263100A4 */ addiu $s1, $s1, %lo(D_809B00A4) ## $s1 = 809B00A4
/* 01C18 809AFB38 24100009 */ addiu $s0, $zero, 0x0009 ## $s0 = 00000009
.L809AFB3C:
/* 01C1C 809AFB3C 0C0400A4 */ jal sinf
/* 01C20 809AFB40 4600A306 */ mov.s $f12, $f20
/* 01C24 809AFB44 46160402 */ mul.s $f16, $f0, $f22
/* 01C28 809AFB48 C6520024 */ lwc1 $f18, 0x0024($s2) ## 00000024
/* 01C2C 809AFB4C 3C014120 */ lui $at, 0x4120 ## $at = 41200000
/* 01C30 809AFB50 44816000 */ mtc1 $at, $f12 ## $f12 = 10.00
/* 01C34 809AFB54 46128100 */ add.s $f4, $f16, $f18
/* 01C38 809AFB58 0C00CFC8 */ jal Rand_CenteredFloat
/* 01C3C 809AFB5C E7A40070 */ swc1 $f4, 0x0070($sp)
/* 01C40 809AFB60 3C014220 */ lui $at, 0x4220 ## $at = 42200000
/* 01C44 809AFB64 44814000 */ mtc1 $at, $f8 ## $f8 = 40.00
/* 01C48 809AFB68 3C0140C0 */ lui $at, 0x40C0 ## $at = 40C00000
/* 01C4C 809AFB6C 44818000 */ mtc1 $at, $f16 ## $f16 = 6.00
/* 01C50 809AFB70 C6460028 */ lwc1 $f6, 0x0028($s2) ## 00000028
/* 01C54 809AFB74 4600A306 */ mov.s $f12, $f20
/* 01C58 809AFB78 46100482 */ mul.s $f18, $f0, $f16
/* 01C5C 809AFB7C 46083280 */ add.s $f10, $f6, $f8
/* 01C60 809AFB80 460A9100 */ add.s $f4, $f18, $f10
/* 01C64 809AFB84 0C041184 */ jal cosf
/* 01C68 809AFB88 E7A40074 */ swc1 $f4, 0x0074($sp)
/* 01C6C 809AFB8C 46160182 */ mul.s $f6, $f0, $f22
/* 01C70 809AFB90 C648002C */ lwc1 $f8, 0x002C($s2) ## 0000002C
/* 01C74 809AFB94 3C0C809B */ lui $t4, %hi(D_809B00B0) ## $t4 = 809B0000
/* 01C78 809AFB98 3C0D809B */ lui $t5, %hi(D_809B00B4) ## $t5 = 809B0000
/* 01C7C 809AFB9C 25AD00B4 */ addiu $t5, $t5, %lo(D_809B00B4) ## $t5 = 809B00B4
/* 01C80 809AFBA0 258C00B0 */ addiu $t4, $t4, %lo(D_809B00B0) ## $t4 = 809B00B0
/* 01C84 809AFBA4 240E00C8 */ addiu $t6, $zero, 0x00C8 ## $t6 = 000000C8
/* 01C88 809AFBA8 46083400 */ add.s $f16, $f6, $f8
/* 01C8C 809AFBAC 240F002D */ addiu $t7, $zero, 0x002D ## $t7 = 0000002D
/* 01C90 809AFBB0 2418000C */ addiu $t8, $zero, 0x000C ## $t8 = 0000000C
/* 01C94 809AFBB4 AFB80020 */ sw $t8, 0x0020($sp)
/* 01C98 809AFBB8 E7B00078 */ swc1 $f16, 0x0078($sp)
/* 01C9C 809AFBBC AFAF001C */ sw $t7, 0x001C($sp)
/* 01CA0 809AFBC0 AFAE0018 */ sw $t6, 0x0018($sp)
/* 01CA4 809AFBC4 AFAC0010 */ sw $t4, 0x0010($sp)
/* 01CA8 809AFBC8 AFAD0014 */ sw $t5, 0x0014($sp)
/* 01CAC 809AFBCC 02602025 */ or $a0, $s3, $zero ## $a0 = 00000000
/* 01CB0 809AFBD0 27A50070 */ addiu $a1, $sp, 0x0070 ## $a1 = FFFFFFE8
/* 01CB4 809AFBD4 02203025 */ or $a2, $s1, $zero ## $a2 = 809B00A4
/* 01CB8 809AFBD8 0C00A0DB */ jal func_8002836C
/* 01CBC 809AFBDC 02203825 */ or $a3, $s1, $zero ## $a3 = 809B00A4
/* 01CC0 809AFBE0 3C014270 */ lui $at, 0x4270 ## $at = 42700000
/* 01CC4 809AFBE4 44819000 */ mtc1 $at, $f18 ## $f18 = 60.00
/* 01CC8 809AFBE8 2610FFFF */ addiu $s0, $s0, 0xFFFF ## $s0 = 00000008
/* 01CCC 809AFBEC 0601FFD3 */ bgez $s0, .L809AFB3C
/* 01CD0 809AFBF0 4612A500 */ add.s $f20, $f20, $f18
/* 01CD4 809AFBF4 0C00B55C */ jal Actor_Kill
/* 01CD8 809AFBF8 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 01CDC 809AFBFC 1000005F */ beq $zero, $zero, .L809AFD7C
/* 01CE0 809AFC00 8FBF004C */ lw $ra, 0x004C($sp)
.L809AFC04:
/* 01CE4 809AFC04 17200007 */ bne $t9, $zero, .L809AFC24
/* 01CE8 809AFC08 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 01CEC 809AFC0C 24080004 */ addiu $t0, $zero, 0x0004 ## $t0 = 00000004
/* 01CF0 809AFC10 AFA80010 */ sw $t0, 0x0010($sp)
/* 01CF4 809AFC14 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 01CF8 809AFC18 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 01CFC 809AFC1C 0C00D09B */ jal func_8003426C
/* 01D00 809AFC20 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
.L809AFC24:
/* 01D04 809AFC24 0C00B638 */ jal Actor_MoveForward
/* 01D08 809AFC28 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 01D0C 809AFC2C 3C0142A0 */ lui $at, 0x42A0 ## $at = 42A00000
/* 01D10 809AFC30 44815000 */ mtc1 $at, $f10 ## $f10 = 80.00
/* 01D14 809AFC34 2409001D */ addiu $t1, $zero, 0x001D ## $t1 = 0000001D
/* 01D18 809AFC38 AFA90014 */ sw $t1, 0x0014($sp)
/* 01D1C 809AFC3C 02602025 */ or $a0, $s3, $zero ## $a0 = 00000000
/* 01D20 809AFC40 02402825 */ or $a1, $s2, $zero ## $a1 = 00000000
/* 01D24 809AFC44 3C0641A0 */ lui $a2, 0x41A0 ## $a2 = 41A00000
/* 01D28 809AFC48 3C0741E0 */ lui $a3, 0x41E0 ## $a3 = 41E00000
/* 01D2C 809AFC4C 0C00B92D */ jal Actor_UpdateBgCheckInfo
/* 01D30 809AFC50 E7AA0010 */ swc1 $f10, 0x0010($sp)
/* 01D34 809AFC54 26510274 */ addiu $s1, $s2, 0x0274 ## $s1 = 00000274
.L809AFC58:
/* 01D38 809AFC58 02202825 */ or $a1, $s1, $zero ## $a1 = 00000274
/* 01D3C 809AFC5C 0C0189B7 */ jal Collider_UpdateCylinder
/* 01D40 809AFC60 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 01D44 809AFC64 265002C0 */ addiu $s0, $s2, 0x02C0 ## $s0 = 000002C0
/* 01D48 809AFC68 02002825 */ or $a1, $s0, $zero ## $a1 = 000002C0
/* 01D4C 809AFC6C 0C0189B7 */ jal Collider_UpdateCylinder
/* 01D50 809AFC70 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 01D54 809AFC74 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 01D58 809AFC78 34211E60 */ ori $at, $at, 0x1E60 ## $at = 00011E60
/* 01D5C 809AFC7C 02612821 */ addu $a1, $s3, $at
/* 01D60 809AFC80 AFA5005C */ sw $a1, 0x005C($sp)
/* 01D64 809AFC84 02602025 */ or $a0, $s3, $zero ## $a0 = 00000000
/* 01D68 809AFC88 0C017713 */ jal CollisionCheck_SetOC
## CollisionCheck_setOC
/* 01D6C 809AFC8C 02203025 */ or $a2, $s1, $zero ## $a2 = 00000274
/* 01D70 809AFC90 864A001C */ lh $t2, 0x001C($s2) ## 0000001C
/* 01D74 809AFC94 3C01809B */ lui $at, %hi(D_809B0180) ## $at = 809B0000
/* 01D78 809AFC98 02602025 */ or $a0, $s3, $zero ## $a0 = 00000000
/* 01D7C 809AFC9C 11400034 */ beq $t2, $zero, .L809AFD70
/* 01D80 809AFCA0 8FA5005C */ lw $a1, 0x005C($sp)
/* 01D84 809AFCA4 C6440050 */ lwc1 $f4, 0x0050($s2) ## 00000050
/* 01D88 809AFCA8 C4260180 */ lwc1 $f6, %lo(D_809B0180)($at)
/* 01D8C 809AFCAC 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 01D90 809AFCB0 46062202 */ mul.s $f8, $f4, $f6
/* 01D94 809AFCB4 44054000 */ mfc1 $a1, $f8
/* 01D98 809AFCB8 0C00B56E */ jal Actor_SetFocus
/* 01D9C 809AFCBC 00000000 */ nop
/* 01DA0 809AFCC0 924B0114 */ lbu $t3, 0x0114($s2) ## 00000114
/* 01DA4 809AFCC4 02602025 */ or $a0, $s3, $zero ## $a0 = 00000000
/* 01DA8 809AFCC8 8FA5005C */ lw $a1, 0x005C($sp)
/* 01DAC 809AFCCC 55600004 */ bnel $t3, $zero, .L809AFCE0
/* 01DB0 809AFCD0 02602025 */ or $a0, $s3, $zero ## $a0 = 00000000
/* 01DB4 809AFCD4 0C01767D */ jal CollisionCheck_SetAC
## CollisionCheck_setAC
/* 01DB8 809AFCD8 02003025 */ or $a2, $s0, $zero ## $a2 = 000002C0
/* 01DBC 809AFCDC 02602025 */ or $a0, $s3, $zero ## $a0 = 00000000
.L809AFCE0:
/* 01DC0 809AFCE0 8FA5005C */ lw $a1, 0x005C($sp)
/* 01DC4 809AFCE4 0C01767D */ jal CollisionCheck_SetAC
## CollisionCheck_setAC
/* 01DC8 809AFCE8 02203025 */ or $a2, $s1, $zero ## $a2 = 00000274
/* 01DCC 809AFCEC 8E4C01A8 */ lw $t4, 0x01A8($s2) ## 000001A8
/* 01DD0 809AFCF0 29810004 */ slti $at, $t4, 0x0004
/* 01DD4 809AFCF4 54200021 */ bnel $at, $zero, .L809AFD7C
/* 01DD8 809AFCF8 8FBF004C */ lw $ra, 0x004C($sp)
/* 01DDC 809AFCFC 864D0264 */ lh $t5, 0x0264($s2) ## 00000264
/* 01DE0 809AFD00 59A0001E */ blezl $t5, .L809AFD7C
/* 01DE4 809AFD04 8FBF004C */ lw $ra, 0x004C($sp)
/* 01DE8 809AFD08 9242031C */ lbu $v0, 0x031C($s2) ## 0000031C
/* 01DEC 809AFD0C 02402025 */ or $a0, $s2, $zero ## $a0 = 00000000
/* 01DF0 809AFD10 02602825 */ or $a1, $s3, $zero ## $a1 = 00000000
/* 01DF4 809AFD14 304E0004 */ andi $t6, $v0, 0x0004 ## $t6 = 00000000
/* 01DF8 809AFD18 15C00010 */ bne $t6, $zero, .L809AFD5C
/* 01DFC 809AFD1C 3059FFF9 */ andi $t9, $v0, 0xFFF9 ## $t9 = 00000000
/* 01E00 809AFD20 304F0002 */ andi $t7, $v0, 0x0002 ## $t7 = 00000000
/* 01E04 809AFD24 51E00008 */ beql $t7, $zero, .L809AFD48
/* 01E08 809AFD28 02602025 */ or $a0, $s3, $zero ## $a0 = 00000000
/* 01E0C 809AFD2C 8E641C44 */ lw $a0, 0x1C44($s3) ## 00001C44
/* 01E10 809AFD30 8E580310 */ lw $t8, 0x0310($s2) ## 00000310
/* 01E14 809AFD34 54980004 */ bnel $a0, $t8, .L809AFD48
/* 01E18 809AFD38 02602025 */ or $a0, $s3, $zero ## $a0 = 00000000
/* 01E1C 809AFD3C 0C00BE0A */ jal Audio_PlayActorSound2
/* 01E20 809AFD40 2405083E */ addiu $a1, $zero, 0x083E ## $a1 = 0000083E
/* 01E24 809AFD44 02602025 */ or $a0, $s3, $zero ## $a0 = 00000000
.L809AFD48:
/* 01E28 809AFD48 8FA5005C */ lw $a1, 0x005C($sp)
/* 01E2C 809AFD4C 0C0175E7 */ jal CollisionCheck_SetAT
## CollisionCheck_setAT
/* 01E30 809AFD50 2646030C */ addiu $a2, $s2, 0x030C ## $a2 = 0000030C
/* 01E34 809AFD54 10000009 */ beq $zero, $zero, .L809AFD7C
/* 01E38 809AFD58 8FBF004C */ lw $ra, 0x004C($sp)
.L809AFD5C:
/* 01E3C 809AFD5C A259031C */ sb $t9, 0x031C($s2) ## 0000031C
/* 01E40 809AFD60 0C26B9FD */ jal func_809AE7F4
/* 01E44 809AFD64 AE400310 */ sw $zero, 0x0310($s2) ## 00000310
/* 01E48 809AFD68 10000004 */ beq $zero, $zero, .L809AFD7C
/* 01E4C 809AFD6C 8FBF004C */ lw $ra, 0x004C($sp)
.L809AFD70:
/* 01E50 809AFD70 0C017713 */ jal CollisionCheck_SetOC
## CollisionCheck_setOC
/* 01E54 809AFD74 02003025 */ or $a2, $s0, $zero ## $a2 = 000002C0
/* 01E58 809AFD78 8FBF004C */ lw $ra, 0x004C($sp)
.L809AFD7C:
/* 01E5C 809AFD7C D7B40028 */ ldc1 $f20, 0x0028($sp)
/* 01E60 809AFD80 D7B60030 */ ldc1 $f22, 0x0030($sp)
/* 01E64 809AFD84 8FB0003C */ lw $s0, 0x003C($sp)
/* 01E68 809AFD88 8FB10040 */ lw $s1, 0x0040($sp)
/* 01E6C 809AFD8C 8FB20044 */ lw $s2, 0x0044($sp)
/* 01E70 809AFD90 8FB30048 */ lw $s3, 0x0048($sp)
/* 01E74 809AFD94 03E00008 */ jr $ra
/* 01E78 809AFD98 27BD0088 */ addiu $sp, $sp, 0x0088 ## $sp = 00000000

View file

@ -1,3 +0,0 @@
glabel func_809ADF20
/* 00000 809ADF20 03E00008 */ jr $ra
/* 00004 809ADF24 AC850254 */ sw $a1, 0x0254($a0) ## 00000254

View file

@ -1,78 +0,0 @@
glabel func_809ADF28
/* 00008 809ADF28 27BDFFB8 */ addiu $sp, $sp, 0xFFB8 ## $sp = FFFFFFB8
/* 0000C 809ADF2C AFBF0024 */ sw $ra, 0x0024($sp)
/* 00010 809ADF30 AFB00020 */ sw $s0, 0x0020($sp)
/* 00014 809ADF34 AFA5004C */ sw $a1, 0x004C($sp)
/* 00018 809ADF38 AFA60050 */ sw $a2, 0x0050($sp)
/* 0001C 809ADF3C AFA70054 */ sw $a3, 0x0054($sp)
/* 00020 809ADF40 24820024 */ addiu $v0, $a0, 0x0024 ## $v0 = 00000024
/* 00024 809ADF44 8C580000 */ lw $t8, 0x0000($v0) ## 00000024
/* 00028 809ADF48 27AE0030 */ addiu $t6, $sp, 0x0030 ## $t6 = FFFFFFE8
/* 0002C 809ADF4C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00030 809ADF50 ADD80000 */ sw $t8, 0x0000($t6) ## FFFFFFE8
/* 00034 809ADF54 8C4F0004 */ lw $t7, 0x0004($v0) ## 00000028
/* 00038 809ADF58 ADCF0004 */ sw $t7, 0x0004($t6) ## FFFFFFEC
/* 0003C 809ADF5C 8C580008 */ lw $t8, 0x0008($v0) ## 0000002C
/* 00040 809ADF60 ADD80008 */ sw $t8, 0x0008($t6) ## FFFFFFF0
/* 00044 809ADF64 94990088 */ lhu $t9, 0x0088($a0) ## 00000088
/* 00048 809ADF68 AFA2002C */ sw $v0, 0x002C($sp)
/* 0004C 809ADF6C 87A40056 */ lh $a0, 0x0056($sp)
/* 00050 809ADF70 0C01DE1C */ jal Math_SinS
## sins?
/* 00054 809ADF74 A7B90044 */ sh $t9, 0x0044($sp)
/* 00058 809ADF78 C7A40050 */ lwc1 $f4, 0x0050($sp)
/* 0005C 809ADF7C 87A40056 */ lh $a0, 0x0056($sp)
/* 00060 809ADF80 46040182 */ mul.s $f6, $f0, $f4
/* 00064 809ADF84 0C01DE0D */ jal Math_CosS
## coss?
/* 00068 809ADF88 E7A60040 */ swc1 $f6, 0x0040($sp)
/* 0006C 809ADF8C C6080024 */ lwc1 $f8, 0x0024($s0) ## 00000024
/* 00070 809ADF90 C7AA0040 */ lwc1 $f10, 0x0040($sp)
/* 00074 809ADF94 C612002C */ lwc1 $f18, 0x002C($s0) ## 0000002C
/* 00078 809ADF98 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 0007C 809ADF9C 460A4400 */ add.s $f16, $f8, $f10
/* 00080 809ADFA0 24080004 */ addiu $t0, $zero, 0x0004 ## $t0 = 00000004
/* 00084 809ADFA4 44061000 */ mfc1 $a2, $f2
/* 00088 809ADFA8 44071000 */ mfc1 $a3, $f2
/* 0008C 809ADFAC E6100024 */ swc1 $f16, 0x0024($s0) ## 00000024
/* 00090 809ADFB0 C7A40050 */ lwc1 $f4, 0x0050($sp)
/* 00094 809ADFB4 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00098 809ADFB8 46040182 */ mul.s $f6, $f0, $f4
/* 0009C 809ADFBC 46069200 */ add.s $f8, $f18, $f6
/* 000A0 809ADFC0 E608002C */ swc1 $f8, 0x002C($s0) ## 0000002C
/* 000A4 809ADFC4 AFA80014 */ sw $t0, 0x0014($sp)
/* 000A8 809ADFC8 8FA4004C */ lw $a0, 0x004C($sp)
/* 000AC 809ADFCC 0C00B92D */ jal Actor_UpdateBgCheckInfo
/* 000B0 809ADFD0 E7A20010 */ swc1 $f2, 0x0010($sp)
/* 000B4 809ADFD4 27AA0030 */ addiu $t2, $sp, 0x0030 ## $t2 = FFFFFFE8
/* 000B8 809ADFD8 8D4C0000 */ lw $t4, 0x0000($t2) ## FFFFFFE8
/* 000BC 809ADFDC 8FA9002C */ lw $t1, 0x002C($sp)
/* 000C0 809ADFE0 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 000C4 809ADFE4 AD2C0000 */ sw $t4, 0x0000($t1) ## 00000000
/* 000C8 809ADFE8 8D4B0004 */ lw $t3, 0x0004($t2) ## FFFFFFEC
/* 000CC 809ADFEC AD2B0004 */ sw $t3, 0x0004($t1) ## 00000004
/* 000D0 809ADFF0 8D4C0008 */ lw $t4, 0x0008($t2) ## FFFFFFF0
/* 000D4 809ADFF4 AD2C0008 */ sw $t4, 0x0008($t1) ## 00000008
/* 000D8 809ADFF8 96030088 */ lhu $v1, 0x0088($s0) ## 00000088
/* 000DC 809ADFFC 87AD0044 */ lh $t5, 0x0044($sp)
/* 000E0 809AE000 30630001 */ andi $v1, $v1, 0x0001 ## $v1 = 00000000
/* 000E4 809AE004 00031C00 */ sll $v1, $v1, 16
/* 000E8 809AE008 00031C03 */ sra $v1, $v1, 16
/* 000EC 809AE00C 5460000B */ bnel $v1, $zero, .L809AE03C
/* 000F0 809AE010 A60D0088 */ sh $t5, 0x0088($s0) ## 00000088
/* 000F4 809AE014 C610000C */ lwc1 $f16, 0x000C($s0) ## 0000000C
/* 000F8 809AE018 44812000 */ mtc1 $at, $f4 ## $f4 = 20.00
/* 000FC 809AE01C C60A0080 */ lwc1 $f10, 0x0080($s0) ## 00000080
/* 00100 809AE020 46048481 */ sub.s $f18, $f16, $f4
/* 00104 809AE024 460A903E */ c.le.s $f18, $f10
/* 00108 809AE028 00000000 */ nop
/* 0010C 809AE02C 45020003 */ bc1fl .L809AE03C
/* 00110 809AE030 A60D0088 */ sh $t5, 0x0088($s0) ## 00000088
/* 00114 809AE034 24030001 */ addiu $v1, $zero, 0x0001 ## $v1 = 00000001
/* 00118 809AE038 A60D0088 */ sh $t5, 0x0088($s0) ## 00000088
.L809AE03C:
/* 0011C 809AE03C 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00120 809AE040 8FB00020 */ lw $s0, 0x0020($sp)
/* 00124 809AE044 27BD0048 */ addiu $sp, $sp, 0x0048 ## $sp = 00000000
/* 00128 809AE048 03E00008 */ jr $ra
/* 0012C 809AE04C 00601025 */ or $v0, $v1, $zero ## $v0 = 00000001

View file

@ -1,109 +0,0 @@
glabel func_809AE270
/* 00350 809AE270 27BDFF70 */ addiu $sp, $sp, 0xFF70 ## $sp = FFFFFF70
/* 00354 809AE274 F7BA0040 */ sdc1 $f26, 0x0040($sp)
/* 00358 809AE278 3C0E809B */ lui $t6, %hi(D_809B0054) ## $t6 = 809B0000
/* 0035C 809AE27C AFBF006C */ sw $ra, 0x006C($sp)
/* 00360 809AE280 AFB70068 */ sw $s7, 0x0068($sp)
/* 00364 809AE284 AFB60064 */ sw $s6, 0x0064($sp)
/* 00368 809AE288 AFB50060 */ sw $s5, 0x0060($sp)
/* 0036C 809AE28C AFB4005C */ sw $s4, 0x005C($sp)
/* 00370 809AE290 AFB30058 */ sw $s3, 0x0058($sp)
/* 00374 809AE294 AFB20054 */ sw $s2, 0x0054($sp)
/* 00378 809AE298 AFB10050 */ sw $s1, 0x0050($sp)
/* 0037C 809AE29C AFB0004C */ sw $s0, 0x004C($sp)
/* 00380 809AE2A0 F7B80038 */ sdc1 $f24, 0x0038($sp)
/* 00384 809AE2A4 F7B60030 */ sdc1 $f22, 0x0030($sp)
/* 00388 809AE2A8 F7B40028 */ sdc1 $f20, 0x0028($sp)
/* 0038C 809AE2AC 25CE0054 */ addiu $t6, $t6, %lo(D_809B0054) ## $t6 = 809B0054
/* 00390 809AE2B0 3C014220 */ lui $at, 0x4220 ## $at = 42200000
/* 00394 809AE2B4 8DD80000 */ lw $t8, 0x0000($t6) ## 809B0054
/* 00398 809AE2B8 4481D000 */ mtc1 $at, $f26 ## $f26 = 40.00
/* 0039C 809AE2BC 3C014120 */ lui $at, 0x4120 ## $at = 41200000
/* 003A0 809AE2C0 27B6007C */ addiu $s6, $sp, 0x007C ## $s6 = FFFFFFEC
/* 003A4 809AE2C4 3C19809B */ lui $t9, %hi(D_809B0058) ## $t9 = 809B0000
/* 003A8 809AE2C8 4481C000 */ mtc1 $at, $f24 ## $f24 = 10.00
/* 003AC 809AE2CC 27390058 */ addiu $t9, $t9, %lo(D_809B0058) ## $t9 = 809B0058
/* 003B0 809AE2D0 3C014282 */ lui $at, 0x4282 ## $at = 42820000
/* 003B4 809AE2D4 AED80000 */ sw $t8, 0x0000($s6) ## FFFFFFEC
/* 003B8 809AE2D8 8F290000 */ lw $t1, 0x0000($t9) ## 809B0058
/* 003BC 809AE2DC 4481B000 */ mtc1 $at, $f22 ## $f22 = 65.00
/* 003C0 809AE2E0 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
/* 003C4 809AE2E4 27B70078 */ addiu $s7, $sp, 0x0078 ## $s7 = FFFFFFE8
/* 003C8 809AE2E8 3C13809B */ lui $s3, %hi(D_809B005C) ## $s3 = 809B0000
/* 003CC 809AE2EC 3C14809B */ lui $s4, %hi(D_809B0068) ## $s4 = 809B0000
/* 003D0 809AE2F0 4481A000 */ mtc1 $at, $f20 ## $f20 = 0.50
/* 003D4 809AE2F4 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 003D8 809AE2F8 00A0A825 */ or $s5, $a1, $zero ## $s5 = 00000000
/* 003DC 809AE2FC 26940068 */ addiu $s4, $s4, %lo(D_809B0068) ## $s4 = 809B0068
/* 003E0 809AE300 2673005C */ addiu $s3, $s3, %lo(D_809B005C) ## $s3 = 809B005C
/* 003E4 809AE304 24110004 */ addiu $s1, $zero, 0x0004 ## $s1 = 00000004
/* 003E8 809AE308 27B20080 */ addiu $s2, $sp, 0x0080 ## $s2 = FFFFFFF0
/* 003EC 809AE30C AEE90000 */ sw $t1, 0x0000($s7) ## FFFFFFE8
.L809AE310:
/* 003F0 809AE310 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 003F4 809AE314 00000000 */ nop
/* 003F8 809AE318 46140101 */ sub.s $f4, $f0, $f20
/* 003FC 809AE31C C6080024 */ lwc1 $f8, 0x0024($s0) ## 00000024
/* 00400 809AE320 46162182 */ mul.s $f6, $f4, $f22
/* 00404 809AE324 46083280 */ add.s $f10, $f6, $f8
/* 00408 809AE328 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 0040C 809AE32C E7AA0080 */ swc1 $f10, 0x0080($sp)
/* 00410 809AE330 46140401 */ sub.s $f16, $f0, $f20
/* 00414 809AE334 C6040028 */ lwc1 $f4, 0x0028($s0) ## 00000028
/* 00418 809AE338 46188482 */ mul.s $f18, $f16, $f24
/* 0041C 809AE33C 461A2180 */ add.s $f6, $f4, $f26
/* 00420 809AE340 46069200 */ add.s $f8, $f18, $f6
/* 00424 809AE344 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 00428 809AE348 E7A80084 */ swc1 $f8, 0x0084($sp)
/* 0042C 809AE34C 46140281 */ sub.s $f10, $f0, $f20
/* 00430 809AE350 C604002C */ lwc1 $f4, 0x002C($s0) ## 0000002C
/* 00434 809AE354 AFB70014 */ sw $s7, 0x0014($sp)
/* 00438 809AE358 AFB60010 */ sw $s6, 0x0010($sp)
/* 0043C 809AE35C 46165402 */ mul.s $f16, $f10, $f22
/* 00440 809AE360 02A02025 */ or $a0, $s5, $zero ## $a0 = 00000000
/* 00444 809AE364 02402825 */ or $a1, $s2, $zero ## $a1 = FFFFFFF0
/* 00448 809AE368 02603025 */ or $a2, $s3, $zero ## $a2 = 809B005C
/* 0044C 809AE36C 02803825 */ or $a3, $s4, $zero ## $a3 = 809B0068
/* 00450 809AE370 46048480 */ add.s $f18, $f16, $f4
/* 00454 809AE374 0C00A2DD */ jal EffectSsKiraKira_SpawnSmall
/* 00458 809AE378 E7B20088 */ swc1 $f18, 0x0088($sp)
/* 0045C 809AE37C 2631FFFF */ addiu $s1, $s1, 0xFFFF ## $s1 = 00000003
/* 00460 809AE380 1620FFE3 */ bne $s1, $zero, .L809AE310
/* 00464 809AE384 00000000 */ nop
/* 00468 809AE388 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0046C 809AE38C 0C00BE0A */ jal Audio_PlayActorSound2
/* 00470 809AE390 24053844 */ addiu $a1, $zero, 0x3844 ## $a1 = 00003844
/* 00474 809AE394 3C014100 */ lui $at, 0x4100 ## $at = 41000000
/* 00478 809AE398 44813000 */ mtc1 $at, $f6 ## $f6 = 8.00
/* 0047C 809AE39C 240A0003 */ addiu $t2, $zero, 0x0003 ## $t2 = 00000003
/* 00480 809AE3A0 240B012C */ addiu $t3, $zero, 0x012C ## $t3 = 0000012C
/* 00484 809AE3A4 240C000F */ addiu $t4, $zero, 0x000F ## $t4 = 0000000F
/* 00488 809AE3A8 AFAC001C */ sw $t4, 0x001C($sp)
/* 0048C 809AE3AC AFAB0018 */ sw $t3, 0x0018($sp)
/* 00490 809AE3B0 AFAA0010 */ sw $t2, 0x0010($sp)
/* 00494 809AE3B4 02A02025 */ or $a0, $s5, $zero ## $a0 = 00000000
/* 00498 809AE3B8 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 0049C 809AE3BC 26060024 */ addiu $a2, $s0, 0x0024 ## $a2 = 00000024
/* 004A0 809AE3C0 3C074080 */ lui $a3, 0x4080 ## $a3 = 40800000
/* 004A4 809AE3C4 AFA00020 */ sw $zero, 0x0020($sp)
/* 004A8 809AE3C8 0C00CC98 */ jal func_80033260
/* 004AC 809AE3CC E7A60014 */ swc1 $f6, 0x0014($sp)
/* 004B0 809AE3D0 8FBF006C */ lw $ra, 0x006C($sp)
/* 004B4 809AE3D4 D7B40028 */ ldc1 $f20, 0x0028($sp)
/* 004B8 809AE3D8 D7B60030 */ ldc1 $f22, 0x0030($sp)
/* 004BC 809AE3DC D7B80038 */ ldc1 $f24, 0x0038($sp)
/* 004C0 809AE3E0 D7BA0040 */ ldc1 $f26, 0x0040($sp)
/* 004C4 809AE3E4 8FB0004C */ lw $s0, 0x004C($sp)
/* 004C8 809AE3E8 8FB10050 */ lw $s1, 0x0050($sp)
/* 004CC 809AE3EC 8FB20054 */ lw $s2, 0x0054($sp)
/* 004D0 809AE3F0 8FB30058 */ lw $s3, 0x0058($sp)
/* 004D4 809AE3F4 8FB4005C */ lw $s4, 0x005C($sp)
/* 004D8 809AE3F8 8FB50060 */ lw $s5, 0x0060($sp)
/* 004DC 809AE3FC 8FB60064 */ lw $s6, 0x0064($sp)
/* 004E0 809AE400 8FB70068 */ lw $s7, 0x0068($sp)
/* 004E4 809AE404 03E00008 */ jr $ra
/* 004E8 809AE408 27BD0090 */ addiu $sp, $sp, 0x0090 ## $sp = 00000000

View file

@ -1,44 +0,0 @@
glabel func_809AE40C
/* 004EC 809AE40C 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 004F0 809AE410 AFB00028 */ sw $s0, 0x0028($sp)
/* 004F4 809AE414 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 004F8 809AE418 AFBF002C */ sw $ra, 0x002C($sp)
/* 004FC 809AE41C 3C040600 */ lui $a0, %hi(D_0600033C) ## $a0 = 06000000
/* 00500 809AE420 0C028800 */ jal Animation_GetLastFrame
/* 00504 809AE424 2484033C */ addiu $a0, $a0, %lo(D_0600033C) ## $a0 = 0600033C
/* 00508 809AE428 44822000 */ mtc1 $v0, $f4 ## $f4 = 0.00
/* 0050C 809AE42C 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 00510 809AE430 3C050600 */ lui $a1, %hi(D_0600033C) ## $a1 = 06000000
/* 00514 809AE434 46802020 */ cvt.s.w $f0, $f4
/* 00518 809AE438 44061000 */ mfc1 $a2, $f2
/* 0051C 809AE43C 24A5033C */ addiu $a1, $a1, %lo(D_0600033C) ## $a1 = 0600033C
/* 00520 809AE440 26040164 */ addiu $a0, $s0, 0x0164 ## $a0 = 00000164
/* 00524 809AE444 AFA00014 */ sw $zero, 0x0014($sp)
/* 00528 809AE448 E7A20018 */ swc1 $f2, 0x0018($sp)
/* 0052C 809AE44C 44070000 */ mfc1 $a3, $f0
/* 00530 809AE450 0C029468 */ jal Animation_Change
/* 00534 809AE454 E7A00010 */ swc1 $f0, 0x0010($sp)
/* 00538 809AE458 920F0266 */ lbu $t7, 0x0266($s0) ## 00000266
/* 0053C 809AE45C 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
/* 00540 809AE460 240E0003 */ addiu $t6, $zero, 0x0003 ## $t6 = 00000003
/* 00544 809AE464 240100FF */ addiu $at, $zero, 0x00FF ## $at = 000000FF
/* 00548 809AE468 AE0E01A8 */ sw $t6, 0x01A8($s0) ## 000001A8
/* 0054C 809AE46C 15E10003 */ bne $t7, $at, .L809AE47C
/* 00550 809AE470 E6060068 */ swc1 $f6, 0x0068($s0) ## 00000068
/* 00554 809AE474 10000003 */ beq $zero, $zero, .L809AE484
/* 00558 809AE478 A6000258 */ sh $zero, 0x0258($s0) ## 00000258
.L809AE47C:
/* 0055C 809AE47C 24180001 */ addiu $t8, $zero, 0x0001 ## $t8 = 00000001
/* 00560 809AE480 A6180258 */ sh $t8, 0x0258($s0) ## 00000258
.L809AE484:
/* 00564 809AE484 3C05809B */ lui $a1, %hi(func_809AE8A8) ## $a1 = 809B0000
/* 00568 809AE488 24A5E8A8 */ addiu $a1, $a1, %lo(func_809AE8A8) ## $a1 = 809AE8A8
/* 0056C 809AE48C 0C26B7C8 */ jal func_809ADF20
/* 00570 809AE490 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00574 809AE494 8FBF002C */ lw $ra, 0x002C($sp)
/* 00578 809AE498 8FB00028 */ lw $s0, 0x0028($sp)
/* 0057C 809AE49C 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 00580 809AE4A0 03E00008 */ jr $ra
/* 00584 809AE4A4 00000000 */ nop

View file

@ -1,39 +0,0 @@
glabel func_809AE4A8
/* 00588 809AE4A8 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 0058C 809AE4AC AFB00028 */ sw $s0, 0x0028($sp)
/* 00590 809AE4B0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00594 809AE4B4 AFBF002C */ sw $ra, 0x002C($sp)
/* 00598 809AE4B8 3C040600 */ lui $a0, %hi(D_0600033C) ## $a0 = 06000000
/* 0059C 809AE4BC 0C028800 */ jal Animation_GetLastFrame
/* 005A0 809AE4C0 2484033C */ addiu $a0, $a0, %lo(D_0600033C) ## $a0 = 0600033C
/* 005A4 809AE4C4 44822000 */ mtc1 $v0, $f4 ## $f4 = 0.00
/* 005A8 809AE4C8 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 005AC 809AE4CC 3C050600 */ lui $a1, %hi(D_0600033C) ## $a1 = 06000000
/* 005B0 809AE4D0 46802020 */ cvt.s.w $f0, $f4
/* 005B4 809AE4D4 44061000 */ mfc1 $a2, $f2
/* 005B8 809AE4D8 24A5033C */ addiu $a1, $a1, %lo(D_0600033C) ## $a1 = 0600033C
/* 005BC 809AE4DC 26040164 */ addiu $a0, $s0, 0x0164 ## $a0 = 00000164
/* 005C0 809AE4E0 AFA00014 */ sw $zero, 0x0014($sp)
/* 005C4 809AE4E4 E7A20018 */ swc1 $f2, 0x0018($sp)
/* 005C8 809AE4E8 44070000 */ mfc1 $a3, $f0
/* 005CC 809AE4EC 0C029468 */ jal Animation_Change
/* 005D0 809AE4F0 E7A00010 */ swc1 $f0, 0x0010($sp)
/* 005D4 809AE4F4 8E0E0004 */ lw $t6, 0x0004($s0) ## 00000004
/* 005D8 809AE4F8 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
/* 005DC 809AE4FC 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 005E0 809AE500 24180003 */ addiu $t8, $zero, 0x0003 ## $t8 = 00000003
/* 005E4 809AE504 3C05809B */ lui $a1, %hi(func_809AF30C) ## $a1 = 809B0000
/* 005E8 809AE508 01C17824 */ and $t7, $t6, $at
/* 005EC 809AE50C AE0F0004 */ sw $t7, 0x0004($s0) ## 00000004
/* 005F0 809AE510 AE1801A8 */ sw $t8, 0x01A8($s0) ## 000001A8
/* 005F4 809AE514 24A5F30C */ addiu $a1, $a1, %lo(func_809AF30C) ## $a1 = 809AF30C
/* 005F8 809AE518 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 005FC 809AE51C 0C26B7C8 */ jal func_809ADF20
/* 00600 809AE520 E6060068 */ swc1 $f6, 0x0068($s0) ## 00000068
/* 00604 809AE524 8FBF002C */ lw $ra, 0x002C($sp)
/* 00608 809AE528 8FB00028 */ lw $s0, 0x0028($sp)
/* 0060C 809AE52C 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 00610 809AE530 03E00008 */ jr $ra
/* 00614 809AE534 00000000 */ nop

View file

@ -1,26 +0,0 @@
glabel func_809AE538
/* 00618 809AE538 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 0061C 809AE53C AFBF0014 */ sw $ra, 0x0014($sp)
/* 00620 809AE540 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
/* 00624 809AE544 3C050600 */ lui $a1, %hi(D_06000238) ## $a1 = 06000000
/* 00628 809AE548 24A50238 */ addiu $a1, $a1, %lo(D_06000238) ## $a1 = 06000238
/* 0062C 809AE54C AFA70018 */ sw $a3, 0x0018($sp)
/* 00630 809AE550 24840164 */ addiu $a0, $a0, 0x0164 ## $a0 = 00000164
/* 00634 809AE554 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 00638 809AE558 3C064080 */ lui $a2, 0x4080 ## $a2 = 40800000
/* 0063C 809AE55C 8FA40018 */ lw $a0, 0x0018($sp)
/* 00640 809AE560 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 00644 809AE564 240E0003 */ addiu $t6, $zero, 0x0003 ## $t6 = 00000003
/* 00648 809AE568 849800B6 */ lh $t8, 0x00B6($a0) ## 000000B6
/* 0064C 809AE56C 240F000A */ addiu $t7, $zero, 0x000A ## $t7 = 0000000A
/* 00650 809AE570 3C05809B */ lui $a1, %hi(func_809AF0DC) ## $a1 = 809B0000
/* 00654 809AE574 24A5F0DC */ addiu $a1, $a1, %lo(func_809AF0DC) ## $a1 = 809AF0DC
/* 00658 809AE578 A48E0258 */ sh $t6, 0x0258($a0) ## 00000258
/* 0065C 809AE57C AC8F01A8 */ sw $t7, 0x01A8($a0) ## 000001A8
/* 00660 809AE580 E4840068 */ swc1 $f4, 0x0068($a0) ## 00000068
/* 00664 809AE584 0C26B7C8 */ jal func_809ADF20
/* 00668 809AE588 A4980032 */ sh $t8, 0x0032($a0) ## 00000032
/* 0066C 809AE58C 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00670 809AE590 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00674 809AE594 03E00008 */ jr $ra
/* 00678 809AE598 00000000 */ nop

View file

@ -1,28 +0,0 @@
glabel func_809AE59C
/* 0067C 809AE59C 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00680 809AE5A0 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00684 809AE5A4 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
/* 00688 809AE5A8 3C050600 */ lui $a1, %hi(D_06000238) ## $a1 = 06000000
/* 0068C 809AE5AC 24A50238 */ addiu $a1, $a1, %lo(D_06000238) ## $a1 = 06000238
/* 00690 809AE5B0 AFA70018 */ sw $a3, 0x0018($sp)
/* 00694 809AE5B4 24840164 */ addiu $a0, $a0, 0x0164 ## $a0 = 00000164
/* 00698 809AE5B8 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 0069C 809AE5BC 3C064080 */ lui $a2, 0x4080 ## $a2 = 40800000
/* 006A0 809AE5C0 8FA40018 */ lw $a0, 0x0018($sp)
/* 006A4 809AE5C4 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 006A8 809AE5C8 240E0003 */ addiu $t6, $zero, 0x0003 ## $t6 = 00000003
/* 006AC 809AE5CC 849900B6 */ lh $t9, 0x00B6($a0) ## 000000B6
/* 006B0 809AE5D0 240F0028 */ addiu $t7, $zero, 0x0028 ## $t7 = 00000028
/* 006B4 809AE5D4 2418000A */ addiu $t8, $zero, 0x000A ## $t8 = 0000000A
/* 006B8 809AE5D8 3C05809B */ lui $a1, %hi(func_809AEFA4) ## $a1 = 809B0000
/* 006BC 809AE5DC 24A5EFA4 */ addiu $a1, $a1, %lo(func_809AEFA4) ## $a1 = 809AEFA4
/* 006C0 809AE5E0 A48E0258 */ sh $t6, 0x0258($a0) ## 00000258
/* 006C4 809AE5E4 A48F025A */ sh $t7, 0x025A($a0) ## 0000025A
/* 006C8 809AE5E8 AC9801A8 */ sw $t8, 0x01A8($a0) ## 000001A8
/* 006CC 809AE5EC E4840068 */ swc1 $f4, 0x0068($a0) ## 00000068
/* 006D0 809AE5F0 0C26B7C8 */ jal func_809ADF20
/* 006D4 809AE5F4 A4990032 */ sh $t9, 0x0032($a0) ## 00000032
/* 006D8 809AE5F8 8FBF0014 */ lw $ra, 0x0014($sp)
/* 006DC 809AE5FC 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 006E0 809AE600 03E00008 */ jr $ra
/* 006E4 809AE604 00000000 */ nop

View file

@ -1,24 +0,0 @@
glabel func_809AE608
/* 006E8 809AE608 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 006EC 809AE60C AFBF0014 */ sw $ra, 0x0014($sp)
/* 006F0 809AE610 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
/* 006F4 809AE614 3C050600 */ lui $a1, %hi(D_06000238) ## $a1 = 06000000
/* 006F8 809AE618 24A50238 */ addiu $a1, $a1, %lo(D_06000238) ## $a1 = 06000238
/* 006FC 809AE61C AFA70018 */ sw $a3, 0x0018($sp)
/* 00700 809AE620 24840164 */ addiu $a0, $a0, 0x0164 ## $a0 = 00000164
/* 00704 809AE624 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 00708 809AE628 3C064080 */ lui $a2, 0x4080 ## $a2 = 40800000
/* 0070C 809AE62C 8FA40018 */ lw $a0, 0x0018($sp)
/* 00710 809AE630 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 00714 809AE634 240E0007 */ addiu $t6, $zero, 0x0007 ## $t6 = 00000007
/* 00718 809AE638 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001
/* 0071C 809AE63C 3C05809B */ lui $a1, %hi(func_809AED8C) ## $a1 = 809B0000
/* 00720 809AE640 24A5ED8C */ addiu $a1, $a1, %lo(func_809AED8C) ## $a1 = 809AED8C
/* 00724 809AE644 AC8E01A8 */ sw $t6, 0x01A8($a0) ## 000001A8
/* 00728 809AE648 A48F0258 */ sh $t7, 0x0258($a0) ## 00000258
/* 0072C 809AE64C 0C26B7C8 */ jal func_809ADF20
/* 00730 809AE650 E4840068 */ swc1 $f4, 0x0068($a0) ## 00000068
/* 00734 809AE654 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00738 809AE658 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 0073C 809AE65C 03E00008 */ jr $ra
/* 00740 809AE660 00000000 */ nop

View file

@ -1,24 +0,0 @@
glabel func_809AE664
/* 00744 809AE664 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00748 809AE668 AFBF0014 */ sw $ra, 0x0014($sp)
/* 0074C 809AE66C 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
/* 00750 809AE670 3C050600 */ lui $a1, %hi(D_06000238) ## $a1 = 06000000
/* 00754 809AE674 24A50238 */ addiu $a1, $a1, %lo(D_06000238) ## $a1 = 06000238
/* 00758 809AE678 AFA70018 */ sw $a3, 0x0018($sp)
/* 0075C 809AE67C 24840164 */ addiu $a0, $a0, 0x0164 ## $a0 = 00000164
/* 00760 809AE680 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 00764 809AE684 3C064080 */ lui $a2, 0x4080 ## $a2 = 40800000
/* 00768 809AE688 8FA40018 */ lw $a0, 0x0018($sp)
/* 0076C 809AE68C 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 00770 809AE690 240E0007 */ addiu $t6, $zero, 0x0007 ## $t6 = 00000007
/* 00774 809AE694 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001
/* 00778 809AE698 3C05809B */ lui $a1, %hi(func_809AEC1C) ## $a1 = 809B0000
/* 0077C 809AE69C 24A5EC1C */ addiu $a1, $a1, %lo(func_809AEC1C) ## $a1 = 809AEC1C
/* 00780 809AE6A0 AC8E01A8 */ sw $t6, 0x01A8($a0) ## 000001A8
/* 00784 809AE6A4 A48F0258 */ sh $t7, 0x0258($a0) ## 00000258
/* 00788 809AE6A8 0C26B7C8 */ jal func_809ADF20
/* 0078C 809AE6AC E4840068 */ swc1 $f4, 0x0068($a0) ## 00000068
/* 00790 809AE6B0 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00794 809AE6B4 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00798 809AE6B8 03E00008 */ jr $ra
/* 0079C 809AE6BC 00000000 */ nop

View file

@ -1,24 +0,0 @@
glabel func_809AE6C0
/* 007A0 809AE6C0 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 007A4 809AE6C4 AFBF0014 */ sw $ra, 0x0014($sp)
/* 007A8 809AE6C8 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
/* 007AC 809AE6CC 3C050600 */ lui $a1, %hi(D_06000238) ## $a1 = 06000000
/* 007B0 809AE6D0 24A50238 */ addiu $a1, $a1, %lo(D_06000238) ## $a1 = 06000238
/* 007B4 809AE6D4 AFA70018 */ sw $a3, 0x0018($sp)
/* 007B8 809AE6D8 24840164 */ addiu $a0, $a0, 0x0164 ## $a0 = 00000164
/* 007BC 809AE6DC 0C0294E1 */ jal Animation_PlayLoopSetSpeed
/* 007C0 809AE6E0 3C064080 */ lui $a2, 0x4080 ## $a2 = 40800000
/* 007C4 809AE6E4 8FA40018 */ lw $a0, 0x0018($sp)
/* 007C8 809AE6E8 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 007CC 809AE6EC 240E0007 */ addiu $t6, $zero, 0x0007 ## $t6 = 00000007
/* 007D0 809AE6F0 848F00B6 */ lh $t7, 0x00B6($a0) ## 000000B6
/* 007D4 809AE6F4 3C05809B */ lui $a1, %hi(func_809AEB14) ## $a1 = 809B0000
/* 007D8 809AE6F8 24A5EB14 */ addiu $a1, $a1, %lo(func_809AEB14) ## $a1 = 809AEB14
/* 007DC 809AE6FC AC8E01A8 */ sw $t6, 0x01A8($a0) ## 000001A8
/* 007E0 809AE700 E4840068 */ swc1 $f4, 0x0068($a0) ## 00000068
/* 007E4 809AE704 0C26B7C8 */ jal func_809ADF20
/* 007E8 809AE708 A48F0032 */ sh $t7, 0x0032($a0) ## 00000032
/* 007EC 809AE70C 8FBF0014 */ lw $ra, 0x0014($sp)
/* 007F0 809AE710 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 007F4 809AE714 03E00008 */ jr $ra
/* 007F8 809AE718 00000000 */ nop

View file

@ -1,59 +0,0 @@
glabel func_809AE71C
/* 007FC 809AE71C 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 00800 809AE720 AFB00028 */ sw $s0, 0x0028($sp)
/* 00804 809AE724 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00808 809AE728 AFBF002C */ sw $ra, 0x002C($sp)
/* 0080C 809AE72C 3C040600 */ lui $a0, %hi(D_06005B3C) ## $a0 = 06000000
/* 00810 809AE730 AFA50034 */ sw $a1, 0x0034($sp)
/* 00814 809AE734 0C028800 */ jal Animation_GetLastFrame
/* 00818 809AE738 24845B3C */ addiu $a0, $a0, %lo(D_06005B3C) ## $a0 = 06005B3C
/* 0081C 809AE73C 44822000 */ mtc1 $v0, $f4 ## $f4 = 0.00
/* 00820 809AE740 3C0140C0 */ lui $at, 0x40C0 ## $at = 40C00000
/* 00824 809AE744 44814000 */ mtc1 $at, $f8 ## $f8 = 6.00
/* 00828 809AE748 468021A0 */ cvt.s.w $f6, $f4
/* 0082C 809AE74C 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
/* 00830 809AE750 3C050600 */ lui $a1, %hi(D_06005B3C) ## $a1 = 06000000
/* 00834 809AE754 240E0002 */ addiu $t6, $zero, 0x0002 ## $t6 = 00000002
/* 00838 809AE758 AFAE0014 */ sw $t6, 0x0014($sp)
/* 0083C 809AE75C 24A55B3C */ addiu $a1, $a1, %lo(D_06005B3C) ## $a1 = 06005B3C
/* 00840 809AE760 46083281 */ sub.s $f10, $f6, $f8
/* 00844 809AE764 26040164 */ addiu $a0, $s0, 0x0164 ## $a0 = 00000164
/* 00848 809AE768 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 0084C 809AE76C 3C074080 */ lui $a3, 0x4080 ## $a3 = 40800000
/* 00850 809AE770 E7AA0010 */ swc1 $f10, 0x0010($sp)
/* 00854 809AE774 0C029468 */ jal Animation_Change
/* 00858 809AE778 E7B00018 */ swc1 $f16, 0x0018($sp)
/* 0085C 809AE77C 8618008A */ lh $t8, 0x008A($s0) ## 0000008A
/* 00860 809AE780 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001
/* 00864 809AE784 AE0F01A8 */ sw $t7, 0x01A8($s0) ## 000001A8
/* 00868 809AE788 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0086C 809AE78C 24053847 */ addiu $a1, $zero, 0x3847 ## $a1 = 00003847
/* 00870 809AE790 0C00BE0A */ jal Audio_PlayActorSound2
/* 00874 809AE794 A6180032 */ sh $t8, 0x0032($s0) ## 00000032
/* 00878 809AE798 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0087C 809AE79C 8FA50034 */ lw $a1, 0x0034($sp)
/* 00880 809AE7A0 3C06C0C0 */ lui $a2, 0xC0C0 ## $a2 = C0C00000
/* 00884 809AE7A4 0C26B7CA */ jal func_809ADF28
/* 00888 809AE7A8 86070032 */ lh $a3, 0x0032($s0) ## 00000032
/* 0088C 809AE7AC 10400005 */ beq $v0, $zero, .L809AE7C4
/* 00890 809AE7B0 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00894 809AE7B4 3C01C0C0 */ lui $at, 0xC0C0 ## $at = C0C00000
/* 00898 809AE7B8 44819000 */ mtc1 $at, $f18 ## $f18 = -6.00
/* 0089C 809AE7BC 00000000 */ nop
/* 008A0 809AE7C0 E6120068 */ swc1 $f18, 0x0068($s0) ## 00000068
.L809AE7C4:
/* 008A4 809AE7C4 A2000114 */ sb $zero, 0x0114($s0) ## 00000114
/* 008A8 809AE7C8 0C00CB1F */ jal func_80032C7C
/* 008AC 809AE7CC 8FA40034 */ lw $a0, 0x0034($sp)
/* 008B0 809AE7D0 3C05809B */ lui $a1, %hi(func_809AEF00) ## $a1 = 809B0000
/* 008B4 809AE7D4 24A5EF00 */ addiu $a1, $a1, %lo(func_809AEF00) ## $a1 = 809AEF00
/* 008B8 809AE7D8 0C26B7C8 */ jal func_809ADF20
/* 008BC 809AE7DC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 008C0 809AE7E0 8FBF002C */ lw $ra, 0x002C($sp)
/* 008C4 809AE7E4 8FB00028 */ lw $s0, 0x0028($sp)
/* 008C8 809AE7E8 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 008CC 809AE7EC 03E00008 */ jr $ra
/* 008D0 809AE7F0 00000000 */ nop

View file

@ -1,48 +0,0 @@
glabel func_809AE7F4
/* 008D4 809AE7F4 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 008D8 809AE7F8 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 008DC 809AE7FC 3C014100 */ lui $at, 0x4100 ## $at = 41000000
/* 008E0 809AE800 44812000 */ mtc1 $at, $f4 ## $f4 = 8.00
/* 008E4 809AE804 AFB00028 */ sw $s0, 0x0028($sp)
/* 008E8 809AE808 AFA50034 */ sw $a1, 0x0034($sp)
/* 008EC 809AE80C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 008F0 809AE810 AFBF002C */ sw $ra, 0x002C($sp)
/* 008F4 809AE814 3C050600 */ lui $a1, %hi(D_0600033C) ## $a1 = 06000000
/* 008F8 809AE818 240E0002 */ addiu $t6, $zero, 0x0002 ## $t6 = 00000002
/* 008FC 809AE81C 44070000 */ mfc1 $a3, $f0
/* 00900 809AE820 AFAE0014 */ sw $t6, 0x0014($sp)
/* 00904 809AE824 24A5033C */ addiu $a1, $a1, %lo(D_0600033C) ## $a1 = 0600033C
/* 00908 809AE828 24840164 */ addiu $a0, $a0, 0x0164 ## $a0 = 00000164
/* 0090C 809AE82C 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00910 809AE830 E7A00018 */ swc1 $f0, 0x0018($sp)
/* 00914 809AE834 0C029468 */ jal Animation_Change
/* 00918 809AE838 E7A40010 */ swc1 $f4, 0x0010($sp)
/* 0091C 809AE83C 860F008A */ lh $t7, 0x008A($s0) ## 0000008A
/* 00920 809AE840 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00924 809AE844 3C06C0C0 */ lui $a2, 0xC0C0 ## $a2 = C0C00000
/* 00928 809AE848 A60F0032 */ sh $t7, 0x0032($s0) ## 00000032
/* 0092C 809AE84C 86070032 */ lh $a3, 0x0032($s0) ## 00000032
/* 00930 809AE850 0C26B7CA */ jal func_809ADF28
/* 00934 809AE854 8FA50034 */ lw $a1, 0x0034($sp)
/* 00938 809AE858 10400005 */ beq $v0, $zero, .L809AE870
/* 0093C 809AE85C 24180005 */ addiu $t8, $zero, 0x0005 ## $t8 = 00000005
/* 00940 809AE860 3C01C0C0 */ lui $at, 0xC0C0 ## $at = C0C00000
/* 00944 809AE864 44813000 */ mtc1 $at, $f6 ## $f6 = -6.00
/* 00948 809AE868 00000000 */ nop
/* 0094C 809AE86C E6060068 */ swc1 $f6, 0x0068($s0) ## 00000068
.L809AE870:
/* 00950 809AE870 24190008 */ addiu $t9, $zero, 0x0008 ## $t9 = 00000008
/* 00954 809AE874 3C05809B */ lui $a1, %hi(func_809AF718) ## $a1 = 809B0000
/* 00958 809AE878 A6000264 */ sh $zero, 0x0264($s0) ## 00000264
/* 0095C 809AE87C A6000258 */ sh $zero, 0x0258($s0) ## 00000258
/* 00960 809AE880 A618025A */ sh $t8, 0x025A($s0) ## 0000025A
/* 00964 809AE884 AE1901A8 */ sw $t9, 0x01A8($s0) ## 000001A8
/* 00968 809AE888 24A5F718 */ addiu $a1, $a1, %lo(func_809AF718) ## $a1 = 809AF718
/* 0096C 809AE88C 0C26B7C8 */ jal func_809ADF20
/* 00970 809AE890 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00974 809AE894 8FBF002C */ lw $ra, 0x002C($sp)
/* 00978 809AE898 8FB00028 */ lw $s0, 0x0028($sp)
/* 0097C 809AE89C 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 00980 809AE8A0 03E00008 */ jr $ra
/* 00984 809AE8A4 00000000 */ nop

View file

@ -1,176 +0,0 @@
glabel func_809AE8A8
/* 00988 809AE8A8 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
/* 0098C 809AE8AC AFBF0024 */ sw $ra, 0x0024($sp)
/* 00990 809AE8B0 AFB00020 */ sw $s0, 0x0020($sp)
/* 00994 809AE8B4 848E0258 */ lh $t6, 0x0258($a0) ## 00000258
/* 00998 809AE8B8 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 0099C 809AE8BC 8CA21C44 */ lw $v0, 0x1C44($a1) ## 00001C44
/* 009A0 809AE8C0 55C0000D */ bnel $t6, $zero, .L809AE8F8
/* 009A4 809AE8C4 920A0285 */ lbu $t2, 0x0285($s0) ## 00000285
/* 009A8 809AE8C8 908F0286 */ lbu $t7, 0x0286($a0) ## 00000286
/* 009AC 809AE8CC 31F80002 */ andi $t8, $t7, 0x0002 ## $t8 = 00000000
/* 009B0 809AE8D0 53000005 */ beql $t8, $zero, .L809AE8E8
/* 009B4 809AE8D4 92080285 */ lbu $t0, 0x0285($s0) ## 00000285
/* 009B8 809AE8D8 8C990280 */ lw $t9, 0x0280($a0) ## 00000280
/* 009BC 809AE8DC 50590006 */ beql $v0, $t9, .L809AE8F8
/* 009C0 809AE8E0 920A0285 */ lbu $t2, 0x0285($s0) ## 00000285
/* 009C4 809AE8E4 92080285 */ lbu $t0, 0x0285($s0) ## 00000285
.L809AE8E8:
/* 009C8 809AE8E8 31090002 */ andi $t1, $t0, 0x0002 ## $t1 = 00000000
/* 009CC 809AE8EC 51200043 */ beql $t1, $zero, .L809AE9FC
/* 009D0 809AE8F0 92020266 */ lbu $v0, 0x0266($s0) ## 00000266
/* 009D4 809AE8F4 920A0285 */ lbu $t2, 0x0285($s0) ## 00000285
.L809AE8F8:
/* 009D8 809AE8F8 92020266 */ lbu $v0, 0x0266($s0) ## 00000266
/* 009DC 809AE8FC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 009E0 809AE900 314BFFFD */ andi $t3, $t2, 0xFFFD ## $t3 = 00000000
/* 009E4 809AE904 1440000E */ bne $v0, $zero, .L809AE940
/* 009E8 809AE908 A20B0285 */ sb $t3, 0x0285($s0) ## 00000285
/* 009EC 809AE90C 0C00BE0A */ jal Audio_PlayActorSound2
/* 009F0 809AE910 24053845 */ addiu $a1, $zero, 0x3845 ## $a1 = 00003845
/* 009F4 809AE914 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 009F8 809AE918 0C00BE0A */ jal Audio_PlayActorSound2
/* 009FC 809AE91C 24053848 */ addiu $a1, $zero, 0x3848 ## $a1 = 00003848
/* 00A00 809AE920 240C0008 */ addiu $t4, $zero, 0x0008 ## $t4 = 00000008
/* 00A04 809AE924 AFAC0010 */ sw $t4, 0x0010($sp)
/* 00A08 809AE928 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00A0C 809AE92C 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 00A10 809AE930 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 00A14 809AE934 0C00D09B */ jal func_8003426C
/* 00A18 809AE938 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00A1C 809AE93C 92020266 */ lbu $v0, 0x0266($s0) ## 00000266
.L809AE940:
/* 00A20 809AE940 284100F0 */ slti $at, $v0, 0x00F0
/* 00A24 809AE944 1420000D */ bne $at, $zero, .L809AE97C
/* 00A28 809AE948 240D00C8 */ addiu $t5, $zero, 0x00C8 ## $t5 = 000000C8
/* 00A2C 809AE94C 8E0F0004 */ lw $t7, 0x0004($s0) ## 00000004
/* 00A30 809AE950 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 00A34 809AE954 240E00FF */ addiu $t6, $zero, 0x00FF ## $t6 = 000000FF
/* 00A38 809AE958 35F80001 */ ori $t8, $t7, 0x0001 ## $t8 = 00000001
/* 00A3C 809AE95C A60D025C */ sh $t5, 0x025C($s0) ## 0000025C
/* 00A40 809AE960 A20E0266 */ sb $t6, 0x0266($s0) ## 00000266
/* 00A44 809AE964 AE180004 */ sw $t8, 0x0004($s0) ## 00000004
/* 00A48 809AE968 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00A4C 809AE96C 0C26B94E */ jal func_809AE538
/* 00A50 809AE970 E60200BC */ swc1 $f2, 0x00BC($s0) ## 000000BC
/* 00A54 809AE974 10000063 */ beq $zero, $zero, .L809AEB04
/* 00A58 809AE978 8FBF0024 */ lw $ra, 0x0024($sp)
.L809AE97C:
/* 00A5C 809AE97C 0C03F66B */ jal Rand_ZeroOne
## Rand.Next() float
/* 00A60 809AE980 00000000 */ nop
/* 00A64 809AE984 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
/* 00A68 809AE988 44812000 */ mtc1 $at, $f4 ## $f4 = 0.50
/* 00A6C 809AE98C 3C014120 */ lui $at, 0x4120 ## $at = 41200000
/* 00A70 809AE990 44814000 */ mtc1 $at, $f8 ## $f8 = 10.00
/* 00A74 809AE994 46040181 */ sub.s $f6, $f0, $f4
/* 00A78 809AE998 46083282 */ mul.s $f10, $f6, $f8
/* 00A7C 809AE99C E7AA002C */ swc1 $f10, 0x002C($sp)
/* 00A80 809AE9A0 0C01DE0D */ jal Math_CosS
## coss?
/* 00A84 809AE9A4 860400B6 */ lh $a0, 0x00B6($s0) ## 000000B6
/* 00A88 809AE9A8 C7B0002C */ lwc1 $f16, 0x002C($sp)
/* 00A8C 809AE9AC 46100482 */ mul.s $f18, $f0, $f16
/* 00A90 809AE9B0 E7B20034 */ swc1 $f18, 0x0034($sp)
/* 00A94 809AE9B4 0C01DE1C */ jal Math_SinS
## sins?
/* 00A98 809AE9B8 860400B6 */ lh $a0, 0x00B6($s0) ## 000000B6
/* 00A9C 809AE9BC C6040268 */ lwc1 $f4, 0x0268($s0) ## 00000268
/* 00AA0 809AE9C0 C7A60034 */ lwc1 $f6, 0x0034($sp)
/* 00AA4 809AE9C4 C60A0270 */ lwc1 $f10, 0x0270($s0) ## 00000270
/* 00AA8 809AE9C8 92190266 */ lbu $t9, 0x0266($s0) ## 00000266
/* 00AAC 809AE9CC 46062200 */ add.s $f8, $f4, $f6
/* 00AB0 809AE9D0 24090001 */ addiu $t1, $zero, 0x0001 ## $t1 = 00000001
/* 00AB4 809AE9D4 27280014 */ addiu $t0, $t9, 0x0014 ## $t0 = 00000014
/* 00AB8 809AE9D8 E6080024 */ swc1 $f8, 0x0024($s0) ## 00000024
/* 00ABC 809AE9DC C7B0002C */ lwc1 $f16, 0x002C($sp)
/* 00AC0 809AE9E0 A2080266 */ sb $t0, 0x0266($s0) ## 00000266
/* 00AC4 809AE9E4 A6090258 */ sh $t1, 0x0258($s0) ## 00000258
/* 00AC8 809AE9E8 46100482 */ mul.s $f18, $f0, $f16
/* 00ACC 809AE9EC 46125100 */ add.s $f4, $f10, $f18
/* 00AD0 809AE9F0 10000043 */ beq $zero, $zero, .L809AEB00
/* 00AD4 809AE9F4 E604002C */ swc1 $f4, 0x002C($s0) ## 0000002C
/* 00AD8 809AE9F8 92020266 */ lbu $v0, 0x0266($s0) ## 00000266
.L809AE9FC:
/* 00ADC 809AE9FC 2841000B */ slti $at, $v0, 0x000B
/* 00AE0 809AEA00 14200003 */ bne $at, $zero, .L809AEA10
/* 00AE4 809AEA04 244AFFF6 */ addiu $t2, $v0, 0xFFF6 ## $t2 = FFFFFFF6
/* 00AE8 809AEA08 1000003D */ beq $zero, $zero, .L809AEB00
/* 00AEC 809AEA0C A20A0266 */ sb $t2, 0x0266($s0) ## 00000266
.L809AEA10:
/* 00AF0 809AEA10 8E0B0004 */ lw $t3, 0x0004($s0) ## 00000004
/* 00AF4 809AEA14 8E0D014C */ lw $t5, 0x014C($s0) ## 0000014C
/* 00AF8 809AEA18 2401FFFE */ addiu $at, $zero, 0xFFFE ## $at = FFFFFFFE
/* 00AFC 809AEA1C 01616024 */ and $t4, $t3, $at
/* 00B00 809AEA20 A2000266 */ sb $zero, 0x0266($s0) ## 00000266
/* 00B04 809AEA24 05A10002 */ bgez $t5, .L809AEA30
/* 00B08 809AEA28 AE0C0004 */ sw $t4, 0x0004($s0) ## 00000004
/* 00B0C 809AEA2C A6000264 */ sh $zero, 0x0264($s0) ## 00000264
.L809AEA30:
/* 00B10 809AEA30 C6060068 */ lwc1 $f6, 0x0068($s0) ## 00000068
/* 00B14 809AEA34 C6080150 */ lwc1 $f8, 0x0150($s0) ## 00000150
/* 00B18 809AEA38 3C01C020 */ lui $at, 0xC020 ## $at = C0200000
/* 00B1C 809AEA3C 44811000 */ mtc1 $at, $f2 ## $f2 = -2.50
/* 00B20 809AEA40 46083400 */ add.s $f16, $f6, $f8
/* 00B24 809AEA44 8E0F0024 */ lw $t7, 0x0024($s0) ## 00000024
/* 00B28 809AEA48 8E0E0028 */ lw $t6, 0x0028($s0) ## 00000028
/* 00B2C 809AEA4C 86180158 */ lh $t8, 0x0158($s0) ## 00000158
/* 00B30 809AEA50 E6100068 */ swc1 $f16, 0x0068($s0) ## 00000068
/* 00B34 809AEA54 C6000068 */ lwc1 $f0, 0x0068($s0) ## 00000068
/* 00B38 809AEA58 AE0F0268 */ sw $t7, 0x0268($s0) ## 00000268
/* 00B3C 809AEA5C 8E0F002C */ lw $t7, 0x002C($s0) ## 0000002C
/* 00B40 809AEA60 4602003C */ c.lt.s $f0, $f2
/* 00B44 809AEA64 3C014020 */ lui $at, 0x4020 ## $at = 40200000
/* 00B48 809AEA68 AE0E026C */ sw $t6, 0x026C($s0) ## 0000026C
/* 00B4C 809AEA6C A6180032 */ sh $t8, 0x0032($s0) ## 00000032
/* 00B50 809AEA70 45000003 */ bc1f .L809AEA80
/* 00B54 809AEA74 AE0F0270 */ sw $t7, 0x0270($s0) ## 00000270
/* 00B58 809AEA78 1000000B */ beq $zero, $zero, .L809AEAA8
/* 00B5C 809AEA7C E6020068 */ swc1 $f2, 0x0068($s0) ## 00000068
.L809AEA80:
/* 00B60 809AEA80 44816000 */ mtc1 $at, $f12 ## $f12 = 2.50
/* 00B64 809AEA84 00000000 */ nop
/* 00B68 809AEA88 4600603C */ c.lt.s $f12, $f0
/* 00B6C 809AEA8C 00000000 */ nop
/* 00B70 809AEA90 45020004 */ bc1fl .L809AEAA4
/* 00B74 809AEA94 46000086 */ mov.s $f2, $f0
/* 00B78 809AEA98 10000002 */ beq $zero, $zero, .L809AEAA4
/* 00B7C 809AEA9C 46006086 */ mov.s $f2, $f12
/* 00B80 809AEAA0 46000086 */ mov.s $f2, $f0
.L809AEAA4:
/* 00B84 809AEAA4 E6020068 */ swc1 $f2, 0x0068($s0) ## 00000068
.L809AEAA8:
/* 00B88 809AEAA8 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
/* 00B8C 809AEAAC 44810000 */ mtc1 $at, $f0 ## $f0 = 1.00
/* 00B90 809AEAB0 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 00B94 809AEAB4 26040068 */ addiu $a0, $s0, 0x0068 ## $a0 = 00000068
/* 00B98 809AEAB8 44060000 */ mfc1 $a2, $f0
/* 00B9C 809AEABC 44070000 */ mfc1 $a3, $f0
/* 00BA0 809AEAC0 44051000 */ mfc1 $a1, $f2
/* 00BA4 809AEAC4 0C01E0C4 */ jal Math_SmoothStepToF
/* 00BA8 809AEAC8 E7A20010 */ swc1 $f2, 0x0010($sp)
/* 00BAC 809AEACC 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 00BB0 809AEAD0 C60A0068 */ lwc1 $f10, 0x0068($s0) ## 00000068
/* 00BB4 809AEAD4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00BB8 809AEAD8 460A1032 */ c.eq.s $f2, $f10
/* 00BBC 809AEADC 00000000 */ nop
/* 00BC0 809AEAE0 45030006 */ bc1tl .L809AEAFC
/* 00BC4 809AEAE4 E6020154 */ swc1 $f2, 0x0154($s0) ## 00000154
/* 00BC8 809AEAE8 0C00BE0A */ jal Audio_PlayActorSound2
/* 00BCC 809AEAEC 2405200A */ addiu $a1, $zero, 0x200A ## $a1 = 0000200A
/* 00BD0 809AEAF0 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 00BD4 809AEAF4 00000000 */ nop
/* 00BD8 809AEAF8 E6020154 */ swc1 $f2, 0x0154($s0) ## 00000154
.L809AEAFC:
/* 00BDC 809AEAFC E6020150 */ swc1 $f2, 0x0150($s0) ## 00000150
.L809AEB00:
/* 00BE0 809AEB00 8FBF0024 */ lw $ra, 0x0024($sp)
.L809AEB04:
/* 00BE4 809AEB04 8FB00020 */ lw $s0, 0x0020($sp)
/* 00BE8 809AEB08 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
/* 00BEC 809AEB0C 03E00008 */ jr $ra
/* 00BF0 809AEB10 00000000 */ nop

View file

@ -1,75 +0,0 @@
glabel func_809AEB14
/* 00BF4 809AEB14 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 00BF8 809AEB18 AFB00020 */ sw $s0, 0x0020($sp)
/* 00BFC 809AEB1C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00C00 809AEB20 AFBF0024 */ sw $ra, 0x0024($sp)
/* 00C04 809AEB24 AFA50034 */ sw $a1, 0x0034($sp)
/* 00C08 809AEB28 26050008 */ addiu $a1, $s0, 0x0008 ## $a1 = 00000008
/* 00C0C 809AEB2C 0C01E01A */ jal Math_Vec3f_Yaw
/* 00C10 809AEB30 24840024 */ addiu $a0, $a0, 0x0024 ## $a0 = 00000024
/* 00C14 809AEB34 A7A2002E */ sh $v0, 0x002E($sp)
/* 00C18 809AEB38 3C014100 */ lui $at, 0x4100 ## $at = 41000000
/* 00C1C 809AEB3C 44812000 */ mtc1 $at, $f4 ## $f4 = 8.00
/* 00C20 809AEB40 C600017C */ lwc1 $f0, 0x017C($s0) ## 0000017C
/* 00C24 809AEB44 87A5002E */ lh $a1, 0x002E($sp)
/* 00C28 809AEB48 26040032 */ addiu $a0, $s0, 0x0032 ## $a0 = 00000032
/* 00C2C 809AEB4C 46002032 */ c.eq.s $f4, $f0
/* 00C30 809AEB50 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 00C34 809AEB54 24071F40 */ addiu $a3, $zero, 0x1F40 ## $a3 = 00001F40
/* 00C38 809AEB58 3C014130 */ lui $at, 0x4130 ## $at = 41300000
/* 00C3C 809AEB5C 45020008 */ bc1fl .L809AEB80
/* 00C40 809AEB60 44814000 */ mtc1 $at, $f8 ## $f8 = 11.00
/* 00C44 809AEB64 0C01E1A7 */ jal Math_SmoothStepToS
/* 00C48 809AEB68 AFA00010 */ sw $zero, 0x0010($sp)
/* 00C4C 809AEB6C 3C014140 */ lui $at, 0x4140 ## $at = 41400000
/* 00C50 809AEB70 44813000 */ mtc1 $at, $f6 ## $f6 = 12.00
/* 00C54 809AEB74 1000001B */ beq $zero, $zero, .L809AEBE4
/* 00C58 809AEB78 E6060060 */ swc1 $f6, 0x0060($s0) ## 00000060
/* 00C5C 809AEB7C 44814000 */ mtc1 $at, $f8 ## $f8 = 12.00
.L809AEB80:
/* 00C60 809AEB80 00000000 */ nop
/* 00C64 809AEB84 4600403C */ c.lt.s $f8, $f0
/* 00C68 809AEB88 00000000 */ nop
/* 00C6C 809AEB8C 45000015 */ bc1f .L809AEBE4
/* 00C70 809AEB90 00000000 */ nop
/* 00C74 809AEB94 960E0088 */ lhu $t6, 0x0088($s0) ## 00000088
/* 00C78 809AEB98 3C014130 */ lui $at, 0x4130 ## $at = 41300000
/* 00C7C 809AEB9C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00C80 809AEBA0 31CF0001 */ andi $t7, $t6, 0x0001 ## $t7 = 00000000
/* 00C84 809AEBA4 15E00004 */ bne $t7, $zero, .L809AEBB8
/* 00C88 809AEBA8 00000000 */ nop
/* 00C8C 809AEBAC 44815000 */ mtc1 $at, $f10 ## $f10 = 11.00
/* 00C90 809AEBB0 1000000C */ beq $zero, $zero, .L809AEBE4
/* 00C94 809AEBB4 E60A017C */ swc1 $f10, 0x017C($s0) ## 0000017C
.L809AEBB8:
/* 00C98 809AEBB8 0C26B89C */ jal func_809AE270
/* 00C9C 809AEBBC 8FA50034 */ lw $a1, 0x0034($sp)
/* 00CA0 809AEBC0 87B8002E */ lh $t8, 0x002E($sp)
/* 00CA4 809AEBC4 86190032 */ lh $t9, 0x0032($s0) ## 00000032
/* 00CA8 809AEBC8 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
/* 00CAC 809AEBCC 57190003 */ bnel $t8, $t9, .L809AEBDC
/* 00CB0 809AEBD0 C6120080 */ lwc1 $f18, 0x0080($s0) ## 00000080
/* 00CB4 809AEBD4 A6000258 */ sh $zero, 0x0258($s0) ## 00000258
/* 00CB8 809AEBD8 C6120080 */ lwc1 $f18, 0x0080($s0) ## 00000080
.L809AEBDC:
/* 00CBC 809AEBDC E6100060 */ swc1 $f16, 0x0060($s0) ## 00000060
/* 00CC0 809AEBE0 E6120028 */ swc1 $f18, 0x0028($s0) ## 00000028
.L809AEBE4:
/* 00CC4 809AEBE4 0C02927F */ jal SkelAnime_Update
/* 00CC8 809AEBE8 26040164 */ addiu $a0, $s0, 0x0164 ## $a0 = 00000164
/* 00CCC 809AEBEC 86080258 */ lh $t0, 0x0258($s0) ## 00000258
/* 00CD0 809AEBF0 55000004 */ bnel $t0, $zero, .L809AEC04
/* 00CD4 809AEBF4 86090032 */ lh $t1, 0x0032($s0) ## 00000032
/* 00CD8 809AEBF8 0C26B982 */ jal func_809AE608
/* 00CDC 809AEBFC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00CE0 809AEC00 86090032 */ lh $t1, 0x0032($s0) ## 00000032
.L809AEC04:
/* 00CE4 809AEC04 A60900B6 */ sh $t1, 0x00B6($s0) ## 000000B6
/* 00CE8 809AEC08 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00CEC 809AEC0C 8FB00020 */ lw $s0, 0x0020($sp)
/* 00CF0 809AEC10 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 00CF4 809AEC14 03E00008 */ jr $ra
/* 00CF8 809AEC18 00000000 */ nop

View file

@ -1,105 +0,0 @@
glabel func_809AEC1C
/* 00CFC 809AEC1C 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 00D00 809AEC20 AFBF0024 */ sw $ra, 0x0024($sp)
/* 00D04 809AEC24 AFB00020 */ sw $s0, 0x0020($sp)
/* 00D08 809AEC28 3C014100 */ lui $at, 0x4100 ## $at = 41000000
/* 00D0C 809AEC2C 44812000 */ mtc1 $at, $f4 ## $f4 = 8.00
/* 00D10 809AEC30 C480017C */ lwc1 $f0, 0x017C($a0) ## 0000017C
/* 00D14 809AEC34 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00D18 809AEC38 3C014130 */ lui $at, 0x4130 ## $at = 41300000
/* 00D1C 809AEC3C 46002032 */ c.eq.s $f4, $f0
/* 00D20 809AEC40 00000000 */ nop
/* 00D24 809AEC44 45020019 */ bc1fl .L809AECAC
/* 00D28 809AEC48 44812000 */ mtc1 $at, $f4 ## $f4 = 11.00
/* 00D2C 809AEC4C C4860008 */ lwc1 $f6, 0x0008($a0) ## 00000008
/* 00D30 809AEC50 C4880024 */ lwc1 $f8, 0x0024($a0) ## 00000024
/* 00D34 809AEC54 46083032 */ c.eq.s $f6, $f8
/* 00D38 809AEC58 00000000 */ nop
/* 00D3C 809AEC5C 4502000D */ bc1fl .L809AEC94
/* 00D40 809AEC60 3C014140 */ lui $at, 0x4140 ## $at = 41400000
/* 00D44 809AEC64 C48A0010 */ lwc1 $f10, 0x0010($a0) ## 00000010
/* 00D48 809AEC68 C490002C */ lwc1 $f16, 0x002C($a0) ## 0000002C
/* 00D4C 809AEC6C 24840032 */ addiu $a0, $a0, 0x0032 ## $a0 = 00000032
/* 00D50 809AEC70 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 00D54 809AEC74 46105032 */ c.eq.s $f10, $f16
/* 00D58 809AEC78 24071F40 */ addiu $a3, $zero, 0x1F40 ## $a3 = 00001F40
/* 00D5C 809AEC7C 45020005 */ bc1fl .L809AEC94
/* 00D60 809AEC80 3C014140 */ lui $at, 0x4140 ## $at = 41400000
/* 00D64 809AEC84 86050016 */ lh $a1, 0x0016($s0) ## 00000016
/* 00D68 809AEC88 0C01E1A7 */ jal Math_SmoothStepToS
/* 00D6C 809AEC8C AFA00010 */ sw $zero, 0x0010($sp)
/* 00D70 809AEC90 3C014140 */ lui $at, 0x4140 ## $at = 41400000
.L809AEC94:
/* 00D74 809AEC94 44819000 */ mtc1 $at, $f18 ## $f18 = 12.00
/* 00D78 809AEC98 240E0002 */ addiu $t6, $zero, 0x0002 ## $t6 = 00000002
/* 00D7C 809AEC9C A60E0258 */ sh $t6, 0x0258($s0) ## 00000258
/* 00D80 809AECA0 1000001B */ beq $zero, $zero, .L809AED10
/* 00D84 809AECA4 E6120060 */ swc1 $f18, 0x0060($s0) ## 00000060
/* 00D88 809AECA8 44812000 */ mtc1 $at, $f4 ## $f4 = 12.00
.L809AECAC:
/* 00D8C 809AECAC 00000000 */ nop
/* 00D90 809AECB0 4600203C */ c.lt.s $f4, $f0
/* 00D94 809AECB4 00000000 */ nop
/* 00D98 809AECB8 45020016 */ bc1fl .L809AED14
/* 00D9C 809AECBC 860A0258 */ lh $t2, 0x0258($s0) ## 00000258
/* 00DA0 809AECC0 960F0088 */ lhu $t7, 0x0088($s0) ## 00000088
/* 00DA4 809AECC4 3C014130 */ lui $at, 0x4130 ## $at = 41300000
/* 00DA8 809AECC8 24190001 */ addiu $t9, $zero, 0x0001 ## $t9 = 00000001
/* 00DAC 809AECCC 31F80001 */ andi $t8, $t7, 0x0001 ## $t8 = 00000000
/* 00DB0 809AECD0 17000004 */ bne $t8, $zero, .L809AECE4
/* 00DB4 809AECD4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00DB8 809AECD8 44813000 */ mtc1 $at, $f6 ## $f6 = 11.00
/* 00DBC 809AECDC 1000000C */ beq $zero, $zero, .L809AED10
/* 00DC0 809AECE0 E606017C */ swc1 $f6, 0x017C($s0) ## 0000017C
.L809AECE4:
/* 00DC4 809AECE4 0C26B89C */ jal func_809AE270
/* 00DC8 809AECE8 A6190258 */ sh $t9, 0x0258($s0) ## 00000258
/* 00DCC 809AECEC 86080032 */ lh $t0, 0x0032($s0) ## 00000032
/* 00DD0 809AECF0 86090016 */ lh $t1, 0x0016($s0) ## 00000016
/* 00DD4 809AECF4 44804000 */ mtc1 $zero, $f8 ## $f8 = 0.00
/* 00DD8 809AECF8 55090003 */ bnel $t0, $t1, .L809AED08
/* 00DDC 809AECFC C60A0080 */ lwc1 $f10, 0x0080($s0) ## 00000080
/* 00DE0 809AED00 A6000258 */ sh $zero, 0x0258($s0) ## 00000258
/* 00DE4 809AED04 C60A0080 */ lwc1 $f10, 0x0080($s0) ## 00000080
.L809AED08:
/* 00DE8 809AED08 E6080060 */ swc1 $f8, 0x0060($s0) ## 00000060
/* 00DEC 809AED0C E60A0028 */ swc1 $f10, 0x0028($s0) ## 00000028
.L809AED10:
/* 00DF0 809AED10 860A0258 */ lh $t2, 0x0258($s0) ## 00000258
.L809AED14:
/* 00DF4 809AED14 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 00DF8 809AED18 26040024 */ addiu $a0, $s0, 0x0024 ## $a0 = 00000024
/* 00DFC 809AED1C 1541000D */ bne $t2, $at, .L809AED54
/* 00E00 809AED20 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00E04 809AED24 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
/* 00E08 809AED28 8E050008 */ lw $a1, 0x0008($s0) ## 00000008
/* 00E0C 809AED2C 3C074100 */ lui $a3, 0x4100 ## $a3 = 41000000
/* 00E10 809AED30 0C01E0C4 */ jal Math_SmoothStepToF
/* 00E14 809AED34 E7B00010 */ swc1 $f16, 0x0010($sp)
/* 00E18 809AED38 44809000 */ mtc1 $zero, $f18 ## $f18 = 0.00
/* 00E1C 809AED3C 8E050010 */ lw $a1, 0x0010($s0) ## 00000010
/* 00E20 809AED40 2604002C */ addiu $a0, $s0, 0x002C ## $a0 = 0000002C
/* 00E24 809AED44 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00E28 809AED48 3C074100 */ lui $a3, 0x4100 ## $a3 = 41000000
/* 00E2C 809AED4C 0C01E0C4 */ jal Math_SmoothStepToF
/* 00E30 809AED50 E7B20010 */ swc1 $f18, 0x0010($sp)
.L809AED54:
/* 00E34 809AED54 0C02927F */ jal SkelAnime_Update
/* 00E38 809AED58 26040164 */ addiu $a0, $s0, 0x0164 ## $a0 = 00000164
/* 00E3C 809AED5C 860B0258 */ lh $t3, 0x0258($s0) ## 00000258
/* 00E40 809AED60 55600004 */ bnel $t3, $zero, .L809AED74
/* 00E44 809AED64 860C0032 */ lh $t4, 0x0032($s0) ## 00000032
/* 00E48 809AED68 0C26B903 */ jal func_809AE40C
/* 00E4C 809AED6C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00E50 809AED70 860C0032 */ lh $t4, 0x0032($s0) ## 00000032
.L809AED74:
/* 00E54 809AED74 A60C00B6 */ sh $t4, 0x00B6($s0) ## 000000B6
/* 00E58 809AED78 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00E5C 809AED7C 8FB00020 */ lw $s0, 0x0020($sp)
/* 00E60 809AED80 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 00E64 809AED84 03E00008 */ jr $ra
/* 00E68 809AED88 00000000 */ nop

View file

@ -1,104 +0,0 @@
glabel func_809AED8C
/* 00E6C 809AED8C 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 00E70 809AED90 AFB00020 */ sw $s0, 0x0020($sp)
/* 00E74 809AED94 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00E78 809AED98 AFA50034 */ sw $a1, 0x0034($sp)
/* 00E7C 809AED9C AFBF0024 */ sw $ra, 0x0024($sp)
/* 00E80 809AEDA0 26050008 */ addiu $a1, $s0, 0x0008 ## $a1 = 00000008
/* 00E84 809AEDA4 AFA50028 */ sw $a1, 0x0028($sp)
/* 00E88 809AEDA8 0C01E01A */ jal Math_Vec3f_Yaw
/* 00E8C 809AEDAC 24840024 */ addiu $a0, $a0, 0x0024 ## $a0 = 00000024
/* 00E90 809AEDB0 3C014100 */ lui $at, 0x4100 ## $at = 41000000
/* 00E94 809AEDB4 44812000 */ mtc1 $at, $f4 ## $f4 = 8.00
/* 00E98 809AEDB8 C600017C */ lwc1 $f0, 0x017C($s0) ## 0000017C
/* 00E9C 809AEDBC 00022C00 */ sll $a1, $v0, 16
/* 00EA0 809AEDC0 00052C03 */ sra $a1, $a1, 16
/* 00EA4 809AEDC4 46002032 */ c.eq.s $f4, $f0
/* 00EA8 809AEDC8 3C014130 */ lui $at, 0x4130 ## $at = 41300000
/* 00EAC 809AEDCC 45020009 */ bc1fl .L809AEDF4
/* 00EB0 809AEDD0 44815000 */ mtc1 $at, $f10 ## $f10 = 11.00
/* 00EB4 809AEDD4 3C014140 */ lui $at, 0x4140 ## $at = 41400000
/* 00EB8 809AEDD8 44813000 */ mtc1 $at, $f6 ## $f6 = 12.00
/* 00EBC 809AEDDC 3C0140C0 */ lui $at, 0x40C0 ## $at = 40C00000
/* 00EC0 809AEDE0 44814000 */ mtc1 $at, $f8 ## $f8 = 6.00
/* 00EC4 809AEDE4 E6060060 */ swc1 $f6, 0x0060($s0) ## 00000060
/* 00EC8 809AEDE8 1000002E */ beq $zero, $zero, .L809AEEA4
/* 00ECC 809AEDEC E6080068 */ swc1 $f8, 0x0068($s0) ## 00000068
/* 00ED0 809AEDF0 44815000 */ mtc1 $at, $f10 ## $f10 = 6.00
.L809AEDF4:
/* 00ED4 809AEDF4 00000000 */ nop
/* 00ED8 809AEDF8 4600503C */ c.lt.s $f10, $f0
/* 00EDC 809AEDFC 00000000 */ nop
/* 00EE0 809AEE00 45020029 */ bc1fl .L809AEEA8
/* 00EE4 809AEE04 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
/* 00EE8 809AEE08 960E0088 */ lhu $t6, 0x0088($s0) ## 00000088
/* 00EEC 809AEE0C 26040032 */ addiu $a0, $s0, 0x0032 ## $a0 = 00000032
/* 00EF0 809AEE10 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 00EF4 809AEE14 31CF0001 */ andi $t7, $t6, 0x0001 ## $t7 = 00000000
/* 00EF8 809AEE18 15E00005 */ bne $t7, $zero, .L809AEE30
/* 00EFC 809AEE1C 24070BB8 */ addiu $a3, $zero, 0x0BB8 ## $a3 = 00000BB8
/* 00F00 809AEE20 3C014130 */ lui $at, 0x4130 ## $at = 41300000
/* 00F04 809AEE24 44818000 */ mtc1 $at, $f16 ## $f16 = 11.00
/* 00F08 809AEE28 1000001E */ beq $zero, $zero, .L809AEEA4
/* 00F0C 809AEE2C E610017C */ swc1 $f16, 0x017C($s0) ## 0000017C
.L809AEE30:
/* 00F10 809AEE30 0C01E1A7 */ jal Math_SmoothStepToS
/* 00F14 809AEE34 AFA00010 */ sw $zero, 0x0010($sp)
/* 00F18 809AEE38 96180088 */ lhu $t8, 0x0088($s0) ## 00000088
/* 00F1C 809AEE3C 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 00F20 809AEE40 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00F24 809AEE44 33190002 */ andi $t9, $t8, 0x0002 ## $t9 = 00000000
/* 00F28 809AEE48 53200005 */ beql $t9, $zero, .L809AEE60
/* 00F2C 809AEE4C C6120080 */ lwc1 $f18, 0x0080($s0) ## 00000080
/* 00F30 809AEE50 86080258 */ lh $t0, 0x0258($s0) ## 00000258
/* 00F34 809AEE54 2509FFFF */ addiu $t1, $t0, 0xFFFF ## $t1 = FFFFFFFF
/* 00F38 809AEE58 A6090258 */ sh $t1, 0x0258($s0) ## 00000258
/* 00F3C 809AEE5C C6120080 */ lwc1 $f18, 0x0080($s0) ## 00000080
.L809AEE60:
/* 00F40 809AEE60 E6000060 */ swc1 $f0, 0x0060($s0) ## 00000060
/* 00F44 809AEE64 E6000068 */ swc1 $f0, 0x0068($s0) ## 00000068
/* 00F48 809AEE68 E6120028 */ swc1 $f18, 0x0028($s0) ## 00000028
/* 00F4C 809AEE6C 0C26B89C */ jal func_809AE270
/* 00F50 809AEE70 8FA50034 */ lw $a1, 0x0034($sp)
/* 00F54 809AEE74 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00F58 809AEE78 0C00B6DB */ jal Actor_WorldDistXYZToPoint
/* 00F5C 809AEE7C 8FA50028 */ lw $a1, 0x0028($sp)
/* 00F60 809AEE80 3C0142A0 */ lui $at, 0x42A0 ## $at = 42A00000
/* 00F64 809AEE84 44812000 */ mtc1 $at, $f4 ## $f4 = 80.00
/* 00F68 809AEE88 00000000 */ nop
/* 00F6C 809AEE8C 4604003C */ c.lt.s $f0, $f4
/* 00F70 809AEE90 00000000 */ nop
/* 00F74 809AEE94 45020004 */ bc1fl .L809AEEA8
/* 00F78 809AEE98 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
/* 00F7C 809AEE9C 0C26B999 */ jal func_809AE664
/* 00F80 809AEEA0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L809AEEA4:
/* 00F84 809AEEA4 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
.L809AEEA8:
/* 00F88 809AEEA8 C6080068 */ lwc1 $f8, 0x0068($s0) ## 00000068
/* 00F8C 809AEEAC 46083032 */ c.eq.s $f6, $f8
/* 00F90 809AEEB0 00000000 */ nop
/* 00F94 809AEEB4 45010009 */ bc1t .L809AEEDC
/* 00F98 809AEEB8 00000000 */ nop
/* 00F9C 809AEEBC 960A0088 */ lhu $t2, 0x0088($s0) ## 00000088
/* 00FA0 809AEEC0 314B0008 */ andi $t3, $t2, 0x0008 ## $t3 = 00000000
/* 00FA4 809AEEC4 11600005 */ beq $t3, $zero, .L809AEEDC
/* 00FA8 809AEEC8 00000000 */ nop
/* 00FAC 809AEECC 860C007E */ lh $t4, 0x007E($s0) ## 0000007E
/* 00FB0 809AEED0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00FB4 809AEED4 0C00B638 */ jal Actor_MoveForward
/* 00FB8 809AEED8 A60C0032 */ sh $t4, 0x0032($s0) ## 00000032
.L809AEEDC:
/* 00FBC 809AEEDC 0C02927F */ jal SkelAnime_Update
/* 00FC0 809AEEE0 26040164 */ addiu $a0, $s0, 0x0164 ## $a0 = 00000164
/* 00FC4 809AEEE4 860D0032 */ lh $t5, 0x0032($s0) ## 00000032
/* 00FC8 809AEEE8 A60D00B6 */ sh $t5, 0x00B6($s0) ## 000000B6
/* 00FCC 809AEEEC 8FBF0024 */ lw $ra, 0x0024($sp)
/* 00FD0 809AEEF0 8FB00020 */ lw $s0, 0x0020($sp)
/* 00FD4 809AEEF4 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 00FD8 809AEEF8 03E00008 */ jr $ra
/* 00FDC 809AEEFC 00000000 */ nop

View file

@ -1,46 +0,0 @@
glabel func_809AEF00
/* 00FE0 809AEF00 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 00FE4 809AEF04 AFBF001C */ sw $ra, 0x001C($sp)
/* 00FE8 809AEF08 AFB00018 */ sw $s0, 0x0018($sp)
/* 00FEC 809AEF0C 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 00FF0 809AEF10 C4800068 */ lwc1 $f0, 0x0068($a0) ## 00000068
/* 00FF4 809AEF14 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00FF8 809AEF18 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
/* 00FFC 809AEF1C 4602003C */ c.lt.s $f0, $f2
/* 01000 809AEF20 3C06C100 */ lui $a2, 0xC100 ## $a2 = C1000000
/* 01004 809AEF24 45020006 */ bc1fl .L809AEF40
/* 01008 809AEF28 C6080060 */ lwc1 $f8, 0x0060($s0) ## 00000060
/* 0100C 809AEF2C 44812000 */ mtc1 $at, $f4 ## $f4 = 0.50
/* 01010 809AEF30 00000000 */ nop
/* 01014 809AEF34 46040180 */ add.s $f6, $f0, $f4
/* 01018 809AEF38 E4860068 */ swc1 $f6, 0x0068($a0) ## 00000068
/* 0101C 809AEF3C C6080060 */ lwc1 $f8, 0x0060($s0) ## 00000060
.L809AEF40:
/* 01020 809AEF40 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01024 809AEF44 4602403E */ c.le.s $f8, $f2
/* 01028 809AEF48 00000000 */ nop
/* 0102C 809AEF4C 45000007 */ bc1f .L809AEF6C
/* 01030 809AEF50 00000000 */ nop
/* 01034 809AEF54 0C26B7CA */ jal func_809ADF28
/* 01038 809AEF58 86070032 */ lh $a3, 0x0032($s0) ## 00000032
/* 0103C 809AEF5C 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 01040 809AEF60 14400002 */ bne $v0, $zero, .L809AEF6C
/* 01044 809AEF64 00000000 */ nop
/* 01048 809AEF68 E6020068 */ swc1 $f2, 0x0068($s0) ## 00000068
.L809AEF6C:
/* 0104C 809AEF6C 0C02927F */ jal SkelAnime_Update
/* 01050 809AEF70 26040164 */ addiu $a0, $s0, 0x0164 ## $a0 = 00000164
/* 01054 809AEF74 50400007 */ beql $v0, $zero, .L809AEF94
/* 01058 809AEF78 8FBF001C */ lw $ra, 0x001C($sp)
/* 0105C 809AEF7C 0C26B94E */ jal func_809AE538
/* 01060 809AEF80 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01064 809AEF84 240E0040 */ addiu $t6, $zero, 0x0040 ## $t6 = 00000040
/* 01068 809AEF88 A60E0260 */ sh $t6, 0x0260($s0) ## 00000260
/* 0106C 809AEF8C A6000262 */ sh $zero, 0x0262($s0) ## 00000262
/* 01070 809AEF90 8FBF001C */ lw $ra, 0x001C($sp)
.L809AEF94:
/* 01074 809AEF94 8FB00018 */ lw $s0, 0x0018($sp)
/* 01078 809AEF98 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 0107C 809AEF9C 03E00008 */ jr $ra
/* 01080 809AEFA0 00000000 */ nop

View file

@ -1,90 +0,0 @@
glabel func_809AEFA4
/* 01084 809AEFA4 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 01088 809AEFA8 AFBF0024 */ sw $ra, 0x0024($sp)
/* 0108C 809AEFAC AFB00020 */ sw $s0, 0x0020($sp)
/* 01090 809AEFB0 848E008A */ lh $t6, 0x008A($a0) ## 0000008A
/* 01094 809AEFB4 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01098 809AEFB8 3C014100 */ lui $at, 0x4100 ## $at = 41000000
/* 0109C 809AEFBC AFAE0028 */ sw $t6, 0x0028($sp)
/* 010A0 809AEFC0 84980032 */ lh $t8, 0x0032($a0) ## 00000032
/* 010A4 809AEFC4 01D81023 */ subu $v0, $t6, $t8
/* 010A8 809AEFC8 00021400 */ sll $v0, $v0, 16
/* 010AC 809AEFCC 00021403 */ sra $v0, $v0, 16
/* 010B0 809AEFD0 04430005 */ bgezl $v0, .L809AEFE8
/* 010B4 809AEFD4 8603025A */ lh $v1, 0x025A($s0) ## 0000025A
/* 010B8 809AEFD8 00021023 */ subu $v0, $zero, $v0
/* 010BC 809AEFDC 00021400 */ sll $v0, $v0, 16
/* 010C0 809AEFE0 00021403 */ sra $v0, $v0, 16
/* 010C4 809AEFE4 8603025A */ lh $v1, 0x025A($s0) ## 0000025A
.L809AEFE8:
/* 010C8 809AEFE8 10600003 */ beq $v1, $zero, .L809AEFF8
/* 010CC 809AEFEC 2479FFFF */ addiu $t9, $v1, 0xFFFF ## $t9 = FFFFFFFF
/* 010D0 809AEFF0 10000035 */ beq $zero, $zero, .L809AF0C8
/* 010D4 809AEFF4 A619025A */ sh $t9, 0x025A($s0) ## 0000025A
.L809AEFF8:
/* 010D8 809AEFF8 C600017C */ lwc1 $f0, 0x017C($s0) ## 0000017C
/* 010DC 809AEFFC 44812000 */ mtc1 $at, $f4 ## $f4 = 8.00
/* 010E0 809AF000 26040032 */ addiu $a0, $s0, 0x0032 ## $a0 = 00000032
/* 010E4 809AF004 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 010E8 809AF008 46002032 */ c.eq.s $f4, $f0
/* 010EC 809AF00C 24071F40 */ addiu $a3, $zero, 0x1F40 ## $a3 = 00001F40
/* 010F0 809AF010 3C014130 */ lui $at, 0x4130 ## $at = 41300000
/* 010F4 809AF014 45020009 */ bc1fl .L809AF03C
/* 010F8 809AF018 44814000 */ mtc1 $at, $f8 ## $f8 = 11.00
/* 010FC 809AF01C 87A5002A */ lh $a1, 0x002A($sp)
/* 01100 809AF020 0C01E1A7 */ jal Math_SmoothStepToS
/* 01104 809AF024 AFA00010 */ sw $zero, 0x0010($sp)
/* 01108 809AF028 3C014140 */ lui $at, 0x4140 ## $at = 41400000
/* 0110C 809AF02C 44813000 */ mtc1 $at, $f6 ## $f6 = 12.00
/* 01110 809AF030 10000019 */ beq $zero, $zero, .L809AF098
/* 01114 809AF034 E6060060 */ swc1 $f6, 0x0060($s0) ## 00000060
/* 01118 809AF038 44814000 */ mtc1 $at, $f8 ## $f8 = 12.00
.L809AF03C:
/* 0111C 809AF03C 00000000 */ nop
/* 01120 809AF040 4600403C */ c.lt.s $f8, $f0
/* 01124 809AF044 00000000 */ nop
/* 01128 809AF048 45000013 */ bc1f .L809AF098
/* 0112C 809AF04C 00000000 */ nop
/* 01130 809AF050 96080088 */ lhu $t0, 0x0088($s0) ## 00000088
/* 01134 809AF054 28410DAC */ slti $at, $v0, 0x0DAC
/* 01138 809AF058 31090001 */ andi $t1, $t0, 0x0001 ## $t1 = 00000000
/* 0113C 809AF05C 15200005 */ bne $t1, $zero, .L809AF074
/* 01140 809AF060 00000000 */ nop
/* 01144 809AF064 3C014130 */ lui $at, 0x4130 ## $at = 41300000
/* 01148 809AF068 44815000 */ mtc1 $at, $f10 ## $f10 = 11.00
/* 0114C 809AF06C 1000000A */ beq $zero, $zero, .L809AF098
/* 01150 809AF070 E60A017C */ swc1 $f10, 0x017C($s0) ## 0000017C
.L809AF074:
/* 01154 809AF074 50200003 */ beql $at, $zero, .L809AF084
/* 01158 809AF078 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
/* 0115C 809AF07C A6000258 */ sh $zero, 0x0258($s0) ## 00000258
/* 01160 809AF080 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
.L809AF084:
/* 01164 809AF084 C6120080 */ lwc1 $f18, 0x0080($s0) ## 00000080
/* 01168 809AF088 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0116C 809AF08C E6100060 */ swc1 $f16, 0x0060($s0) ## 00000060
/* 01170 809AF090 0C26B89C */ jal func_809AE270
/* 01174 809AF094 E6120028 */ swc1 $f18, 0x0028($s0) ## 00000028
.L809AF098:
/* 01178 809AF098 0C02927F */ jal SkelAnime_Update
/* 0117C 809AF09C 26040164 */ addiu $a0, $s0, 0x0164 ## $a0 = 00000164
/* 01180 809AF0A0 860A0258 */ lh $t2, 0x0258($s0) ## 00000258
/* 01184 809AF0A4 55400007 */ bnel $t2, $zero, .L809AF0C4
/* 01188 809AF0A8 860B0032 */ lh $t3, 0x0032($s0) ## 00000032
/* 0118C 809AF0AC 0C26B94E */ jal func_809AE538
/* 01190 809AF0B0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01194 809AF0B4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01198 809AF0B8 0C00BE0A */ jal Audio_PlayActorSound2
/* 0119C 809AF0BC 24053848 */ addiu $a1, $zero, 0x3848 ## $a1 = 00003848
/* 011A0 809AF0C0 860B0032 */ lh $t3, 0x0032($s0) ## 00000032
.L809AF0C4:
/* 011A4 809AF0C4 A60B00B6 */ sh $t3, 0x00B6($s0) ## 000000B6
.L809AF0C8:
/* 011A8 809AF0C8 8FBF0024 */ lw $ra, 0x0024($sp)
/* 011AC 809AF0CC 8FB00020 */ lw $s0, 0x0020($sp)
/* 011B0 809AF0D0 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 011B4 809AF0D4 03E00008 */ jr $ra
/* 011B8 809AF0D8 00000000 */ nop

View file

@ -1,157 +0,0 @@
glabel func_809AF0DC
/* 011BC 809AF0DC 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 011C0 809AF0E0 AFBF0024 */ sw $ra, 0x0024($sp)
/* 011C4 809AF0E4 AFB00020 */ sw $s0, 0x0020($sp)
/* 011C8 809AF0E8 AFA5002C */ sw $a1, 0x002C($sp)
/* 011CC 809AF0EC 848E0260 */ lh $t6, 0x0260($a0) ## 00000260
/* 011D0 809AF0F0 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 011D4 809AF0F4 29C10034 */ slti $at, $t6, 0x0034
/* 011D8 809AF0F8 1020007F */ beq $at, $zero, .L809AF2F8
/* 011DC 809AF0FC 3C014100 */ lui $at, 0x4100 ## $at = 41000000
/* 011E0 809AF100 44812000 */ mtc1 $at, $f4 ## $f4 = 8.00
/* 011E4 809AF104 C480017C */ lwc1 $f0, 0x017C($a0) ## 0000017C
/* 011E8 809AF108 3C014130 */ lui $at, 0x4130 ## $at = 41300000
/* 011EC 809AF10C 46002032 */ c.eq.s $f4, $f0
/* 011F0 809AF110 00000000 */ nop
/* 011F4 809AF114 45020017 */ bc1fl .L809AF174
/* 011F8 809AF118 44818000 */ mtc1 $at, $f16 ## $f16 = 11.00
/* 011FC 809AF11C 3C014140 */ lui $at, 0x4140 ## $at = 41400000
/* 01200 809AF120 44813000 */ mtc1 $at, $f6 ## $f6 = 12.00
/* 01204 809AF124 3C0642A0 */ lui $a2, 0x42A0 ## $a2 = 42A00000
/* 01208 809AF128 E4860060 */ swc1 $f6, 0x0060($a0) ## 00000060
/* 0120C 809AF12C 86070032 */ lh $a3, 0x0032($s0) ## 00000032
/* 01210 809AF130 0C26B7CA */ jal func_809ADF28
/* 01214 809AF134 8FA5002C */ lw $a1, 0x002C($sp)
/* 01218 809AF138 10400004 */ beq $v0, $zero, .L809AF14C
/* 0121C 809AF13C 3C0140C0 */ lui $at, 0x40C0 ## $at = 40C00000
/* 01220 809AF140 44814000 */ mtc1 $at, $f8 ## $f8 = 6.00
/* 01224 809AF144 10000004 */ beq $zero, $zero, .L809AF158
/* 01228 809AF148 E6080068 */ swc1 $f8, 0x0068($s0) ## 00000068
.L809AF14C:
/* 0122C 809AF14C 44805000 */ mtc1 $zero, $f10 ## $f10 = 0.00
/* 01230 809AF150 00000000 */ nop
/* 01234 809AF154 E60A0068 */ swc1 $f10, 0x0068($s0) ## 00000068
.L809AF158:
/* 01238 809AF158 9218031C */ lbu $t8, 0x031C($s0) ## 0000031C
/* 0123C 809AF15C 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001
/* 01240 809AF160 A60F0264 */ sh $t7, 0x0264($s0) ## 00000264
/* 01244 809AF164 3319FFF9 */ andi $t9, $t8, 0xFFF9 ## $t9 = 00000000
/* 01248 809AF168 10000036 */ beq $zero, $zero, .L809AF244
/* 0124C 809AF16C A219031C */ sb $t9, 0x031C($s0) ## 0000031C
/* 01250 809AF170 44818000 */ mtc1 $at, $f16 ## $f16 = 6.00
.L809AF174:
/* 01254 809AF174 00000000 */ nop
/* 01258 809AF178 4600803C */ c.lt.s $f16, $f0
/* 0125C 809AF17C 00000000 */ nop
/* 01260 809AF180 45020031 */ bc1fl .L809AF248
/* 01264 809AF184 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
/* 01268 809AF188 96080088 */ lhu $t0, 0x0088($s0) ## 00000088
/* 0126C 809AF18C 26040032 */ addiu $a0, $s0, 0x0032 ## $a0 = 00000032
/* 01270 809AF190 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 01274 809AF194 31090001 */ andi $t1, $t0, 0x0001 ## $t1 = 00000000
/* 01278 809AF198 15200005 */ bne $t1, $zero, .L809AF1B0
/* 0127C 809AF19C 24071770 */ addiu $a3, $zero, 0x1770 ## $a3 = 00001770
/* 01280 809AF1A0 3C014130 */ lui $at, 0x4130 ## $at = 41300000
/* 01284 809AF1A4 44819000 */ mtc1 $at, $f18 ## $f18 = 11.00
/* 01288 809AF1A8 10000026 */ beq $zero, $zero, .L809AF244
/* 0128C 809AF1AC E612017C */ swc1 $f18, 0x017C($s0) ## 0000017C
.L809AF1B0:
/* 01290 809AF1B0 8605008A */ lh $a1, 0x008A($s0) ## 0000008A
/* 01294 809AF1B4 0C01E1A7 */ jal Math_SmoothStepToS
/* 01298 809AF1B8 AFA00010 */ sw $zero, 0x0010($sp)
/* 0129C 809AF1BC 960A0088 */ lhu $t2, 0x0088($s0) ## 00000088
/* 012A0 809AF1C0 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 012A4 809AF1C4 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00
/* 012A8 809AF1C8 314B0002 */ andi $t3, $t2, 0x0002 ## $t3 = 00000000
/* 012AC 809AF1CC 11600004 */ beq $t3, $zero, .L809AF1E0
/* 012B0 809AF1D0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 012B4 809AF1D4 860C0258 */ lh $t4, 0x0258($s0) ## 00000258
/* 012B8 809AF1D8 258DFFFF */ addiu $t5, $t4, 0xFFFF ## $t5 = FFFFFFFF
/* 012BC 809AF1DC A60D0258 */ sh $t5, 0x0258($s0) ## 00000258
.L809AF1E0:
/* 012C0 809AF1E0 C6080080 */ lwc1 $f8, 0x0080($s0) ## 00000080
/* 012C4 809AF1E4 E6040060 */ swc1 $f4, 0x0060($s0) ## 00000060
/* 012C8 809AF1E8 E6060068 */ swc1 $f6, 0x0068($s0) ## 00000068
/* 012CC 809AF1EC A6000264 */ sh $zero, 0x0264($s0) ## 00000264
/* 012D0 809AF1F0 E6080028 */ swc1 $f8, 0x0028($s0) ## 00000028
/* 012D4 809AF1F4 0C26B89C */ jal func_809AE270
/* 012D8 809AF1F8 8FA5002C */ lw $a1, 0x002C($sp)
/* 012DC 809AF1FC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 012E0 809AF200 0C00B6EC */ jal Actor_WorldDistXZToPoint
/* 012E4 809AF204 26050008 */ addiu $a1, $s0, 0x0008 ## $a1 = 00000008
/* 012E8 809AF208 3C014370 */ lui $at, 0x4370 ## $at = 43700000
/* 012EC 809AF20C 44815000 */ mtc1 $at, $f10 ## $f10 = 240.00
/* 012F0 809AF210 00000000 */ nop
/* 012F4 809AF214 4600503C */ c.lt.s $f10, $f0
/* 012F8 809AF218 00000000 */ nop
/* 012FC 809AF21C 45030005 */ bc1tl .L809AF234
/* 01300 809AF220 860F0260 */ lh $t7, 0x0260($s0) ## 00000260
/* 01304 809AF224 860E025C */ lh $t6, 0x025C($s0) ## 0000025C
/* 01308 809AF228 55C00007 */ bnel $t6, $zero, .L809AF248
/* 0130C 809AF22C 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
/* 01310 809AF230 860F0260 */ lh $t7, 0x0260($s0) ## 00000260
.L809AF234:
/* 01314 809AF234 55E00004 */ bnel $t7, $zero, .L809AF248
/* 01318 809AF238 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
/* 0131C 809AF23C 0C26B9B0 */ jal func_809AE6C0
/* 01320 809AF240 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L809AF244:
/* 01324 809AF244 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
.L809AF248:
/* 01328 809AF248 C6120068 */ lwc1 $f18, 0x0068($s0) ## 00000068
/* 0132C 809AF24C 46128032 */ c.eq.s $f16, $f18
/* 01330 809AF250 00000000 */ nop
/* 01334 809AF254 4501000F */ bc1t .L809AF294
/* 01338 809AF258 00000000 */ nop
/* 0133C 809AF25C 96180088 */ lhu $t8, 0x0088($s0) ## 00000088
/* 01340 809AF260 33190008 */ andi $t9, $t8, 0x0008 ## $t9 = 00000000
/* 01344 809AF264 1320000B */ beq $t9, $zero, .L809AF294
/* 01348 809AF268 00000000 */ nop
/* 0134C 809AF26C 8602007E */ lh $v0, 0x007E($s0) ## 0000007E
/* 01350 809AF270 86080032 */ lh $t0, 0x0032($s0) ## 00000032
/* 01354 809AF274 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01358 809AF278 00484823 */ subu $t1, $v0, $t0
/* 0135C 809AF27C 01225021 */ addu $t2, $t1, $v0
/* 01360 809AF280 0C00B638 */ jal Actor_MoveForward
/* 01364 809AF284 A60A0032 */ sh $t2, 0x0032($s0) ## 00000032
/* 01368 809AF288 960B0088 */ lhu $t3, 0x0088($s0) ## 00000088
/* 0136C 809AF28C 316CFFF7 */ andi $t4, $t3, 0xFFF7 ## $t4 = 00000000
/* 01370 809AF290 A60C0088 */ sh $t4, 0x0088($s0) ## 00000088
.L809AF294:
/* 01374 809AF294 0C02927F */ jal SkelAnime_Update
/* 01378 809AF298 26040164 */ addiu $a0, $s0, 0x0164 ## $a0 = 00000164
/* 0137C 809AF29C 860D0258 */ lh $t5, 0x0258($s0) ## 00000258
/* 01380 809AF2A0 55A00007 */ bnel $t5, $zero, .L809AF2C0
/* 01384 809AF2A4 860F0260 */ lh $t7, 0x0260($s0) ## 00000260
/* 01388 809AF2A8 860E0260 */ lh $t6, 0x0260($s0) ## 00000260
/* 0138C 809AF2AC 55C00004 */ bnel $t6, $zero, .L809AF2C0
/* 01390 809AF2B0 860F0260 */ lh $t7, 0x0260($s0) ## 00000260
/* 01394 809AF2B4 0C26B967 */ jal func_809AE59C
/* 01398 809AF2B8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0139C 809AF2BC 860F0260 */ lh $t7, 0x0260($s0) ## 00000260
.L809AF2C0:
/* 013A0 809AF2C0 55E00005 */ bnel $t7, $zero, .L809AF2D8
/* 013A4 809AF2C4 86020262 */ lh $v0, 0x0262($s0) ## 00000262
/* 013A8 809AF2C8 86180032 */ lh $t8, 0x0032($s0) ## 00000032
/* 013AC 809AF2CC 1000000A */ beq $zero, $zero, .L809AF2F8
/* 013B0 809AF2D0 A61800B6 */ sh $t8, 0x00B6($s0) ## 000000B6
/* 013B4 809AF2D4 86020262 */ lh $v0, 0x0262($s0) ## 00000262
.L809AF2D8:
/* 013B8 809AF2D8 28411F40 */ slti $at, $v0, 0x1F40
/* 013BC 809AF2DC 10200003 */ beq $at, $zero, .L809AF2EC
/* 013C0 809AF2E0 24590320 */ addiu $t9, $v0, 0x0320 ## $t9 = 00000320
/* 013C4 809AF2E4 A6190262 */ sh $t9, 0x0262($s0) ## 00000262
/* 013C8 809AF2E8 86020262 */ lh $v0, 0x0262($s0) ## 00000262
.L809AF2EC:
/* 013CC 809AF2EC 860800B6 */ lh $t0, 0x00B6($s0) ## 000000B6
/* 013D0 809AF2F0 01024821 */ addu $t1, $t0, $v0
/* 013D4 809AF2F4 A60900B6 */ sh $t1, 0x00B6($s0) ## 000000B6
.L809AF2F8:
/* 013D8 809AF2F8 8FBF0024 */ lw $ra, 0x0024($sp)
/* 013DC 809AF2FC 8FB00020 */ lw $s0, 0x0020($sp)
/* 013E0 809AF300 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 013E4 809AF304 03E00008 */ jr $ra
/* 013E8 809AF308 00000000 */ nop

View file

@ -1,163 +0,0 @@
glabel func_809AF30C
/* 013EC 809AF30C 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
/* 013F0 809AF310 AFBF0024 */ sw $ra, 0x0024($sp)
/* 013F4 809AF314 AFB00020 */ sw $s0, 0x0020($sp)
/* 013F8 809AF318 AFA5003C */ sw $a1, 0x003C($sp)
/* 013FC 809AF31C 8CAF1C44 */ lw $t7, 0x1C44($a1) ## 00001C44
/* 01400 809AF320 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01404 809AF324 00001825 */ or $v1, $zero, $zero ## $v1 = 00000000
/* 01408 809AF328 AFAF0034 */ sw $t7, 0x0034($sp)
/* 0140C 809AF32C 84980158 */ lh $t8, 0x0158($a0) ## 00000158
/* 01410 809AF330 84860258 */ lh $a2, 0x0258($a0) ## 00000258
/* 01414 809AF334 2405200A */ addiu $a1, $zero, 0x200A ## $a1 = 0000200A
/* 01418 809AF338 44982000 */ mtc1 $t8, $f4 ## $f4 = 0.00
/* 0141C 809AF33C 24C8F800 */ addiu $t0, $a2, 0xF800 ## $t0 = FFFFF800
/* 01420 809AF340 14C0000A */ bne $a2, $zero, .L809AF36C
/* 01424 809AF344 468020A0 */ cvt.s.w $f2, $f4
/* 01428 809AF348 44806000 */ mtc1 $zero, $f12 ## $f12 = 0.00
/* 0142C 809AF34C C4860150 */ lwc1 $f6, 0x0150($a0) ## 00000150
/* 01430 809AF350 24198000 */ addiu $t9, $zero, 0x8000 ## $t9 = FFFF8000
/* 01434 809AF354 46066032 */ c.eq.s $f12, $f6
/* 01438 809AF358 00000000 */ nop
/* 0143C 809AF35C 4503006F */ bc1tl .L809AF51C
/* 01440 809AF360 960D0088 */ lhu $t5, 0x0088($s0) ## 00000088
/* 01444 809AF364 1000006C */ beq $zero, $zero, .L809AF518
/* 01448 809AF368 A4990258 */ sh $t9, 0x0258($a0) ## 00000258
.L809AF36C:
/* 0144C 809AF36C A6080258 */ sh $t0, 0x0258($s0) ## 00000258
/* 01450 809AF370 E7A20030 */ swc1 $f2, 0x0030($sp)
/* 01454 809AF374 A7A3002E */ sh $v1, 0x002E($sp)
/* 01458 809AF378 0C00BE0A */ jal Audio_PlayActorSound2
/* 0145C 809AF37C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01460 809AF380 44806000 */ mtc1 $zero, $f12 ## $f12 = 0.00
/* 01464 809AF384 C6000150 */ lwc1 $f0, 0x0150($s0) ## 00000150
/* 01468 809AF388 87A3002E */ lh $v1, 0x002E($sp)
/* 0146C 809AF38C C7A20030 */ lwc1 $f2, 0x0030($sp)
/* 01470 809AF390 460C003C */ c.lt.s $f0, $f12
/* 01474 809AF394 26040024 */ addiu $a0, $s0, 0x0024 ## $a0 = 00000024
/* 01478 809AF398 45020008 */ bc1fl .L809AF3BC
/* 0147C 809AF39C 920B0286 */ lbu $t3, 0x0286($s0) ## 00000286
/* 01480 809AF3A0 86090158 */ lh $t1, 0x0158($s0) ## 00000158
/* 01484 809AF3A4 34018000 */ ori $at, $zero, 0x8000 ## $at = 00008000
/* 01488 809AF3A8 01215021 */ addu $t2, $t1, $at
/* 0148C 809AF3AC 448A4000 */ mtc1 $t2, $f8 ## $f8 = 0.00
/* 01490 809AF3B0 00000000 */ nop
/* 01494 809AF3B4 468040A0 */ cvt.s.w $f2, $f8
/* 01498 809AF3B8 920B0286 */ lbu $t3, 0x0286($s0) ## 00000286
.L809AF3BC:
/* 0149C 809AF3BC 316C0002 */ andi $t4, $t3, 0x0002 ## $t4 = 00000000
/* 014A0 809AF3C0 51800011 */ beql $t4, $zero, .L809AF408
/* 014A4 809AF3C4 46006032 */ c.eq.s $f12, $f0
/* 014A8 809AF3C8 8E050280 */ lw $a1, 0x0280($s0) ## 00000280
/* 014AC 809AF3CC E7A20030 */ swc1 $f2, 0x0030($sp)
/* 014B0 809AF3D0 0C01E01A */ jal Math_Vec3f_Yaw
/* 014B4 809AF3D4 24A50024 */ addiu $a1, $a1, 0x0024 ## $a1 = 00000024
/* 014B8 809AF3D8 44825000 */ mtc1 $v0, $f10 ## $f10 = 0.00
/* 014BC 809AF3DC C7A20030 */ lwc1 $f2, 0x0030($sp)
/* 014C0 809AF3E0 44806000 */ mtc1 $zero, $f12 ## $f12 = 0.00
/* 014C4 809AF3E4 46805420 */ cvt.s.w $f16, $f10
/* 014C8 809AF3E8 C6000150 */ lwc1 $f0, 0x0150($s0) ## 00000150
/* 014CC 809AF3EC 46028481 */ sub.s $f18, $f16, $f2
/* 014D0 809AF3F0 4600910D */ trunc.w.s $f4, $f18
/* 014D4 809AF3F4 44032000 */ mfc1 $v1, $f4
/* 014D8 809AF3F8 00000000 */ nop
/* 014DC 809AF3FC 00031C00 */ sll $v1, $v1, 16
/* 014E0 809AF400 00031C03 */ sra $v1, $v1, 16
/* 014E4 809AF404 46006032 */ c.eq.s $f12, $f0
.L809AF408:
/* 014E8 809AF408 00000000 */ nop
/* 014EC 809AF40C 4503002E */ bc1tl .L809AF4C8
/* 014F0 809AF410 8FA20034 */ lw $v0, 0x0034($sp)
/* 014F4 809AF414 86060258 */ lh $a2, 0x0258($s0) ## 00000258
/* 014F8 809AF418 50C0002B */ beql $a2, $zero, .L809AF4C8
/* 014FC 809AF41C 8FA20034 */ lw $v0, 0x0034($sp)
/* 01500 809AF420 960E0088 */ lhu $t6, 0x0088($s0) ## 00000088
/* 01504 809AF424 00062400 */ sll $a0, $a2, 16
/* 01508 809AF428 00042403 */ sra $a0, $a0, 16
/* 0150C 809AF42C 31CF0001 */ andi $t7, $t6, 0x0001 ## $t7 = 00000000
/* 01510 809AF430 51E00025 */ beql $t7, $zero, .L809AF4C8
/* 01514 809AF434 8FA20034 */ lw $v0, 0x0034($sp)
/* 01518 809AF438 0C01DE1C */ jal Math_SinS
## sins?
/* 0151C 809AF43C A7A3002E */ sh $v1, 0x002E($sp)
/* 01520 809AF440 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
/* 01524 809AF444 44814000 */ mtc1 $at, $f8 ## $f8 = 0.50
/* 01528 809AF448 C6060150 */ lwc1 $f6, 0x0150($s0) ## 00000150
/* 0152C 809AF44C 3C014220 */ lui $at, 0x4220 ## $at = 42200000
/* 01530 809AF450 44819000 */ mtc1 $at, $f18 ## $f18 = 40.00
/* 01534 809AF454 46083282 */ mul.s $f10, $f6, $f8
/* 01538 809AF458 2419000A */ addiu $t9, $zero, 0x000A ## $t9 = 0000000A
/* 0153C 809AF45C AFB90010 */ sw $t9, 0x0010($sp)
/* 01540 809AF460 8FA4003C */ lw $a0, 0x003C($sp)
/* 01544 809AF464 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 01548 809AF468 24060014 */ addiu $a2, $zero, 0x0014 ## $a2 = 00000014
/* 0154C 809AF46C 460A0402 */ mul.s $f16, $f0, $f10
/* 01550 809AF470 46128100 */ add.s $f4, $f16, $f18
/* 01554 809AF474 4600218D */ trunc.w.s $f6, $f4
/* 01558 809AF478 44073000 */ mfc1 $a3, $f6
/* 0155C 809AF47C 00000000 */ nop
/* 01560 809AF480 00073C00 */ sll $a3, $a3, 16
/* 01564 809AF484 0C010D76 */ jal func_800435D8
/* 01568 809AF488 00073C03 */ sra $a3, $a3, 16
/* 0156C 809AF48C 44806000 */ mtc1 $zero, $f12 ## $f12 = 0.00
/* 01570 809AF490 1040000C */ beq $v0, $zero, .L809AF4C4
/* 01574 809AF494 87A3002E */ lh $v1, 0x002E($sp)
/* 01578 809AF498 92080286 */ lbu $t0, 0x0286($s0) ## 00000286
/* 0157C 809AF49C 31090002 */ andi $t1, $t0, 0x0002 ## $t1 = 00000000
/* 01580 809AF4A0 51200012 */ beql $t1, $zero, .L809AF4EC
/* 01584 809AF4A4 860C0158 */ lh $t4, 0x0158($s0) ## 00000158
/* 01588 809AF4A8 04600003 */ bltz $v1, .L809AF4B8
/* 0158C 809AF4AC 00031023 */ subu $v0, $zero, $v1
/* 01590 809AF4B0 10000001 */ beq $zero, $zero, .L809AF4B8
/* 01594 809AF4B4 00601025 */ or $v0, $v1, $zero ## $v0 = 00000000
.L809AF4B8:
/* 01598 809AF4B8 28412001 */ slti $at, $v0, 0x2001
/* 0159C 809AF4BC 5020000B */ beql $at, $zero, .L809AF4EC
/* 015A0 809AF4C0 860C0158 */ lh $t4, 0x0158($s0) ## 00000158
.L809AF4C4:
/* 015A4 809AF4C4 8FA20034 */ lw $v0, 0x0034($sp)
.L809AF4C8:
/* 015A8 809AF4C8 A6000258 */ sh $zero, 0x0258($s0) ## 00000258
/* 015AC 809AF4CC 2401FEAE */ addiu $at, $zero, 0xFEAE ## $at = FFFFFEAE
/* 015B0 809AF4D0 8C4A0680 */ lw $t2, 0x0680($v0) ## 00000680
/* 015B4 809AF4D4 E44C0068 */ swc1 $f12, 0x0068($v0) ## 00000068
/* 015B8 809AF4D8 01415824 */ and $t3, $t2, $at
/* 015BC 809AF4DC AC4B0680 */ sw $t3, 0x0680($v0) ## 00000680
/* 015C0 809AF4E0 E60C0150 */ swc1 $f12, 0x0150($s0) ## 00000150
/* 015C4 809AF4E4 E60C0154 */ swc1 $f12, 0x0154($s0) ## 00000154
/* 015C8 809AF4E8 860C0158 */ lh $t4, 0x0158($s0) ## 00000158
.L809AF4EC:
/* 015CC 809AF4EC 86040258 */ lh $a0, 0x0258($s0) ## 00000258
/* 015D0 809AF4F0 0C01DE1C */ jal Math_SinS
## sins?
/* 015D4 809AF4F4 A60C0032 */ sh $t4, 0x0032($s0) ## 00000032
/* 015D8 809AF4F8 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
/* 015DC 809AF4FC 44815000 */ mtc1 $at, $f10 ## $f10 = 0.50
/* 015E0 809AF500 C6080150 */ lwc1 $f8, 0x0150($s0) ## 00000150
/* 015E4 809AF504 44806000 */ mtc1 $zero, $f12 ## $f12 = 0.00
/* 015E8 809AF508 460A4402 */ mul.s $f16, $f8, $f10
/* 015EC 809AF50C 00000000 */ nop
/* 015F0 809AF510 46100482 */ mul.s $f18, $f0, $f16
/* 015F4 809AF514 E6120068 */ swc1 $f18, 0x0068($s0) ## 00000068
.L809AF518:
/* 015F8 809AF518 960D0088 */ lhu $t5, 0x0088($s0) ## 00000088
.L809AF51C:
/* 015FC 809AF51C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01600 809AF520 31AE0002 */ andi $t6, $t5, 0x0002 ## $t6 = 00000000
/* 01604 809AF524 51C00006 */ beql $t6, $zero, .L809AF540
/* 01608 809AF528 E60C0154 */ swc1 $f12, 0x0154($s0) ## 00000154
/* 0160C 809AF52C 0C00BE0A */ jal Audio_PlayActorSound2
/* 01610 809AF530 24052835 */ addiu $a1, $zero, 0x2835 ## $a1 = 00002835
/* 01614 809AF534 44806000 */ mtc1 $zero, $f12 ## $f12 = 0.00
/* 01618 809AF538 00000000 */ nop
/* 0161C 809AF53C E60C0154 */ swc1 $f12, 0x0154($s0) ## 00000154
.L809AF540:
/* 01620 809AF540 E60C0150 */ swc1 $f12, 0x0150($s0) ## 00000150
/* 01624 809AF544 8FBF0024 */ lw $ra, 0x0024($sp)
/* 01628 809AF548 8FB00020 */ lw $s0, 0x0020($sp)
/* 0162C 809AF54C 27BD0038 */ addiu $sp, $sp, 0x0038 ## $sp = 00000000
/* 01630 809AF550 03E00008 */ jr $ra
/* 01634 809AF554 00000000 */ nop

View file

@ -1,65 +0,0 @@
glabel func_809AF558
/* 01638 809AF558 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 0163C 809AF55C AFB00028 */ sw $s0, 0x0028($sp)
/* 01640 809AF560 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01644 809AF564 AFBF002C */ sw $ra, 0x002C($sp)
/* 01648 809AF568 3C040600 */ lui $a0, %hi(D_06005B3C) ## $a0 = 06000000
/* 0164C 809AF56C AFA50034 */ sw $a1, 0x0034($sp)
/* 01650 809AF570 0C028800 */ jal Animation_GetLastFrame
/* 01654 809AF574 24845B3C */ addiu $a0, $a0, %lo(D_06005B3C) ## $a0 = 06005B3C
/* 01658 809AF578 44822000 */ mtc1 $v0, $f4 ## $f4 = 0.00
/* 0165C 809AF57C 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 01660 809AF580 3C050600 */ lui $a1, %hi(D_06005B3C) ## $a1 = 06000000
/* 01664 809AF584 468021A0 */ cvt.s.w $f6, $f4
/* 01668 809AF588 240E0002 */ addiu $t6, $zero, 0x0002 ## $t6 = 00000002
/* 0166C 809AF58C 44070000 */ mfc1 $a3, $f0
/* 01670 809AF590 AFAE0014 */ sw $t6, 0x0014($sp)
/* 01674 809AF594 24A55B3C */ addiu $a1, $a1, %lo(D_06005B3C) ## $a1 = 06005B3C
/* 01678 809AF598 26040164 */ addiu $a0, $s0, 0x0164 ## $a0 = 00000164
/* 0167C 809AF59C E7A60010 */ swc1 $f6, 0x0010($sp)
/* 01680 809AF5A0 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 01684 809AF5A4 0C029468 */ jal Animation_Change
/* 01688 809AF5A8 E7A00018 */ swc1 $f0, 0x0018($sp)
/* 0168C 809AF5AC 860F008A */ lh $t7, 0x008A($s0) ## 0000008A
/* 01690 809AF5B0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01694 809AF5B4 3C06C0C0 */ lui $a2, 0xC0C0 ## $a2 = C0C00000
/* 01698 809AF5B8 A60F0032 */ sh $t7, 0x0032($s0) ## 00000032
/* 0169C 809AF5BC 86070032 */ lh $a3, 0x0032($s0) ## 00000032
/* 016A0 809AF5C0 0C26B7CA */ jal func_809ADF28
/* 016A4 809AF5C4 8FA50034 */ lw $a1, 0x0034($sp)
/* 016A8 809AF5C8 10400005 */ beq $v0, $zero, .L809AF5E0
/* 016AC 809AF5CC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 016B0 809AF5D0 3C01C0C0 */ lui $at, 0xC0C0 ## $at = C0C00000
/* 016B4 809AF5D4 44814000 */ mtc1 $at, $f8 ## $f8 = -6.00
/* 016B8 809AF5D8 00000000 */ nop
/* 016BC 809AF5DC E6080068 */ swc1 $f8, 0x0068($s0) ## 00000068
.L809AF5E0:
/* 016C0 809AF5E0 24180064 */ addiu $t8, $zero, 0x0064 ## $t8 = 00000064
/* 016C4 809AF5E4 AFB80010 */ sw $t8, 0x0010($sp)
/* 016C8 809AF5E8 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 016CC 809AF5EC 24060078 */ addiu $a2, $zero, 0x0078 ## $a2 = 00000078
/* 016D0 809AF5F0 0C00D09B */ jal func_8003426C
/* 016D4 809AF5F4 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 016D8 809AF5F8 92190267 */ lbu $t9, 0x0267($s0) ## 00000267
/* 016DC 809AF5FC 2401000D */ addiu $at, $zero, 0x000D ## $at = 0000000D
/* 016E0 809AF600 24090006 */ addiu $t1, $zero, 0x0006 ## $t1 = 00000006
/* 016E4 809AF604 17210003 */ bne $t9, $at, .L809AF614
/* 016E8 809AF608 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 016EC 809AF60C 24080030 */ addiu $t0, $zero, 0x0030 ## $t0 = 00000030
/* 016F0 809AF610 A608025E */ sh $t0, 0x025E($s0) ## 0000025E
.L809AF614:
/* 016F4 809AF614 AE0901A8 */ sw $t1, 0x01A8($s0) ## 000001A8
/* 016F8 809AF618 0C00BE0A */ jal Audio_PlayActorSound2
/* 016FC 809AF61C 2405389E */ addiu $a1, $zero, 0x389E ## $a1 = 0000389E
/* 01700 809AF620 3C05809B */ lui $a1, %hi(func_809AF644) ## $a1 = 809B0000
/* 01704 809AF624 24A5F644 */ addiu $a1, $a1, %lo(func_809AF644) ## $a1 = 809AF644
/* 01708 809AF628 0C26B7C8 */ jal func_809ADF20
/* 0170C 809AF62C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01710 809AF630 8FBF002C */ lw $ra, 0x002C($sp)
/* 01714 809AF634 8FB00028 */ lw $s0, 0x0028($sp)
/* 01718 809AF638 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 0171C 809AF63C 03E00008 */ jr $ra
/* 01720 809AF640 00000000 */ nop

View file

@ -1,59 +0,0 @@
glabel func_809AF644
/* 01724 809AF644 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 01728 809AF648 AFB00020 */ sw $s0, 0x0020($sp)
/* 0172C 809AF64C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01730 809AF650 AFBF0024 */ sw $ra, 0x0024($sp)
/* 01734 809AF654 AFA5002C */ sw $a1, 0x002C($sp)
/* 01738 809AF658 86050032 */ lh $a1, 0x0032($s0) ## 00000032
/* 0173C 809AF65C AFA00010 */ sw $zero, 0x0010($sp)
/* 01740 809AF660 248400B6 */ addiu $a0, $a0, 0x00B6 ## $a0 = 000000B6
/* 01744 809AF664 24060001 */ addiu $a2, $zero, 0x0001 ## $a2 = 00000001
/* 01748 809AF668 0C01E1A7 */ jal Math_SmoothStepToS
/* 0174C 809AF66C 24070FA0 */ addiu $a3, $zero, 0x0FA0 ## $a3 = 00000FA0
/* 01750 809AF670 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 01754 809AF674 C6000068 */ lwc1 $f0, 0x0068($s0) ## 00000068
/* 01758 809AF678 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
/* 0175C 809AF67C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01760 809AF680 4602003C */ c.lt.s $f0, $f2
/* 01764 809AF684 3C06C110 */ lui $a2, 0xC110 ## $a2 = C1100000
/* 01768 809AF688 45020006 */ bc1fl .L809AF6A4
/* 0176C 809AF68C C6080060 */ lwc1 $f8, 0x0060($s0) ## 00000060
/* 01770 809AF690 44812000 */ mtc1 $at, $f4 ## $f4 = 0.50
/* 01774 809AF694 00000000 */ nop
/* 01778 809AF698 46040180 */ add.s $f6, $f0, $f4
/* 0177C 809AF69C E6060068 */ swc1 $f6, 0x0068($s0) ## 00000068
/* 01780 809AF6A0 C6080060 */ lwc1 $f8, 0x0060($s0) ## 00000060
.L809AF6A4:
/* 01784 809AF6A4 8FA5002C */ lw $a1, 0x002C($sp)
/* 01788 809AF6A8 4602403E */ c.le.s $f8, $f2
/* 0178C 809AF6AC 00000000 */ nop
/* 01790 809AF6B0 45020008 */ bc1fl .L809AF6D4
/* 01794 809AF6B4 920E0114 */ lbu $t6, 0x0114($s0) ## 00000114
/* 01798 809AF6B8 0C26B7CA */ jal func_809ADF28
/* 0179C 809AF6BC 86070032 */ lh $a3, 0x0032($s0) ## 00000032
/* 017A0 809AF6C0 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 017A4 809AF6C4 54400003 */ bnel $v0, $zero, .L809AF6D4
/* 017A8 809AF6C8 920E0114 */ lbu $t6, 0x0114($s0) ## 00000114
/* 017AC 809AF6CC E6020068 */ swc1 $f2, 0x0068($s0) ## 00000068
/* 017B0 809AF6D0 920E0114 */ lbu $t6, 0x0114($s0) ## 00000114
.L809AF6D4:
/* 017B4 809AF6D4 55C0000C */ bnel $t6, $zero, .L809AF708
/* 017B8 809AF6D8 8FBF0024 */ lw $ra, 0x0024($sp)
/* 017BC 809AF6DC 920F00AF */ lbu $t7, 0x00AF($s0) ## 000000AF
/* 017C0 809AF6E0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 017C4 809AF6E4 11E00005 */ beq $t7, $zero, .L809AF6FC
/* 017C8 809AF6E8 00000000 */ nop
/* 017CC 809AF6EC 0C26B94E */ jal func_809AE538
/* 017D0 809AF6F0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 017D4 809AF6F4 10000004 */ beq $zero, $zero, .L809AF708
/* 017D8 809AF6F8 8FBF0024 */ lw $ra, 0x0024($sp)
.L809AF6FC:
/* 017DC 809AF6FC 0C26B9C7 */ jal func_809AE71C
/* 017E0 809AF700 8FA5002C */ lw $a1, 0x002C($sp)
/* 017E4 809AF704 8FBF0024 */ lw $ra, 0x0024($sp)
.L809AF708:
/* 017E8 809AF708 8FB00020 */ lw $s0, 0x0020($sp)
/* 017EC 809AF70C 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 017F0 809AF710 03E00008 */ jr $ra
/* 017F4 809AF714 00000000 */ nop

View file

@ -1,50 +0,0 @@
glabel func_809AF718
/* 017F8 809AF718 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 017FC 809AF71C AFBF001C */ sw $ra, 0x001C($sp)
/* 01800 809AF720 AFB00018 */ sw $s0, 0x0018($sp)
/* 01804 809AF724 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 01808 809AF728 C4800068 */ lwc1 $f0, 0x0068($a0) ## 00000068
/* 0180C 809AF72C 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 01810 809AF730 3C013F00 */ lui $at, 0x3F00 ## $at = 3F000000
/* 01814 809AF734 4602003C */ c.lt.s $f0, $f2
/* 01818 809AF738 00000000 */ nop
/* 0181C 809AF73C 45020006 */ bc1fl .L809AF758
/* 01820 809AF740 C6080060 */ lwc1 $f8, 0x0060($s0) ## 00000060
/* 01824 809AF744 44812000 */ mtc1 $at, $f4 ## $f4 = 0.50
/* 01828 809AF748 00000000 */ nop
/* 0182C 809AF74C 46040180 */ add.s $f6, $f0, $f4
/* 01830 809AF750 E4860068 */ swc1 $f6, 0x0068($a0) ## 00000068
/* 01834 809AF754 C6080060 */ lwc1 $f8, 0x0060($s0) ## 00000060
.L809AF758:
/* 01838 809AF758 3C013FC0 */ lui $at, 0x3FC0 ## $at = 3FC00000
/* 0183C 809AF75C 4602403E */ c.le.s $f8, $f2
/* 01840 809AF760 00000000 */ nop
/* 01844 809AF764 4500000D */ bc1f .L809AF79C
/* 01848 809AF768 00000000 */ nop
/* 0184C 809AF76C C60A0068 */ lwc1 $f10, 0x0068($s0) ## 00000068
/* 01850 809AF770 44818000 */ mtc1 $at, $f16 ## $f16 = 1.50
/* 01854 809AF774 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01858 809AF778 86070032 */ lh $a3, 0x0032($s0) ## 00000032
/* 0185C 809AF77C 46105482 */ mul.s $f18, $f10, $f16
/* 01860 809AF780 44069000 */ mfc1 $a2, $f18
/* 01864 809AF784 0C26B7CA */ jal func_809ADF28
/* 01868 809AF788 00000000 */ nop
/* 0186C 809AF78C 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 01870 809AF790 14400002 */ bne $v0, $zero, .L809AF79C
/* 01874 809AF794 00000000 */ nop
/* 01878 809AF798 E6020068 */ swc1 $f2, 0x0068($s0) ## 00000068
.L809AF79C:
/* 0187C 809AF79C 0C02927F */ jal SkelAnime_Update
/* 01880 809AF7A0 26040164 */ addiu $a0, $s0, 0x0164 ## $a0 = 00000164
/* 01884 809AF7A4 44801000 */ mtc1 $zero, $f2 ## $f2 = 0.00
/* 01888 809AF7A8 10400003 */ beq $v0, $zero, .L809AF7B8
/* 0188C 809AF7AC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01890 809AF7B0 0C26B94E */ jal func_809AE538
/* 01894 809AF7B4 E6020068 */ swc1 $f2, 0x0068($s0) ## 00000068
.L809AF7B8:
/* 01898 809AF7B8 8FBF001C */ lw $ra, 0x001C($sp)
/* 0189C 809AF7BC 8FB00018 */ lw $s0, 0x0018($sp)
/* 018A0 809AF7C0 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 018A4 809AF7C4 03E00008 */ jr $ra
/* 018A8 809AF7C8 00000000 */ nop

View file

@ -1,39 +0,0 @@
glabel func_809AF7CC
/* 018AC 809AF7CC 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
/* 018B0 809AF7D0 AFB00020 */ sw $s0, 0x0020($sp)
/* 018B4 809AF7D4 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 018B8 809AF7D8 AFA50044 */ sw $a1, 0x0044($sp)
/* 018BC 809AF7DC AFBF0024 */ sw $ra, 0x0024($sp)
/* 018C0 809AF7E0 26050358 */ addiu $a1, $s0, 0x0358 ## $a1 = 00000358
/* 018C4 809AF7E4 3C04809B */ lui $a0, %hi(D_809B0074) ## $a0 = 809B0000
/* 018C8 809AF7E8 24840074 */ addiu $a0, $a0, %lo(D_809B0074) ## $a0 = 809B0074
/* 018CC 809AF7EC 0C0346BD */ jal Matrix_MultVec3f
/* 018D0 809AF7F0 AFA50038 */ sw $a1, 0x0038($sp)
/* 018D4 809AF7F4 3C04809B */ lui $a0, %hi(D_809B0080) ## $a0 = 809B0000
/* 018D8 809AF7F8 2605034C */ addiu $a1, $s0, 0x034C ## $a1 = 0000034C
/* 018DC 809AF7FC AFA50034 */ sw $a1, 0x0034($sp)
/* 018E0 809AF800 0C0346BD */ jal Matrix_MultVec3f
/* 018E4 809AF804 24840080 */ addiu $a0, $a0, %lo(D_809B0080) ## $a0 = 809B0080
/* 018E8 809AF808 3C04809B */ lui $a0, %hi(D_809B008C) ## $a0 = 809B0000
/* 018EC 809AF80C 26050370 */ addiu $a1, $s0, 0x0370 ## $a1 = 00000370
/* 018F0 809AF810 AFA5002C */ sw $a1, 0x002C($sp)
/* 018F4 809AF814 0C0346BD */ jal Matrix_MultVec3f
/* 018F8 809AF818 2484008C */ addiu $a0, $a0, %lo(D_809B008C) ## $a0 = 809B008C
/* 018FC 809AF81C 3C04809B */ lui $a0, %hi(D_809B0098) ## $a0 = 809B0000
/* 01900 809AF820 26070364 */ addiu $a3, $s0, 0x0364 ## $a3 = 00000364
/* 01904 809AF824 00E02825 */ or $a1, $a3, $zero ## $a1 = 00000364
/* 01908 809AF828 AFA70030 */ sw $a3, 0x0030($sp)
/* 0190C 809AF82C 0C0346BD */ jal Matrix_MultVec3f
/* 01910 809AF830 24840098 */ addiu $a0, $a0, %lo(D_809B0098) ## $a0 = 809B0098
/* 01914 809AF834 8FAE002C */ lw $t6, 0x002C($sp)
/* 01918 809AF838 8FA70030 */ lw $a3, 0x0030($sp)
/* 0191C 809AF83C 2604030C */ addiu $a0, $s0, 0x030C ## $a0 = 0000030C
/* 01920 809AF840 8FA50034 */ lw $a1, 0x0034($sp)
/* 01924 809AF844 8FA60038 */ lw $a2, 0x0038($sp)
/* 01928 809AF848 0C0189CD */ jal Collider_SetQuadVertices
/* 0192C 809AF84C AFAE0010 */ sw $t6, 0x0010($sp)
/* 01930 809AF850 8FBF0024 */ lw $ra, 0x0024($sp)
/* 01934 809AF854 8FB00020 */ lw $s0, 0x0020($sp)
/* 01938 809AF858 27BD0040 */ addiu $sp, $sp, 0x0040 ## $sp = 00000000
/* 0193C 809AF85C 03E00008 */ jr $ra
/* 01940 809AF860 00000000 */ nop

View file

@ -1,112 +0,0 @@
glabel func_809AF864
/* 01944 809AF864 27BDFFD0 */ addiu $sp, $sp, 0xFFD0 ## $sp = FFFFFFD0
/* 01948 809AF868 AFBF0014 */ sw $ra, 0x0014($sp)
/* 0194C 809AF86C AFA50034 */ sw $a1, 0x0034($sp)
/* 01950 809AF870 848E0260 */ lh $t6, 0x0260($a0) ## 00000260
/* 01954 809AF874 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
/* 01958 809AF878 55C0005D */ bnel $t6, $zero, .L809AF9F0
/* 0195C 809AF87C 8FBF0014 */ lw $ra, 0x0014($sp)
/* 01960 809AF880 908202D1 */ lbu $v0, 0x02D1($a0) ## 000002D1
/* 01964 809AF884 304F0080 */ andi $t7, $v0, 0x0080 ## $t7 = 00000000
/* 01968 809AF888 11E0000C */ beq $t7, $zero, .L809AF8BC
/* 0196C 809AF88C 3058FF7D */ andi $t8, $v0, 0xFF7D ## $t8 = 00000000
/* 01970 809AF890 90990285 */ lbu $t9, 0x0285($a0) ## 00000285
/* 01974 809AF894 8C8901A8 */ lw $t1, 0x01A8($a0) ## 000001A8
/* 01978 809AF898 A09802D1 */ sb $t8, 0x02D1($a0) ## 000002D1
/* 0197C 809AF89C 3328FFFD */ andi $t0, $t9, 0xFFFD ## $t0 = 00000000
/* 01980 809AF8A0 29210005 */ slti $at, $t1, 0x0005
/* 01984 809AF8A4 14200051 */ bne $at, $zero, .L809AF9EC
/* 01988 809AF8A8 A0880285 */ sb $t0, 0x0285($a0) ## 00000285
/* 0198C 809AF8AC 0C26B9FD */ jal func_809AE7F4
/* 01990 809AF8B0 8FA50034 */ lw $a1, 0x0034($sp)
/* 01994 809AF8B4 1000004E */ beq $zero, $zero, .L809AF9F0
/* 01998 809AF8B8 8FBF0014 */ lw $ra, 0x0014($sp)
.L809AF8BC:
/* 0199C 809AF8BC 90E20285 */ lbu $v0, 0x0285($a3) ## 00000285
/* 019A0 809AF8C0 304A0002 */ andi $t2, $v0, 0x0002 ## $t2 = 00000000
/* 019A4 809AF8C4 5140004A */ beql $t2, $zero, .L809AF9F0
/* 019A8 809AF8C8 8FBF0014 */ lw $ra, 0x0014($sp)
/* 019AC 809AF8CC 8CEB01A8 */ lw $t3, 0x01A8($a3) ## 000001A8
/* 019B0 809AF8D0 29610005 */ slti $at, $t3, 0x0005
/* 019B4 809AF8D4 54200046 */ bnel $at, $zero, .L809AF9F0
/* 019B8 809AF8D8 8FBF0014 */ lw $ra, 0x0014($sp)
/* 019BC 809AF8DC 90E300B1 */ lbu $v1, 0x00B1($a3) ## 000000B1
/* 019C0 809AF8E0 304CFFFD */ andi $t4, $v0, 0xFFFD ## $t4 = 00000000
/* 019C4 809AF8E4 2401000E */ addiu $at, $zero, 0x000E ## $at = 0000000E
/* 019C8 809AF8E8 10610040 */ beq $v1, $at, .L809AF9EC
/* 019CC 809AF8EC A0EC0285 */ sb $t4, 0x0285($a3) ## 00000285
/* 019D0 809AF8F0 A4E00264 */ sh $zero, 0x0264($a3) ## 00000264
/* 019D4 809AF8F4 A0E30267 */ sb $v1, 0x0267($a3) ## 00000267
/* 019D8 809AF8F8 AFA70030 */ sw $a3, 0x0030($sp)
/* 019DC 809AF8FC 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 019E0 809AF900 24E5028C */ addiu $a1, $a3, 0x028C ## $a1 = 0000028C
/* 019E4 809AF904 0C00D594 */ jal func_80035650
/* 019E8 809AF908 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 019EC 809AF90C 8FA70030 */ lw $a3, 0x0030($sp)
/* 019F0 809AF910 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 019F4 809AF914 8FA60034 */ lw $a2, 0x0034($sp)
/* 019F8 809AF918 90E200B1 */ lbu $v0, 0x00B1($a3) ## 000000B1
/* 019FC 809AF91C 24030006 */ addiu $v1, $zero, 0x0006 ## $v1 = 00000006
/* 01A00 809AF920 50410006 */ beql $v0, $at, .L809AF93C
/* 01A04 809AF924 8CED01A8 */ lw $t5, 0x01A8($a3) ## 000001A8
/* 01A08 809AF928 10620003 */ beq $v1, $v0, .L809AF938
/* 01A0C 809AF92C 2401000D */ addiu $at, $zero, 0x000D ## $at = 0000000D
/* 01A10 809AF930 54410021 */ bnel $v0, $at, .L809AF9B8
/* 01A14 809AF934 2401000F */ addiu $at, $zero, 0x000F ## $at = 0000000F
.L809AF938:
/* 01A18 809AF938 8CED01A8 */ lw $t5, 0x01A8($a3) ## 000001A8
.L809AF93C:
/* 01A1C 809AF93C 24030006 */ addiu $v1, $zero, 0x0006 ## $v1 = 00000006
/* 01A20 809AF940 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 01A24 809AF944 106D0009 */ beq $v1, $t5, .L809AF96C
/* 01A28 809AF948 00C02825 */ or $a1, $a2, $zero ## $a1 = 00000000
/* 01A2C 809AF94C 0C26BD56 */ jal func_809AF558
/* 01A30 809AF950 AFA70030 */ sw $a3, 0x0030($sp)
/* 01A34 809AF954 8FA70030 */ lw $a3, 0x0030($sp)
/* 01A38 809AF958 90EE00B0 */ lbu $t6, 0x00B0($a3) ## 000000B0
/* 01A3C 809AF95C 51C00024 */ beql $t6, $zero, .L809AF9F0
/* 01A40 809AF960 8FBF0014 */ lw $ra, 0x0014($sp)
/* 01A44 809AF964 10000021 */ beq $zero, $zero, .L809AF9EC
/* 01A48 809AF968 A0E000AF */ sb $zero, 0x00AF($a3) ## 000000AF
.L809AF96C:
/* 01A4C 809AF96C 54620020 */ bnel $v1, $v0, .L809AF9F0
/* 01A50 809AF970 8FBF0014 */ lw $ra, 0x0014($sp)
/* 01A54 809AF974 8CF80024 */ lw $t8, 0x0024($a3) ## 00000024
/* 01A58 809AF978 27A50020 */ addiu $a1, $sp, 0x0020 ## $a1 = FFFFFFF0
/* 01A5C 809AF97C 3C014248 */ lui $at, 0x4248 ## $at = 42480000
/* 01A60 809AF980 ACB80000 */ sw $t8, 0x0000($a1) ## FFFFFFF0
/* 01A64 809AF984 8CEF0028 */ lw $t7, 0x0028($a3) ## 00000028
/* 01A68 809AF988 44813000 */ mtc1 $at, $f6 ## $f6 = 50.00
/* 01A6C 809AF98C 00C02025 */ or $a0, $a2, $zero ## $a0 = 00000000
/* 01A70 809AF990 ACAF0004 */ sw $t7, 0x0004($a1) ## FFFFFFF4
/* 01A74 809AF994 8CF8002C */ lw $t8, 0x002C($a3) ## 0000002C
/* 01A78 809AF998 ACB80008 */ sw $t8, 0x0008($a1) ## FFFFFFF8
/* 01A7C 809AF99C C7A40024 */ lwc1 $f4, 0x0024($sp)
/* 01A80 809AF9A0 46062200 */ add.s $f8, $f4, $f6
/* 01A84 809AF9A4 0C018B58 */ jal CollisionCheck_SpawnShieldParticlesMetal
/* 01A88 809AF9A8 E7A80024 */ swc1 $f8, 0x0024($sp)
/* 01A8C 809AF9AC 10000010 */ beq $zero, $zero, .L809AF9F0
/* 01A90 809AF9B0 8FBF0014 */ lw $ra, 0x0014($sp)
/* 01A94 809AF9B4 2401000F */ addiu $at, $zero, 0x000F ## $at = 0000000F
.L809AF9B8:
/* 01A98 809AF9B8 10410005 */ beq $v0, $at, .L809AF9D0
/* 01A9C 809AF9BC 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 01AA0 809AF9C0 8CF901A8 */ lw $t9, 0x01A8($a3) ## 000001A8
/* 01AA4 809AF9C4 00C02825 */ or $a1, $a2, $zero ## $a1 = 00000000
/* 01AA8 809AF9C8 14790006 */ bne $v1, $t9, .L809AF9E4
/* 01AAC 809AF9CC 00000000 */ nop
.L809AF9D0:
/* 01AB0 809AF9D0 A0E000AF */ sb $zero, 0x00AF($a3) ## 000000AF
/* 01AB4 809AF9D4 0C26B9C7 */ jal func_809AE71C
/* 01AB8 809AF9D8 00C02825 */ or $a1, $a2, $zero ## $a1 = 00000000
/* 01ABC 809AF9DC 10000004 */ beq $zero, $zero, .L809AF9F0
/* 01AC0 809AF9E0 8FBF0014 */ lw $ra, 0x0014($sp)
.L809AF9E4:
/* 01AC4 809AF9E4 0C26B9FD */ jal func_809AE7F4
/* 01AC8 809AF9E8 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
.L809AF9EC:
/* 01ACC 809AF9EC 8FBF0014 */ lw $ra, 0x0014($sp)
.L809AF9F0:
/* 01AD0 809AF9F0 27BD0030 */ addiu $sp, $sp, 0x0030 ## $sp = 00000000
/* 01AD4 809AF9F4 03E00008 */ jr $ra
/* 01AD8 809AF9F8 00000000 */ nop

View file

@ -1,21 +0,0 @@
glabel func_809AFD9C
/* 01E7C 809AFD9C 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 01E80 809AFDA0 AFA60020 */ sw $a2, 0x0020($sp)
/* 01E84 809AFDA4 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 01E88 809AFDA8 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 01E8C 809AFDAC AFBF0014 */ sw $ra, 0x0014($sp)
/* 01E90 809AFDB0 AFA40018 */ sw $a0, 0x0018($sp)
/* 01E94 809AFDB4 14A10007 */ bne $a1, $at, .L809AFDD4
/* 01E98 809AFDB8 AFA70024 */ sw $a3, 0x0024($sp)
/* 01E9C 809AFDBC 8FA40028 */ lw $a0, 0x0028($sp)
/* 01EA0 809AFDC0 848E0264 */ lh $t6, 0x0264($a0) ## 00000264
/* 01EA4 809AFDC4 51C00004 */ beql $t6, $zero, .L809AFDD8
/* 01EA8 809AFDC8 8FBF0014 */ lw $ra, 0x0014($sp)
/* 01EAC 809AFDCC 0C26BDF3 */ jal func_809AF7CC
/* 01EB0 809AFDD0 00C02825 */ or $a1, $a2, $zero ## $a1 = 00000000
.L809AFDD4:
/* 01EB4 809AFDD4 8FBF0014 */ lw $ra, 0x0014($sp)
.L809AFDD8:
/* 01EB8 809AFDD8 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 01EBC 809AFDDC 03E00008 */ jr $ra
/* 01EC0 809AFDE0 00000000 */ nop

View file

@ -148,7 +148,7 @@ glabel func_809B1A54
/* 00B2C 809B1C4C 46045480 */ add.s $f18, $f10, $f4
/* 00B30 809B1C50 24060080 */ addiu $a2, $zero, 0x0080 ## $a2 = 00000080
/* 00B34 809B1C54 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00B38 809B1C58 0C00D09B */ jal func_8003426C
/* 00B38 809B1C58 0C00D09B */ jal Actor_SetColorFilter
/* 00B3C 809B1C5C E7B20048 */ swc1 $f18, 0x0048($sp)
/* 00B40 809B1C60 2419FFFF */ addiu $t9, $zero, 0xFFFF ## $t9 = FFFFFFFF
/* 00B44 809B1C64 AFB90018 */ sw $t9, 0x0018($sp)

View file

@ -21,7 +21,7 @@ glabel func_809B7174
/* 00E6C 809B71BC AFA80010 */ sw $t0, 0x0010($sp)
/* 00E70 809B71C0 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 00E74 809B71C4 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 00E78 809B71C8 0C00D09B */ jal func_8003426C
/* 00E78 809B71C8 0C00D09B */ jal Actor_SetColorFilter
/* 00E7C 809B71CC 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00E80 809B71D0 3C05809B */ lui $a1, %hi(func_809B71F0) ## $a1 = 809B0000
/* 00E84 809B71D4 8FA40020 */ lw $a0, 0x0020($sp)

View file

@ -39,7 +39,7 @@ glabel func_809BD524
.L809BD5B0:
/* 00950 809BD5B0 860E0196 */ lh $t6, 0x0196($s0) ## 00000196
/* 00954 809BD5B4 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00958 809BD5B8 0C00D09B */ jal func_8003426C
/* 00958 809BD5B8 0C00D09B */ jal Actor_SetColorFilter
/* 0095C 809BD5BC AFAE0010 */ sw $t6, 0x0010($sp)
/* 00960 809BD5C0 3C0F809C */ lui $t7, %hi(func_809BE058) ## $t7 = 809C0000
/* 00964 809BD5C4 25EFE058 */ addiu $t7, $t7, %lo(func_809BE058) ## $t7 = 809BE058

View file

@ -19,7 +19,7 @@ glabel func_809BD5E0
/* 009C4 809BD624 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 009C8 809BD628 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 009CC 809BD62C 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 009D0 809BD630 0C00D09B */ jal func_8003426C
/* 009D0 809BD630 0C00D09B */ jal Actor_SetColorFilter
/* 009D4 809BD634 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 009D8 809BD638 3C08809C */ lui $t0, %hi(func_809BE180) ## $t0 = 809C0000
/* 009DC 809BD63C 2508E180 */ addiu $t0, $t0, %lo(func_809BE180) ## $t0 = 809BE180

View file

@ -23,7 +23,7 @@ glabel func_809CAEF4
/* 00438 809CAF48 44188000 */ mfc1 $t8, $f16
/* 0043C 809CAF4C 00000000 */ nop
/* 00440 809CAF50 A61801AE */ sh $t8, 0x01AE($s0) ## 000001AE
/* 00444 809CAF54 0C00D09B */ jal func_8003426C
/* 00444 809CAF54 0C00D09B */ jal Actor_SetColorFilter
/* 00448 809CAF58 AFB90010 */ sw $t9, 0x0010($sp)
/* 0044C 809CAF5C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00450 809CAF60 0C00BE0A */ jal Audio_PlayActorSound2

View file

@ -97,7 +97,7 @@ glabel EnClearTag_Update
/* 00764 809D3D14 AFAF0010 */ sw $t7, 0x0010($sp)
/* 00768 809D3D18 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 0076C 809D3D1C 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 00770 809D3D20 0C00D09B */ jal func_8003426C
/* 00770 809D3D20 0C00D09B */ jal Actor_SetColorFilter
/* 00774 809D3D24 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00778 809D3D28 3C014170 */ lui $at, 0x4170 ## $at = 41700000
/* 0077C 809D3D2C 44816000 */ mtc1 $at, $f12 ## $f12 = 15.00

View file

@ -38,7 +38,7 @@ glabel func_809E60A8
/* 00950 809E6120 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00954 809E6124 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 00958 809E6128 2406009B */ addiu $a2, $zero, 0x009B ## $a2 = 0000009B
/* 0095C 809E612C 0C00D09B */ jal func_8003426C
/* 0095C 809E612C 0C00D09B */ jal Actor_SetColorFilter
/* 00960 809E6130 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00964 809E6134 10000006 */ beq $zero, $zero, .L809E6150
/* 00968 809E6138 00000000 */ nop
@ -46,7 +46,7 @@ glabel func_809E60A8
/* 0096C 809E613C 2409002A */ addiu $t1, $zero, 0x002A ## $t1 = 0000002A
/* 00970 809E6140 AFA90010 */ sw $t1, 0x0010($sp)
/* 00974 809E6144 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 00978 809E6148 0C00D09B */ jal func_8003426C
/* 00978 809E6148 0C00D09B */ jal Actor_SetColorFilter
/* 0097C 809E614C 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
.L809E6150:
/* 00980 809E6150 3C0A809E */ lui $t2, %hi(func_809E78DC) ## $t2 = 809E0000

View file

@ -14,7 +14,7 @@ glabel func_809E63EC
/* 00C4C 809E641C AFB90010 */ sw $t9, 0x0010($sp)
/* 00C50 809E6420 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 00C54 809E6424 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 00C58 809E6428 0C00D09B */ jal func_8003426C
/* 00C58 809E6428 0C00D09B */ jal Actor_SetColorFilter
/* 00C5C 809E642C 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00C60 809E6430 8FA40020 */ lw $a0, 0x0020($sp)
/* 00C64 809E6434 3C0A809E */ lui $t2, %hi(func_809E7A88) ## $t2 = 809E0000

View file

@ -31,7 +31,7 @@ glabel func_80A00600
/* 006D0 80A00670 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 006D4 80A00674 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 006D8 80A00678 240600C8 */ addiu $a2, $zero, 0x00C8 ## $a2 = 000000C8
/* 006DC 80A0067C 0C00D09B */ jal func_8003426C
/* 006DC 80A0067C 0C00D09B */ jal Actor_SetColorFilter
/* 006E0 80A00680 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 006E4 80A00684 92180299 */ lbu $t8, 0x0299($s0) ## 00000299
/* 006E8 80A00688 3C0880A0 */ lui $t0, %hi(func_80A01104) ## $t0 = 80A00000

View file

@ -9,7 +9,7 @@ glabel func_80A006B0
/* 0072C 80A006CC AFAF0010 */ sw $t7, 0x0010($sp)
/* 00730 80A006D0 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 00734 80A006D4 240600C8 */ addiu $a2, $zero, 0x00C8 ## $a2 = 000000C8
/* 00738 80A006D8 0C00D09B */ jal func_8003426C
/* 00738 80A006D8 0C00D09B */ jal Actor_SetColorFilter
/* 0073C 80A006DC 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00740 80A006E0 8E1802A8 */ lw $t8, 0x02A8($s0) ## 000002A8
/* 00744 80A006E4 24010019 */ addiu $at, $zero, 0x0019 ## $at = 00000019

View file

@ -33,7 +33,7 @@ glabel func_80A00794
/* 0086C 80A0080C AFB90010 */ sw $t9, 0x0010($sp)
/* 00870 80A00810 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 00874 80A00814 240600C8 */ addiu $a2, $zero, 0x00C8 ## $a2 = 000000C8
/* 00878 80A00818 0C00D09B */ jal func_8003426C
/* 00878 80A00818 0C00D09B */ jal Actor_SetColorFilter
/* 0087C 80A0081C 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00880 80A00820 92080298 */ lbu $t0, 0x0298($s0) ## 00000298
/* 00884 80A00824 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000

View file

@ -8,7 +8,7 @@ glabel func_80A4A50C
/* 01664 80A4A524 AFAE0010 */ sw $t6, 0x0010($sp)
/* 01668 80A4A528 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 0166C 80A4A52C 240600B4 */ addiu $a2, $zero, 0x00B4 ## $a2 = 000000B4
/* 01670 80A4A530 0C00D09B */ jal func_8003426C
/* 01670 80A4A530 0C00D09B */ jal Actor_SetColorFilter
/* 01674 80A4A534 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 01678 80A4A538 861802CC */ lh $t8, 0x02CC($s0) ## 000002CC
/* 0167C 80A4A53C 240F0002 */ addiu $t7, $zero, 0x0002 ## $t7 = 00000002

View file

@ -126,7 +126,7 @@ glabel func_80A4A6AC
/* 019A8 80A4A868 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 019AC 80A4A86C 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 019B0 80A4A870 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 019B4 80A4A874 0C00D09B */ jal func_8003426C
/* 019B4 80A4A874 0C00D09B */ jal Actor_SetColorFilter
/* 019B8 80A4A878 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 019BC 80A4A87C 240F000D */ addiu $t7, $zero, 0x000D ## $t7 = 0000000D
/* 019C0 80A4A880 1000000F */ beq $zero, $zero, .L80A4A8C0

View file

@ -20,7 +20,7 @@ glabel func_80AD167C
/* 02220 80AD16C0 24180050 */ addiu $t8, $zero, 0x0050 ## $t8 = 00000050
/* 02224 80AD16C4 A48F0032 */ sh $t7, 0x0032($a0) ## 00000032
/* 02228 80AD16C8 AFA40020 */ sw $a0, 0x0020($sp)
/* 0222C 80AD16CC 0C00D09B */ jal func_8003426C
/* 0222C 80AD16CC 0C00D09B */ jal Actor_SetColorFilter
/* 02230 80AD16D0 AFB80010 */ sw $t8, 0x0010($sp)
/* 02234 80AD16D4 8FA40020 */ lw $a0, 0x0020($sp)
/* 02238 80AD16D8 0C00BE0A */ jal Audio_PlayActorSound2

View file

@ -11,7 +11,7 @@ glabel func_80AD177C
/* 02300 80AD17A0 AFAF0010 */ sw $t7, 0x0010($sp)
/* 02304 80AD17A4 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 02308 80AD17A8 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 0230C 80AD17AC 0C00D09B */ jal func_8003426C
/* 0230C 80AD17AC 0C00D09B */ jal Actor_SetColorFilter
/* 02310 80AD17B0 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 02314 80AD17B4 8FA40020 */ lw $a0, 0x0020($sp)
/* 02318 80AD17B8 44803000 */ mtc1 $zero, $f6 ## $f6 = 0.00

View file

@ -65,7 +65,7 @@ glabel func_80AD1BD8
/* 02820 80AD1CC0 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 02824 80AD1CC4 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 02828 80AD1CC8 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 0282C 80AD1CCC 0C00D09B */ jal func_8003426C
/* 0282C 80AD1CCC 0C00D09B */ jal Actor_SetColorFilter
/* 02830 80AD1CD0 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 02834 80AD1CD4 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 02838 80AD1CD8 0C00BE0A */ jal Audio_PlayActorSound2
@ -117,7 +117,7 @@ glabel func_80AD1BD8
/* 028D8 80AD1D78 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 028DC 80AD1D7C 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 028E0 80AD1D80 240600C8 */ addiu $a2, $zero, 0x00C8 ## $a2 = 000000C8
/* 028E4 80AD1D84 0C00D09B */ jal func_8003426C
/* 028E4 80AD1D84 0C00D09B */ jal Actor_SetColorFilter
/* 028E8 80AD1D88 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
.L80AD1D8C:
/* 028EC 80AD1D8C 922900AF */ lbu $t1, 0x00AF($s1) ## 000000AF

View file

@ -65,7 +65,7 @@ glabel func_80AFD968
/* 010A8 80AFDA48 24060078 */ addiu $a2, $zero, 0x0078 ## $a2 = 00000078
/* 010AC 80AFDA4C 24090050 */ addiu $t1, $zero, 0x0050 ## $t1 = 00000050
/* 010B0 80AFDA50 AFA90010 */ sw $t1, 0x0010($sp)
/* 010B4 80AFDA54 0C00D09B */ jal func_8003426C
/* 010B4 80AFDA54 0C00D09B */ jal Actor_SetColorFilter
/* 010B8 80AFDA58 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 010BC 80AFDA5C 0C00D58A */ jal Actor_ApplyDamage
@ -137,7 +137,7 @@ glabel func_80AFD968
/* 011AC 80AFDB4C 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 011B0 80AFDB50 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 011B4 80AFDB54 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 011B8 80AFDB58 0C00D09B */ jal func_8003426C
/* 011B8 80AFDB58 0C00D09B */ jal Actor_SetColorFilter
/* 011BC 80AFDB5C AFA30010 */ sw $v1, 0x0010($sp)
/* 011C0 80AFDB60 0C00D58A */ jal Actor_ApplyDamage

View file

@ -66,7 +66,7 @@ glabel func_80AFEC3C
/* 00A84 80AFED34 AFAD0010 */ sw $t5, 0x0010($sp)
/* 00A88 80AFED38 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 00A8C 80AFED3C 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 00A90 80AFED40 0C00D09B */ jal func_8003426C
/* 00A90 80AFED40 0C00D09B */ jal Actor_SetColorFilter
/* 00A94 80AFED44 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00A98 80AFED48 0C2BFC5B */ jal func_80AFF16C
/* 00A9C 80AFED4C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
@ -81,7 +81,7 @@ glabel func_80AFEC3C
/* 00AB8 80AFED68 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00ABC 80AFED6C 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 00AC0 80AFED70 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 00AC4 80AFED74 0C00D09B */ jal func_8003426C
/* 00AC4 80AFED74 0C00D09B */ jal Actor_SetColorFilter
/* 00AC8 80AFED78 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00ACC 80AFED7C 920F00AF */ lbu $t7, 0x00AF($s0) ## 000000AF
/* 00AD0 80AFED80 11E0000E */ beq $t7, $zero, .L80AFEDBC

View file

@ -21,7 +21,7 @@ glabel func_80862154
/* 02B4C 8086219C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02B50 808621A0 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 02B54 808621A4 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 02B58 808621A8 0C00D09B */ jal func_8003426C
/* 02B58 808621A8 0C00D09B */ jal Actor_SetColorFilter
/* 02B5C 808621AC 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 02B60 808621B0 3C058086 */ lui $a1, %hi(func_808621D4) ## $a1 = 80860000
/* 02B64 808621B4 24A521D4 */ addiu $a1, $a1, %lo(func_808621D4) ## $a1 = 808621D4

View file

@ -21,7 +21,7 @@ glabel func_80862398
/* 02D90 808623E0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02D94 808623E4 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 02D98 808623E8 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 02D9C 808623EC 0C00D09B */ jal func_8003426C
/* 02D9C 808623EC 0C00D09B */ jal Actor_SetColorFilter
/* 02DA0 808623F0 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 02DA4 808623F4 3C058086 */ lui $a1, %hi(func_80862418) ## $a1 = 80860000
/* 02DA8 808623F8 24A52418 */ addiu $a1, $a1, %lo(func_80862418) ## $a1 = 80862418

View file

@ -19,7 +19,7 @@ glabel func_80862578
/* 02F6C 808625BC AFB80010 */ sw $t8, 0x0010($sp)
/* 02F70 808625C0 24058000 */ addiu $a1, $zero, 0x8000 ## $a1 = FFFF8000
/* 02F74 808625C4 24060078 */ addiu $a2, $zero, 0x0078 ## $a2 = 00000078
/* 02F78 808625C8 0C00D09B */ jal func_8003426C
/* 02F78 808625C8 0C00D09B */ jal Actor_SetColorFilter
/* 02F7C 808625CC 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 02F80 808625D0 10000014 */ beq $zero, $zero, .L80862624
/* 02F84 808625D4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
@ -29,7 +29,7 @@ glabel func_80862578
/* 02F90 808625E0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 02F94 808625E4 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 02F98 808625E8 24060078 */ addiu $a2, $zero, 0x0078 ## $a2 = 00000078
/* 02F9C 808625EC 0C00D09B */ jal func_8003426C
/* 02F9C 808625EC 0C00D09B */ jal Actor_SetColorFilter
/* 02FA0 808625F0 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 02FA4 808625F4 920807E2 */ lbu $t0, 0x07E2($s0) ## 000007E2
/* 02FA8 808625F8 2401000F */ addiu $at, $zero, 0x000F ## $at = 0000000F

View file

@ -1364,7 +1364,7 @@ glabel EnTorch2_Update
/* 017B8 80B1F138 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 017BC 80B1F13C 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 017C0 80B1F140 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 017C4 80B1F144 0C00D09B */ jal func_8003426C
/* 017C4 80B1F144 0C00D09B */ jal Actor_SetColorFilter
/* 017C8 80B1F148 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 017CC 80B1F14C 10000039 */ beq $zero, $zero, .L80B1F234
/* 017D0 80B1F150 A20000B0 */ sb $zero, 0x00B0($s0) ## 000000B0
@ -1372,7 +1372,7 @@ glabel EnTorch2_Update
/* 017D4 80B1F154 240A0050 */ addiu $t2, $zero, 0x0050 ## $t2 = 00000050
/* 017D8 80B1F158 AFAA0010 */ sw $t2, 0x0010($sp)
/* 017DC 80B1F15C 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 017E0 80B1F160 0C00D09B */ jal func_8003426C
/* 017E0 80B1F160 0C00D09B */ jal Actor_SetColorFilter
/* 017E4 80B1F164 24072000 */ addiu $a3, $zero, 0x2000 ## $a3 = 00002000
/* 017E8 80B1F168 10000032 */ beq $zero, $zero, .L80B1F234
/* 017EC 80B1F16C A20000B0 */ sb $zero, 0x00B0($s0) ## 000000B0
@ -1415,7 +1415,7 @@ glabel EnTorch2_Update
/* 0187C 80B1F1FC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01880 80B1F200 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 01884 80B1F204 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 01888 80B1F208 0C00D09B */ jal func_8003426C
/* 01888 80B1F208 0C00D09B */ jal Actor_SetColorFilter
/* 0188C 80B1F20C 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 01890 80B1F210 10000008 */ beq $zero, $zero, .L80B1F234
/* 01894 80B1F214 A20000B0 */ sb $zero, 0x00B0($s0) ## 000000B0
@ -1424,7 +1424,7 @@ glabel EnTorch2_Update
/* 0189C 80B1F21C AFB80010 */ sw $t8, 0x0010($sp)
/* 018A0 80B1F220 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 018A4 80B1F224 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 018A8 80B1F228 0C00D09B */ jal func_8003426C
/* 018A8 80B1F228 0C00D09B */ jal Actor_SetColorFilter
/* 018AC 80B1F22C 24072000 */ addiu $a3, $zero, 0x2000 ## $a3 = 00002000
.L80B1F230:
/* 018B0 80B1F230 A20000B0 */ sb $zero, 0x00B0($s0) ## 000000B0

View file

@ -76,7 +76,7 @@ glabel func_80B221E8
/* 01518 80B222F8 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 0151C 80B222FC 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 01520 80B22300 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 01524 80B22304 0C00D09B */ jal func_8003426C
/* 01524 80B22304 0C00D09B */ jal Actor_SetColorFilter
/* 01528 80B22308 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 0152C 80B2230C 10000008 */ beq $zero, $zero, .L80B22330
/* 01530 80B22310 8E300118 */ lw $s0, 0x0118($s1) ## 00000118
@ -85,7 +85,7 @@ glabel func_80B221E8
/* 01538 80B22318 AFAF0010 */ sw $t7, 0x0010($sp)
/* 0153C 80B2231C 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 01540 80B22320 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 01544 80B22324 0C00D09B */ jal func_8003426C
/* 01544 80B22324 0C00D09B */ jal Actor_SetColorFilter
/* 01548 80B22328 24072000 */ addiu $a3, $zero, 0x2000 ## $a3 = 00002000
.L80B2232C:
/* 0154C 80B2232C 8E300118 */ lw $s0, 0x0118($s1) ## 00000118
@ -110,7 +110,7 @@ glabel func_80B221E8
/* 0158C 80B2236C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01590 80B22370 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 01594 80B22374 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 01598 80B22378 0C00D09B */ jal func_8003426C
/* 01598 80B22378 0C00D09B */ jal Actor_SetColorFilter
/* 0159C 80B2237C 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 015A0 80B22380 10000008 */ beq $zero, $zero, .L80B223A4
/* 015A4 80B22384 8E100118 */ lw $s0, 0x0118($s0) ## 00000118
@ -119,7 +119,7 @@ glabel func_80B221E8
/* 015AC 80B2238C AFA90010 */ sw $t1, 0x0010($sp)
/* 015B0 80B22390 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 015B4 80B22394 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 015B8 80B22398 0C00D09B */ jal func_8003426C
/* 015B8 80B22398 0C00D09B */ jal Actor_SetColorFilter
/* 015BC 80B2239C 24072000 */ addiu $a3, $zero, 0x2000 ## $a3 = 00002000
.L80B223A0:
/* 015C0 80B223A0 8E100118 */ lw $s0, 0x0118($s0) ## 00000118
@ -142,7 +142,7 @@ glabel func_80B221E8
/* 015F8 80B223D8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 015FC 80B223DC 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 01600 80B223E0 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 01604 80B223E4 0C00D09B */ jal func_8003426C
/* 01604 80B223E4 0C00D09B */ jal Actor_SetColorFilter
/* 01608 80B223E8 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 0160C 80B223EC 10000009 */ beq $zero, $zero, .L80B22414
/* 01610 80B223F0 8E10011C */ lw $s0, 0x011C($s0) ## 0000011C
@ -152,7 +152,7 @@ glabel func_80B221E8
/* 0161C 80B223FC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01620 80B22400 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 01624 80B22404 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 01628 80B22408 0C00D09B */ jal func_8003426C
/* 01628 80B22408 0C00D09B */ jal Actor_SetColorFilter
/* 0162C 80B2240C 24072000 */ addiu $a3, $zero, 0x2000 ## $a3 = 00002000
.L80B22410:
/* 01630 80B22410 8E10011C */ lw $s0, 0x011C($s0) ## 0000011C

View file

@ -13,7 +13,7 @@ glabel func_80B26B4C
/* 004C8 80B26B78 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 004CC 80B26B7C 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 004D0 80B26B80 24060096 */ addiu $a2, $zero, 0x0096 ## $a2 = 00000096
/* 004D4 80B26B84 0C00D09B */ jal func_8003426C
/* 004D4 80B26B84 0C00D09B */ jal Actor_SetColorFilter
/* 004D8 80B26B88 24072000 */ addiu $a3, $zero, 0x2000 ## $a3 = 00002000
/* 004DC 80B26B8C 920F040D */ lbu $t7, 0x040D($s0) ## 0000040D
/* 004E0 80B26B90 3C1980B2 */ lui $t9, %hi(func_80B273D0) ## $t9 = 80B20000

View file

@ -11,7 +11,7 @@ glabel func_80B26BF8
/* 0056C 80B26C1C AFA40020 */ sw $a0, 0x0020($sp)
/* 00570 80B26C20 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 00574 80B26C24 24060096 */ addiu $a2, $zero, 0x0096 ## $a2 = 00000096
/* 00578 80B26C28 0C00D09B */ jal func_8003426C
/* 00578 80B26C28 0C00D09B */ jal Actor_SetColorFilter
/* 0057C 80B26C2C 24072000 */ addiu $a3, $zero, 0x2000 ## $a3 = 00002000
/* 00580 80B26C30 8FA40020 */ lw $a0, 0x0020($sp)
/* 00584 80B26C34 3C0880B2 */ lui $t0, %hi(func_80B27464) ## $t0 = 80B20000

View file

@ -17,7 +17,7 @@ glabel func_80B26D54
/* 006E0 80B26D90 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 006E4 80B26D94 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 006E8 80B26D98 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 006EC 80B26D9C 0C00D09B */ jal func_8003426C
/* 006EC 80B26D9C 0C00D09B */ jal Actor_SetColorFilter
/* 006F0 80B26DA0 24072000 */ addiu $a3, $zero, 0x2000 ## $a3 = 00002000
/* 006F4 80B26DA4 A2000420 */ sb $zero, 0x0420($s0) ## 00000420
/* 006F8 80B26DA8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000

View file

@ -8,7 +8,7 @@ glabel func_80B26DE0
/* 00748 80B26DF8 AFAE0010 */ sw $t6, 0x0010($sp)
/* 0074C 80B26DFC 00002825 */ or $a1, $zero, $zero ## $a1 = 00000000
/* 00750 80B26E00 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 00754 80B26E04 0C00D09B */ jal func_8003426C
/* 00754 80B26E04 0C00D09B */ jal Actor_SetColorFilter
/* 00758 80B26E08 24072000 */ addiu $a3, $zero, 0x2000 ## $a3 = 00002000
/* 0075C 80B26E0C 8FA40020 */ lw $a0, 0x0020($sp)
/* 00760 80B26E10 3C0880B2 */ lui $t0, %hi(func_80B27710) ## $t0 = 80B20000

View file

@ -73,7 +73,7 @@ glabel func_80B2790C
/* 0135C 80B27A0C AFAE0010 */ sw $t6, 0x0010($sp)
/* 01360 80B27A10 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 01364 80B27A14 24060096 */ addiu $a2, $zero, 0x0096 ## $a2 = 00000096
/* 01368 80B27A18 0C00D09B */ jal func_8003426C
/* 01368 80B27A18 0C00D09B */ jal Actor_SetColorFilter
/* 0136C 80B27A1C 24072000 */ addiu $a3, $zero, 0x2000 ## $a3 = 00002000
/* 01370 80B27A20 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001
/* 01374 80B27A24 A60F001C */ sh $t7, 0x001C($s0) ## 0000001C

View file

@ -84,7 +84,7 @@ glabel func_80B37038
/* 034B4 80B37164 240D0050 */ addiu $t5, $zero, 0x0050 ## $t5 = 00000050
/* 034B8 80B37168 AFAD0010 */ sw $t5, 0x0010($sp)
/* 034BC 80B3716C 24060078 */ addiu $a2, $zero, 0x0078 ## $a2 = 00000078
/* 034C0 80B37170 0C00D09B */ jal func_8003426C
/* 034C0 80B37170 0C00D09B */ jal Actor_SetColorFilter
/* 034C4 80B37174 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 034C8 80B37178 0C00D58A */ jal Actor_ApplyDamage
@ -98,7 +98,7 @@ glabel func_80B37038
/* 034E4 80B37194 AFAE0010 */ sw $t6, 0x0010($sp)
/* 034E8 80B37198 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 034EC 80B3719C 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 034F0 80B371A0 0C00D09B */ jal func_8003426C
/* 034F0 80B371A0 0C00D09B */ jal Actor_SetColorFilter
/* 034F4 80B371A4 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 034F8 80B371A8 920F02E6 */ lbu $t7, 0x02E6($s0) ## 000002E6
/* 034FC 80B371AC 2401000E */ addiu $at, $zero, 0x000E ## $at = 0000000E

View file

@ -44,7 +44,7 @@ glabel func_80B490B4
/* 05104 80B49154 24090050 */ addiu $t1, $zero, 0x0050 ## $t1 = 00000050
/* 05108 80B49158 AFA90010 */ sw $t1, 0x0010($sp)
/* 0510C 80B4915C 24060078 */ addiu $a2, $zero, 0x0078 ## $a2 = 00000078
/* 05110 80B49160 0C00D09B */ jal func_8003426C
/* 05110 80B49160 0C00D09B */ jal Actor_SetColorFilter
/* 05114 80B49164 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 05118 80B49168 0C00D58A */ jal Actor_ApplyDamage
@ -62,7 +62,7 @@ glabel func_80B490B4
/* 05140 80B49190 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 05144 80B49194 24054000 */ addiu $a1, $zero, 0x4000 ## $a1 = 00004000
/* 05148 80B49198 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 0514C 80B4919C 0C00D09B */ jal func_8003426C
/* 0514C 80B4919C 0C00D09B */ jal Actor_SetColorFilter
/* 05150 80B491A0 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 05154 80B491A4 0C00D58A */ jal Actor_ApplyDamage

View file

@ -1,3 +0,0 @@
*.bin
*.c
*.h

View file

@ -0,0 +1,9 @@
<Root>
<File Name="object_am" Segment="6">
<Skeleton Name="gArmosSkel" Type="Normal" LimbType="Standard" Offset="0x5948"/>
<Animation Name="gArmosRicochetAnim" Offset="0x33C"/>
<Animation Name="gArmosHopAnim" Offset="0x238"/>
<Animation Name="gArmosDamagedAnim" Offset="0x5B3C"/>
<Collision Name="gArmosCol" Offset="0x118"/>
</File>
</Root>

View file

@ -1,52 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purpose registers
.section .data
.balign 16
glabel En_Am_InitVars
.word 0x00540500, 0x04000015, 0x00380000, 0x0000038C
.word EnAm_Init
.word EnAm_Destroy
.word EnAm_Update
.word EnAm_Draw
glabel D_809AFF80
.word 0x05000939, 0x10010000, 0x00000000, 0x00000000, 0x00000000, 0xFFCFFFFF, 0x00000000, 0x00010100, 0x000F0046, 0x00000000, 0x00000000
glabel D_809AFFAC
.word 0x09000D00, 0x00010000, 0x00000000, 0x00000000, 0x00000000, 0x00400106, 0x00000000, 0x00010000, 0x000F0046, 0x00000000, 0x00000000
glabel D_809AFFD8
.word 0x0A110000, 0x00030000, 0x00000000, 0xFFCFFFFF, 0x00080000, 0x00000000, 0x00000000, 0x01000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
glabel D_809B0028
.word 0x100201F2, 0x60F2F260, 0x01F2F4F2, 0xD4F20202, 0x02E0D3E0, 0x000001F4, 0xF202F8F4, 0x0000F400
glabel D_809B0048
.word 0x89170013, 0xB86CF060, 0x304C14B4
glabel D_809B0054
.word 0x64646400
glabel D_809B0058
.word 0x28282800
glabel D_809B005C
.word 0x00000000, 0xBFC00000, 0x00000000
glabel D_809B0068
.word 0x00000000, 0xBE4CCCCD, 0x00000000
glabel D_809B0074
.word 0x451C4000, 0x45DAC000, 0x00000000
glabel D_809B0080
.word 0xC51C4000, 0x00000000, 0x00000000
glabel D_809B008C
.word 0x451C4000, 0x45DAC000, 0x457A0000
glabel D_809B0098
.word 0xC51C4000, 0x00000000, 0x457A0000
glabel D_809B00A4
.word 0x00000000, 0x00000000, 0x00000000
glabel D_809B00B0
.word 0x969696FF
glabel D_809B00B4
.word 0x64646496, 0x44898000, 0xC42F0000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
glabel D_809B00D0
.word 0x41A00000, 0x42200000, 0x00000000, 0x41200000, 0x42700000, 0x41200000, 0xC1200000, 0x42700000, 0x41200000, 0xC1A00000, 0x42200000, 0x00000000, 0x41200000, 0x42700000, 0xC1200000, 0xC1200000, 0x42700000, 0xC1200000, 0x00000000, 0x42200000, 0xC1A00000, 0x41200000, 0x41A00000, 0x41200000, 0x41200000, 0x41A00000, 0xC1200000, 0x00000000, 0x42200000, 0x41A00000, 0xC1200000, 0x41A00000, 0x41200000, 0xC1200000, 0x41A00000, 0xC1200000

View file

@ -1,13 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purpose registers
.section .rodata
.balign 16
glabel D_809B0190
.incbin "baserom/ovl_En_Am", 0x2270, 0x000001E0

View file

@ -499,7 +499,7 @@ f32 Rand_ZeroFloat(f32 f);
f32 Rand_CenteredFloat(f32 f);
void Actor_DrawDoorLock(GlobalContext* globalCtx, s32 arg1, s32 arg2);
void func_8003424C(GlobalContext* globalCtx, Vec3f* arg1);
void func_8003426C(Actor* actor, s16 arg1, s16 arg2, s16 arg3, s16 arg4);
void Actor_SetColorFilter(Actor* actor, s16 colorFlag, s16 colorIntensityMax, s16 xluFlag, s16 duration);
Hilite* func_800342EC(Vec3f* object, GlobalContext* globalCtx);
Hilite* func_8003435C(Vec3f* object, GlobalContext* globalCtx);
s32 func_800343CC(GlobalContext* globalCtx, Actor* actor, s16* arg2, f32 arg3, u16 (*unkFunc1)(GlobalContext*, Actor*),

6
spec
View file

@ -1839,8 +1839,7 @@ endseg
beginseg
name "ovl_En_Am"
include "build/src/overlays/actors/ovl_En_Am/z_en_am.o"
include "build/data/overlays/actors/z_en_am.data.o"
include "build/data/overlays/actors/z_en_am.reloc.o"
include "build/src/overlays/actors/ovl_En_Am/ovl_En_Am_reloc.o"
endseg
beginseg
@ -3800,7 +3799,8 @@ endseg
beginseg
name "object_am"
romalign 0x1000
include "build/baserom/object_am.o"
include "build/assets/objects/object_am/object_am.o"
number 6
endseg
beginseg

View file

@ -3566,13 +3566,13 @@ void func_8003424C(GlobalContext* globalCtx, Vec3f* arg1) {
CollisionCheck_SpawnShieldParticlesMetal(globalCtx, arg1);
}
void func_8003426C(Actor* actor, s16 arg1, s16 arg2, s16 arg3, s16 arg4) {
if ((arg1 == 0x8000) && !(arg2 & 0x8000)) {
void Actor_SetColorFilter(Actor* actor, s16 colorFlag, s16 colorIntensityMax, s16 xluFlag, s16 duration) {
if ((colorFlag == 0x8000) && !(colorIntensityMax & 0x8000)) {
Audio_PlayActorSound2(actor, NA_SE_EN_LIGHT_ARROW_HIT);
}
actor->colorFilterParams = arg1 | arg3 | ((arg2 & 0xF8) << 5) | arg4;
actor->colorFilterTimer = arg4;
actor->colorFilterParams = colorFlag | xluFlag | ((colorIntensityMax & 0xF8) << 5) | duration;
actor->colorFilterTimer = duration;
}
Hilite* func_800342EC(Vec3f* object, GlobalContext* globalCtx) {

View file

@ -458,7 +458,7 @@ void BgPoEvent_AmyWait(BgPoEvent* this, GlobalContext* globalCtx) {
if (this->collider.base.acFlags & AC_HIT) {
sPuzzleState |= 0x20;
this->timer = 5;
func_8003426C(&this->dyna.actor, 0x4000, 0xFF, 0, 5);
Actor_SetColorFilter(&this->dyna.actor, 0x4000, 0xFF, 0, 5);
Audio_PlayActorSound2(&this->dyna.actor, NA_SE_EN_PO_LAUGH2);
this->actionFunc = BgPoEvent_AmyPuzzle;
}

View file

@ -1,10 +1,12 @@
/*
* File: z_en_am.c
* Overlay: ovl_En_Am
* Description: Armos Statue
* Description: Armos
*/
#include "z_en_am.h"
#include "objects/object_am/object_am.h"
#include "overlays/actors/ovl_En_Bom/z_en_bom.h"
#define FLAGS 0x04000015
@ -15,13 +17,30 @@ void EnAm_Destroy(Actor* thisx, GlobalContext* globalCtx);
void EnAm_Update(Actor* thisx, GlobalContext* globalCtx);
void EnAm_Draw(Actor* thisx, GlobalContext* globalCtx);
extern UNK_TYPE D_06000118;
extern UNK_TYPE D_06000238;
extern UNK_TYPE D_0600033C;
extern UNK_TYPE D_06005948;
extern UNK_TYPE D_06005B3C;
void EnAm_SetupStatue(EnAm* this);
void EnAm_SetupSleep(EnAm* this);
void EnAm_Statue(EnAm* this, GlobalContext* globalCtx);
void EnAm_Sleep(EnAm* this, GlobalContext* globalCtx);
void EnAm_Lunge(EnAm* this, GlobalContext* globalCtx);
void EnAm_RotateToHome(EnAm* this, GlobalContext* globalCtx);
void EnAm_MoveToHome(EnAm* this, GlobalContext* globalCtx);
void EnAm_RotateToInit(EnAm* this, GlobalContext* globalCtx);
void EnAm_Cooldown(EnAm* this, GlobalContext* globalCtx);
void EnAm_Ricochet(EnAm* this, GlobalContext* globalCtx);
void EnAm_Stunned(EnAm* this, GlobalContext* globalCtx);
void EnAm_RecoilFromDamage(EnAm* this, GlobalContext* globalCtx);
typedef enum {
/* 00 */ AM_BEHAVIOR_NONE,
/* 01 */ AM_BEHAVIOR_DAMAGED,
/* 03 */ AM_BEHAVIOR_DO_NOTHING = 3,
/* 05 */ AM_BEHAVIOR_5 = 5, // checked but never set
/* 06 */ AM_BEHAVIOR_STUNNED,
/* 07 */ AM_BEHAVIOR_GO_HOME,
/* 08 */ AM_BEHAVIOR_RICOCHET,
/* 10 */ AM_BEHAVIOR_AGGRO = 10
} ArmosBehavior;
/*
const ActorInit En_Am_InitVars = {
ACTOR_EN_AM,
ACTORCAT_ENEMY,
@ -34,7 +53,7 @@ const ActorInit En_Am_InitVars = {
(ActorFunc)EnAm_Draw,
};
static ColliderCylinderInit D_809AFF80 = {
static ColliderCylinderInit sHurtCylinderInit = {
{
COLTYPE_HIT5,
AT_NONE,
@ -54,7 +73,7 @@ static ColliderCylinderInit D_809AFF80 = {
{ 15, 70, 0, { 0, 0, 0 } },
};
static ColliderCylinderInit D_809AFFAC = {
static ColliderCylinderInit sBlockCylinderInit = {
{
COLTYPE_METAL,
AT_NONE,
@ -74,7 +93,7 @@ static ColliderCylinderInit D_809AFFAC = {
{ 15, 70, 0, { 0, 0, 0 } },
};
static ColliderQuadInit D_809AFFD8 = {
static ColliderQuadInit sQuadInit = {
{
COLTYPE_NONE,
AT_ON | AT_TYPE_ENEMY,
@ -93,63 +112,865 @@ static ColliderQuadInit D_809AFFD8 = {
},
{ { { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f }, { 0.0f, 0.0f, 0.0f } } },
};
*/
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809ADF20.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809ADF28.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/EnAm_Init.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/EnAm_Destroy.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AE270.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AE40C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AE4A8.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AE538.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AE59C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AE608.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AE664.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AE6C0.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AE71C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AE7F4.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AE8A8.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AEB14.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AEC1C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AED8C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AEF00.s")
typedef enum {
/* 00 */ AM_DMGEFF_NONE, // used by anything that cant kill the armos
/* 01 */ AM_DMGEFF_NUT,
/* 06 */ AM_DMGEFF_STUN = 6, // doesnt include deku nuts
/* 13 */ AM_DMGEFF_ICE = 13,
/* 14 */ AM_DMGEFF_MAGIC_FIRE_LIGHT,
/* 15 */ AM_DMGEFF_KILL // any damage source that can kill the armos (and isnt a special case)
} ArmosDamageEffect;
static DamageTable sDamageTable = {
/* Deku nut */ DMG_ENTRY(0, AM_DMGEFF_NUT),
/* Deku stick */ DMG_ENTRY(2, AM_DMGEFF_NONE),
/* Slingshot */ DMG_ENTRY(1, AM_DMGEFF_NONE),
/* Explosive */ DMG_ENTRY(2, AM_DMGEFF_KILL),
/* Boomerang */ DMG_ENTRY(0, AM_DMGEFF_STUN),
/* Normal arrow */ DMG_ENTRY(2, AM_DMGEFF_KILL),
/* Hammer swing */ DMG_ENTRY(2, AM_DMGEFF_KILL),
/* Hookshot */ DMG_ENTRY(0, AM_DMGEFF_STUN),
/* Kokiri sword */ DMG_ENTRY(1, AM_DMGEFF_NONE),
/* Master sword */ DMG_ENTRY(2, AM_DMGEFF_KILL),
/* Giant's Knife */ DMG_ENTRY(4, AM_DMGEFF_KILL),
/* Fire arrow */ DMG_ENTRY(2, AM_DMGEFF_KILL),
/* Ice arrow */ DMG_ENTRY(4, AM_DMGEFF_ICE),
/* Light arrow */ DMG_ENTRY(2, AM_DMGEFF_KILL),
/* Unk arrow 1 */ DMG_ENTRY(2, AM_DMGEFF_NONE),
/* Unk arrow 2 */ DMG_ENTRY(2, AM_DMGEFF_NONE),
/* Unk arrow 3 */ DMG_ENTRY(2, AM_DMGEFF_NONE),
/* Fire magic */ DMG_ENTRY(0, AM_DMGEFF_MAGIC_FIRE_LIGHT),
/* Ice magic */ DMG_ENTRY(3, AM_DMGEFF_ICE),
/* Light magic */ DMG_ENTRY(0, AM_DMGEFF_MAGIC_FIRE_LIGHT),
/* Shield */ DMG_ENTRY(0, AM_DMGEFF_NONE),
/* Mirror Ray */ DMG_ENTRY(0, AM_DMGEFF_NONE),
/* Kokiri spin */ DMG_ENTRY(1, AM_DMGEFF_NONE),
/* Giant spin */ DMG_ENTRY(4, AM_DMGEFF_KILL),
/* Master spin */ DMG_ENTRY(2, AM_DMGEFF_KILL),
/* Kokiri jump */ DMG_ENTRY(2, AM_DMGEFF_NONE),
/* Giant jump */ DMG_ENTRY(8, AM_DMGEFF_KILL),
/* Master jump */ DMG_ENTRY(4, AM_DMGEFF_KILL),
/* Unknown 1 */ DMG_ENTRY(0, AM_DMGEFF_NONE),
/* Unblockable */ DMG_ENTRY(0, AM_DMGEFF_NONE),
/* Hammer jump */ DMG_ENTRY(4, AM_DMGEFF_KILL),
/* Unknown 2 */ DMG_ENTRY(0, AM_DMGEFF_NONE),
};
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AEFA4.s")
static InitChainEntry sInitChain[] = {
ICHAIN_S8(naviEnemyId, 19, ICHAIN_CONTINUE),
ICHAIN_F32_DIV1000(gravity, -4000, ICHAIN_CONTINUE),
ICHAIN_F32(targetArrowOffset, 5300, ICHAIN_STOP),
};
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AF0DC.s")
void EnAm_SetupAction(EnAm* this, EnAmActionFunc actionFunc) {
this->actionFunc = actionFunc;
}
/**
* Checks bgCheckFlags in the direction of current yaw at the specified distance.
*
* Returns true if the armos would land on the ground in the resulting position.
*
* If it won't land on the ground, it will return true anyway if the floor the armos will be on
* is no more than 20 units lower than the home position. This prevents the armos from going down steep slopes.
*/
s32 EnAm_CanMove(EnAm* this, GlobalContext* globalCtx, f32 distance, s16 yaw) {
s16 ret;
s16 curBgCheckFlags;
f32 sin;
f32 cos;
Vec3f curPos;
// save current position and bgCheckFlags to restore later
curPos = this->dyna.actor.world.pos;
curBgCheckFlags = this->dyna.actor.bgCheckFlags;
sin = Math_SinS(yaw) * distance;
cos = Math_CosS(yaw) * distance;
this->dyna.actor.world.pos.x += sin;
this->dyna.actor.world.pos.z += cos;
Actor_UpdateBgCheckInfo(globalCtx, &this->dyna.actor, 0.0f, 0.0f, 0.0f, 4);
this->dyna.actor.world.pos = curPos;
ret = this->dyna.actor.bgCheckFlags & 1;
if (!ret && (this->dyna.actor.floorHeight >= (this->dyna.actor.home.pos.y - 20.0f))) {
ret = true;
}
this->dyna.actor.bgCheckFlags = curBgCheckFlags;
return ret;
}
void EnAm_Init(Actor* thisx, GlobalContext* globalCtx) {
CollisionHeader* colHeader = NULL;
s32 pad;
EnAm* this = THIS;
Actor_ProcessInitChain(&this->dyna.actor, sInitChain);
ActorShape_Init(&this->dyna.actor.shape, 0.0f, ActorShadow_DrawCircle, 48.0f);
SkelAnime_Init(globalCtx, &this->skelAnime, &gArmosSkel, &gArmosRicochetAnim, this->jointTable, this->morphTable,
14);
Actor_SetScale(&this->dyna.actor, 0.01f);
DynaPolyActor_Init(&this->dyna, DPM_UNK);
Collider_InitCylinder(globalCtx, &this->hurtCollider);
Collider_InitCylinder(globalCtx, &this->blockCollider);
Collider_SetCylinder(globalCtx, &this->hurtCollider, &this->dyna.actor, &sHurtCylinderInit);
if (this->dyna.actor.params == ARMOS_STATUE) {
this->dyna.actor.colChkInfo.health = 1;
Collider_SetCylinder(globalCtx, &this->blockCollider, &this->dyna.actor, &sHurtCylinderInit);
this->hurtCollider.base.ocFlags1 = (OC1_ON | OC1_NO_PUSH | OC1_TYPE_1 | OC1_TYPE_2);
this->blockCollider.base.ocFlags1 = (OC1_ON | OC1_NO_PUSH | OC1_TYPE_PLAYER);
CollisionHeader_GetVirtual(&gArmosCol, &colHeader);
this->dyna.bgId = DynaPoly_SetBgActor(globalCtx, &globalCtx->colCtx.dyna, &this->dyna.actor, colHeader);
Actor_ChangeCategory(globalCtx, &globalCtx->actorCtx, &this->dyna.actor, ACTORCAT_BG);
EnAm_SetupStatue(this);
} else {
Collider_SetCylinder(globalCtx, &this->blockCollider, &this->dyna.actor, &sBlockCylinderInit);
Collider_InitQuad(globalCtx, &this->hitCollider);
Collider_SetQuad(globalCtx, &this->hitCollider, &this->dyna.actor, &sQuadInit);
this->dyna.actor.colChkInfo.health = 1;
this->dyna.actor.colChkInfo.damageTable = &sDamageTable;
EnAm_SetupSleep(this);
this->unk_258 = 0;
}
this->dyna.actor.colChkInfo.mass = MASS_HEAVY;
}
void EnAm_Destroy(Actor* thisx, GlobalContext* globalCtx) {
s32 pad;
EnAm* this = THIS;
DynaPoly_DeleteBgActor(globalCtx, &globalCtx->colCtx.dyna, this->dyna.bgId);
Collider_DestroyCylinder(globalCtx, &this->hurtCollider);
Collider_DestroyCylinder(globalCtx, &this->blockCollider);
//! @bug Quad collider is not destroyed (though destroy doesnt really do anything anyway)
}
void EnAm_SpawnEffects(EnAm* this, GlobalContext* globalCtx) {
static Vec3f velocity = { 0.0f, -1.5f, 0.0f };
static Vec3f accel = { 0.0f, -0.2f, 0.0f };
s32 i;
Vec3f pos;
Color_RGBA8 primColor = { 100, 100, 100, 0 };
Color_RGBA8 envColor = { 40, 40, 40, 0 };
s32 pad;
for (i = 4; i > 0; i--) {
pos.x = this->dyna.actor.world.pos.x + ((Rand_ZeroOne() - 0.5f) * 65.0f);
pos.y = (this->dyna.actor.world.pos.y + 40.0f) + ((Rand_ZeroOne() - 0.5f) * 10.0f);
pos.z = this->dyna.actor.world.pos.z + ((Rand_ZeroOne() - 0.5f) * 65.0f);
EffectSsKiraKira_SpawnSmall(globalCtx, &pos, &velocity, &accel, &primColor, &envColor);
}
Audio_PlayActorSound2(&this->dyna.actor, NA_SE_EN_AMOS_WALK);
func_80033260(globalCtx, &this->dyna.actor, &this->dyna.actor.world.pos, 4.0f, 3, 8.0f, 0x12C, 0xF, 0);
}
void EnAm_SetupSleep(EnAm* this) {
f32 lastFrame = Animation_GetLastFrame(&gArmosRicochetAnim);
Animation_Change(&this->skelAnime, &gArmosRicochetAnim, 0.0f, lastFrame, lastFrame, ANIMMODE_LOOP, 0.0f);
this->behavior = AM_BEHAVIOR_DO_NOTHING;
this->dyna.actor.speedXZ = 0.0f;
this->unk_258 = (this->textureBlend == 255) ? 0 : 1;
EnAm_SetupAction(this, EnAm_Sleep);
}
void EnAm_SetupStatue(EnAm* this) {
f32 lastFrame = Animation_GetLastFrame(&gArmosRicochetAnim);
Animation_Change(&this->skelAnime, &gArmosRicochetAnim, 0.0f, lastFrame, lastFrame, ANIMMODE_LOOP, 0.0f);
this->dyna.actor.flags &= ~1;
this->behavior = AM_BEHAVIOR_DO_NOTHING;
this->dyna.actor.speedXZ = 0.0f;
EnAm_SetupAction(this, EnAm_Statue);
}
void EnAm_SetupLunge(EnAm* this) {
Animation_PlayLoopSetSpeed(&this->skelAnime, &gArmosHopAnim, 4.0f);
this->unk_258 = 3;
this->behavior = AM_BEHAVIOR_AGGRO;
this->dyna.actor.speedXZ = 0.0f;
this->dyna.actor.world.rot.y = this->dyna.actor.shape.rot.y;
EnAm_SetupAction(this, EnAm_Lunge);
}
void EnAm_SetupCooldown(EnAm* this) {
Animation_PlayLoopSetSpeed(&this->skelAnime, &gArmosHopAnim, 4.0f);
this->unk_258 = 3;
this->cooldownTimer = 40;
this->behavior = AM_BEHAVIOR_AGGRO;
this->dyna.actor.speedXZ = 0.0f;
this->dyna.actor.world.rot.y = this->dyna.actor.shape.rot.y;
EnAm_SetupAction(this, EnAm_Cooldown);
}
void EnAm_SetupMoveToHome(EnAm* this) {
Animation_PlayLoopSetSpeed(&this->skelAnime, &gArmosHopAnim, 4.0f);
this->behavior = AM_BEHAVIOR_GO_HOME;
this->unk_258 = 1;
this->dyna.actor.speedXZ = 0.0f;
EnAm_SetupAction(this, EnAm_MoveToHome);
}
void EnAm_SetupRotateToInit(EnAm* this) {
Animation_PlayLoopSetSpeed(&this->skelAnime, &gArmosHopAnim, 4.0f);
this->behavior = AM_BEHAVIOR_GO_HOME;
this->unk_258 = 1;
this->dyna.actor.speedXZ = 0.0f;
EnAm_SetupAction(this, EnAm_RotateToInit);
}
void EnAm_SetupRotateToHome(EnAm* this) {
Animation_PlayLoopSetSpeed(&this->skelAnime, &gArmosHopAnim, 4.0f);
this->behavior = AM_BEHAVIOR_GO_HOME;
this->dyna.actor.speedXZ = 0.0f;
this->dyna.actor.world.rot.y = this->dyna.actor.shape.rot.y;
EnAm_SetupAction(this, EnAm_RotateToHome);
}
void EnAm_SetupRecoilFromDamage(EnAm* this, GlobalContext* globalCtx) {
Animation_Change(&this->skelAnime, &gArmosDamagedAnim, 1.0f, 4.0f,
Animation_GetLastFrame(&gArmosDamagedAnim) - 6.0f, ANIMMODE_ONCE, 0.0f);
this->behavior = AM_BEHAVIOR_DAMAGED;
this->dyna.actor.world.rot.y = this->dyna.actor.yawTowardsPlayer;
Audio_PlayActorSound2(&this->dyna.actor, NA_SE_EN_AMOS_DAMAGE);
if (EnAm_CanMove(this, globalCtx, -6.0f, this->dyna.actor.world.rot.y)) {
this->dyna.actor.speedXZ = -6.0f;
}
this->dyna.actor.colorFilterTimer = 0;
func_80032C7C(globalCtx, &this->dyna.actor);
EnAm_SetupAction(this, EnAm_RecoilFromDamage);
}
void EnAm_SetupRicochet(EnAm* this, GlobalContext* globalCtx) {
Animation_Change(&this->skelAnime, &gArmosRicochetAnim, 1.0f, 0.0f, 8.0f, ANIMMODE_ONCE, 0.0f);
this->dyna.actor.world.rot.y = this->dyna.actor.yawTowardsPlayer;
if (EnAm_CanMove(this, globalCtx, -6.0f, this->dyna.actor.world.rot.y)) {
this->dyna.actor.speedXZ = -6.0f;
}
this->unk_264 = 0;
this->unk_258 = 0;
this->cooldownTimer = 5;
this->behavior = AM_BEHAVIOR_RICOCHET;
EnAm_SetupAction(this, EnAm_Ricochet);
}
void EnAm_Sleep(EnAm* this, GlobalContext* globalCtx) {
f32 cos;
s32 pad;
f32 rand;
f32 sin;
Player* player = PLAYER;
if ((this->unk_258 != 0) ||
((this->hurtCollider.base.ocFlags1 & OC1_HIT) && (this->hurtCollider.base.oc == &player->actor)) ||
(this->hurtCollider.base.acFlags & AC_HIT)) {
this->hurtCollider.base.acFlags &= ~AC_HIT;
if (this->textureBlend == 0) {
Audio_PlayActorSound2(&this->dyna.actor, NA_SE_EN_AMOS_WAVE);
Audio_PlayActorSound2(&this->dyna.actor, NA_SE_EN_AMOS_VOICE);
Actor_SetColorFilter(&this->dyna.actor, 0x4000, 255, 0, 8);
}
if (this->textureBlend >= 240) {
this->attackTimer = 200;
this->textureBlend = 255;
this->dyna.actor.flags |= 1;
this->dyna.actor.shape.yOffset = 0.0f;
EnAm_SetupLunge(this);
} else {
// shake randomly about the origin while waking up
rand = (Rand_ZeroOne() - 0.5f) * 10.0f;
cos = Math_CosS(this->dyna.actor.shape.rot.y) * rand;
sin = Math_SinS(this->dyna.actor.shape.rot.y) * rand;
this->dyna.actor.world.pos.x = this->shakeOrigin.x + cos;
this->dyna.actor.world.pos.z = this->shakeOrigin.z + sin;
this->textureBlend += 20;
this->unk_258 = 1;
}
} else {
if (this->textureBlend > 10) {
this->textureBlend -= 10;
} else {
this->textureBlend = 0;
this->dyna.actor.flags &= ~1;
if (this->dyna.bgId < 0) {
this->unk_264 = 0;
}
this->dyna.actor.speedXZ += this->dyna.unk_150;
this->shakeOrigin = this->dyna.actor.world.pos;
this->dyna.actor.world.rot.y = this->dyna.unk_158;
this->dyna.actor.speedXZ = CLAMP(this->dyna.actor.speedXZ, -2.5f, 2.5f);
Math_SmoothStepToF(&this->dyna.actor.speedXZ, 0.0f, 1.0f, 1.0f, 0.0f);
if (this->dyna.actor.speedXZ != 0.0f) {
Audio_PlayActorSound2(&this->dyna.actor, NA_SE_EV_ROCK_SLIDE - SFX_FLAG);
}
this->dyna.unk_154 = 0.0f;
this->dyna.unk_150 = 0.0f;
}
}
}
/**
* Spin toward the direction of the home position to start moving back to it.
*/
void EnAm_RotateToHome(EnAm* this, GlobalContext* globalCtx) {
s16 yawToHome = Math_Vec3f_Yaw(&this->dyna.actor.world.pos, &this->dyna.actor.home.pos);
if (this->skelAnime.curFrame == 8.0f) {
Math_SmoothStepToS(&this->dyna.actor.world.rot.y, yawToHome, 1, 0x1F40, 0);
this->dyna.actor.velocity.y = 12.0f;
} else if (this->skelAnime.curFrame > 11.0f) {
if (!(this->dyna.actor.bgCheckFlags & 1)) {
this->skelAnime.curFrame = 11;
} else {
EnAm_SpawnEffects(this, globalCtx);
if (this->dyna.actor.world.rot.y == yawToHome) {
this->unk_258 = 0;
}
this->dyna.actor.velocity.y = 0.0f;
this->dyna.actor.world.pos.y = this->dyna.actor.floorHeight;
}
}
SkelAnime_Update(&this->skelAnime);
if (this->unk_258 == 0) {
EnAm_SetupMoveToHome(this);
}
this->dyna.actor.shape.rot.y = this->dyna.actor.world.rot.y;
}
/**
* After reaching the home position, spin back to the starting rotation.
*/
void EnAm_RotateToInit(EnAm* this, GlobalContext* globalCtx) {
if (this->skelAnime.curFrame == 8.0f) {
if ((this->dyna.actor.world.pos.x == this->dyna.actor.home.pos.x) &&
(this->dyna.actor.world.pos.z == this->dyna.actor.home.pos.z)) {
Math_SmoothStepToS(&this->dyna.actor.world.rot.y, this->dyna.actor.home.rot.y, 1, 0x1F40, 0);
}
this->unk_258 = 2;
this->dyna.actor.velocity.y = 12.0f;
} else if (this->skelAnime.curFrame > 11.0f) {
if (!(this->dyna.actor.bgCheckFlags & 1)) {
this->skelAnime.curFrame = 11;
} else {
this->unk_258 = 1;
EnAm_SpawnEffects(this, globalCtx);
if (this->dyna.actor.home.rot.y == this->dyna.actor.world.rot.y) {
this->unk_258 = 0;
}
this->dyna.actor.velocity.y = 0.0f;
this->dyna.actor.world.pos.y = this->dyna.actor.floorHeight;
}
}
if (this->unk_258 == 2) {
Math_SmoothStepToF(&this->dyna.actor.world.pos.x, this->dyna.actor.home.pos.x, 1.0f, 8.0f, 0.0f);
Math_SmoothStepToF(&this->dyna.actor.world.pos.z, this->dyna.actor.home.pos.z, 1.0f, 8.0f, 0.0f);
}
SkelAnime_Update(&this->skelAnime);
if (this->unk_258 == 0) {
EnAm_SetupSleep(this);
}
this->dyna.actor.shape.rot.y = this->dyna.actor.world.rot.y;
}
void EnAm_MoveToHome(EnAm* this, GlobalContext* globalCtx) {
s16 yawToHome = Math_Vec3f_Yaw(&this->dyna.actor.world.pos, &this->dyna.actor.home.pos);
if (this->skelAnime.curFrame == 8.0f) {
this->dyna.actor.velocity.y = 12.0f;
this->dyna.actor.speedXZ = 6.0f;
} else if (this->skelAnime.curFrame > 11.0f) {
if (!(this->dyna.actor.bgCheckFlags & 1)) {
this->skelAnime.curFrame = 11;
} else {
Math_SmoothStepToS(&this->dyna.actor.world.rot.y, yawToHome, 1, 0xBB8, 0);
if (this->dyna.actor.bgCheckFlags & 2) {
this->unk_258--;
}
this->dyna.actor.velocity.y = 0.0f;
this->dyna.actor.speedXZ = 0.0f;
this->dyna.actor.world.pos.y = this->dyna.actor.floorHeight;
EnAm_SpawnEffects(this, globalCtx);
if (Actor_WorldDistXYZToPoint(&this->dyna.actor, &this->dyna.actor.home.pos) < 80.0f) {
EnAm_SetupRotateToInit(this);
}
}
}
// turn away from a wall if touching one
if ((this->dyna.actor.speedXZ != 0.0f) && (this->dyna.actor.bgCheckFlags & 8)) {
this->dyna.actor.world.rot.y = this->dyna.actor.wallYaw;
Actor_MoveForward(&this->dyna.actor);
}
SkelAnime_Update(&this->skelAnime);
this->dyna.actor.shape.rot.y = this->dyna.actor.world.rot.y;
}
void EnAm_RecoilFromDamage(EnAm* this, GlobalContext* globalCtx) {
if (this->dyna.actor.speedXZ < 0.0f) {
this->dyna.actor.speedXZ += 0.5f;
}
if ((this->dyna.actor.velocity.y <= 0.0f) && !EnAm_CanMove(this, globalCtx, -8.0f, this->dyna.actor.world.rot.y)) {
this->dyna.actor.speedXZ = 0.0f;
}
if (SkelAnime_Update(&this->skelAnime)) {
EnAm_SetupLunge(this);
this->deathTimer = 64;
this->panicSpinRot = 0;
}
}
/**
* After doing 3 lunges, wait for 2 seconds before attacking again.
* Turn toward the player before lunging again.
*/
void EnAm_Cooldown(EnAm* this, GlobalContext* globalCtx) {
s16 yawDiff = this->dyna.actor.yawTowardsPlayer - this->dyna.actor.world.rot.y;
yawDiff = ABS(yawDiff);
if (this->cooldownTimer != 0) {
this->cooldownTimer--;
} else {
if (this->skelAnime.curFrame == 8.0f) {
Math_SmoothStepToS(&this->dyna.actor.world.rot.y, this->dyna.actor.yawTowardsPlayer, 1, 0x1F40, 0);
this->dyna.actor.velocity.y = 12.0f;
} else if (this->skelAnime.curFrame > 11.0f) {
if (!(this->dyna.actor.bgCheckFlags & 1)) {
this->skelAnime.curFrame = 11;
} else {
if (yawDiff < 3500) {
this->unk_258 = 0;
}
this->dyna.actor.velocity.y = 0.0f;
this->dyna.actor.world.pos.y = this->dyna.actor.floorHeight;
EnAm_SpawnEffects(this, globalCtx);
}
}
SkelAnime_Update(&this->skelAnime);
if (this->unk_258 == 0) {
EnAm_SetupLunge(this);
Audio_PlayActorSound2(&this->dyna.actor, NA_SE_EN_AMOS_VOICE);
}
this->dyna.actor.shape.rot.y = this->dyna.actor.world.rot.y;
}
}
/**
* Lunge toward the player in an attempt to deal damage. Hop 3 times.
* Used for both normal attacks and the death sequence.
*/
void EnAm_Lunge(EnAm* this, GlobalContext* globalCtx) {
if (this->deathTimer < 52) {
if (this->skelAnime.curFrame == 8.0f) {
this->dyna.actor.velocity.y = 12.0f;
if (EnAm_CanMove(this, globalCtx, 80.0f, this->dyna.actor.world.rot.y)) {
this->dyna.actor.speedXZ = 6.0f;
} else {
this->dyna.actor.speedXZ = 0.0f;
}
this->unk_264 = 1;
this->hitCollider.base.atFlags &= ~(AT_HIT | AT_BOUNCED);
} else if (this->skelAnime.curFrame > 11.0f) {
if (!(this->dyna.actor.bgCheckFlags & 1)) {
this->skelAnime.curFrame = 11;
} else {
Math_SmoothStepToS(&this->dyna.actor.world.rot.y, this->dyna.actor.yawTowardsPlayer, 1, 0x1770, 0);
if (this->dyna.actor.bgCheckFlags & 2) {
this->unk_258--;
}
this->dyna.actor.velocity.y = 0.0f;
this->dyna.actor.speedXZ = 0.0f;
this->unk_264 = 0;
this->dyna.actor.world.pos.y = this->dyna.actor.floorHeight;
EnAm_SpawnEffects(this, globalCtx);
if (((Actor_WorldDistXZToPoint(&this->dyna.actor, &this->dyna.actor.home.pos) > 240.0f) ||
(this->attackTimer == 0)) &&
(this->deathTimer == 0)) {
EnAm_SetupRotateToHome(this);
}
}
}
// turn and move away from a wall if contact is made with one
if ((this->dyna.actor.speedXZ != 0.0f) && (this->dyna.actor.bgCheckFlags & 8)) {
this->dyna.actor.world.rot.y =
(this->dyna.actor.wallYaw - this->dyna.actor.world.rot.y) + this->dyna.actor.wallYaw;
Actor_MoveForward(&this->dyna.actor);
this->dyna.actor.bgCheckFlags &= ~8;
}
SkelAnime_Update(&this->skelAnime);
if ((this->unk_258 == 0) && (this->deathTimer == 0)) {
EnAm_SetupCooldown(this);
}
if (this->deathTimer == 0) {
this->dyna.actor.shape.rot.y = this->dyna.actor.world.rot.y;
} else {
if (this->panicSpinRot < 8000) {
this->panicSpinRot += 800;
}
this->dyna.actor.shape.rot.y += this->panicSpinRot;
}
}
}
void EnAm_Statue(EnAm* this, GlobalContext* globalCtx) {
Player* player = PLAYER;
f32 temp158f = this->dyna.unk_158;
s16 moveDir = 0;
if (this->unk_258 == 0) {
if (this->dyna.unk_150 != 0.0f) {
this->unk_258 = 0x8000;
}
} else {
this->unk_258 -= 0x800;
Audio_PlayActorSound2(&this->dyna.actor, NA_SE_EV_ROCK_SLIDE - SFX_FLAG);
if (this->dyna.unk_150 < 0.0f) {
temp158f = this->dyna.unk_158 + 0x8000;
}
if (this->hurtCollider.base.ocFlags1 & OC1_HIT) {
moveDir = Math_Vec3f_Yaw(&this->dyna.actor.world.pos, &this->hurtCollider.base.oc->world.pos) - temp158f;
}
if ((this->dyna.unk_150 == 0.0f) || (this->unk_258 == 0) || !(this->dyna.actor.bgCheckFlags & 1) ||
!func_800435D8(globalCtx, &this->dyna, 0x14,
(Math_SinS(this->unk_258) * (this->dyna.unk_150 * 0.5f)) + 40.0f, 0xA) ||
((this->hurtCollider.base.ocFlags1 & OC1_HIT) && (ABS(moveDir) <= 0x2000))) {
this->unk_258 = 0;
player->stateFlags2 &= ~0x151;
player->actor.speedXZ = 0.0f;
this->dyna.unk_150 = this->dyna.unk_154 = 0.0f;
}
this->dyna.actor.world.rot.y = this->dyna.unk_158;
this->dyna.actor.speedXZ = Math_SinS(this->unk_258) * (this->dyna.unk_150 * 0.5f);
}
if (this->dyna.actor.bgCheckFlags & 2) {
Audio_PlayActorSound2(&this->dyna.actor, NA_SE_EV_BLOCK_BOUND);
}
this->dyna.unk_150 = this->dyna.unk_154 = 0.0f;
}
void EnAm_SetupStunned(EnAm* this, GlobalContext* globalCtx) {
// animation is set but SkelAnime_Update is not called in the action
// likely copy pasted from EnAm_SetupRecoilFromDamage
Animation_Change(&this->skelAnime, &gArmosDamagedAnim, 1.0f, 0.0f, Animation_GetLastFrame(&gArmosDamagedAnim),
ANIMMODE_ONCE, 0.0f);
this->dyna.actor.world.rot.y = this->dyna.actor.yawTowardsPlayer;
if (EnAm_CanMove(this, globalCtx, -6.0f, this->dyna.actor.world.rot.y)) {
this->dyna.actor.speedXZ = -6.0f;
}
Actor_SetColorFilter(&this->dyna.actor, 0, 120, 0, 100);
if (this->damageEffect == AM_DMGEFF_ICE) {
this->iceTimer = 48;
}
this->behavior = AM_BEHAVIOR_STUNNED;
Audio_PlayActorSound2(&this->dyna.actor, NA_SE_EN_GOMA_JR_FREEZE);
EnAm_SetupAction(this, EnAm_Stunned);
}
void EnAm_Stunned(EnAm* this, GlobalContext* globalCtx) {
Math_SmoothStepToS(&this->dyna.actor.shape.rot.y, this->dyna.actor.world.rot.y, 1, 0xFA0, 0);
if (this->dyna.actor.speedXZ < 0.0f) {
this->dyna.actor.speedXZ += 0.5f;
}
if ((this->dyna.actor.velocity.y <= 0.0f) && !EnAm_CanMove(this, globalCtx, -9.0f, this->dyna.actor.world.rot.y)) {
this->dyna.actor.speedXZ = 0.0f;
}
if (this->dyna.actor.colorFilterTimer == 0) {
if (this->dyna.actor.colChkInfo.health != 0) {
EnAm_SetupLunge(this);
} else {
EnAm_SetupRecoilFromDamage(this, globalCtx);
}
}
}
void EnAm_Ricochet(EnAm* this, GlobalContext* globalCtx) {
if (this->dyna.actor.speedXZ < 0.0f) {
this->dyna.actor.speedXZ += 0.5f;
}
if ((this->dyna.actor.velocity.y <= 0.0f) &&
!EnAm_CanMove(this, globalCtx, this->dyna.actor.speedXZ * 1.5f, this->dyna.actor.world.rot.y)) {
this->dyna.actor.speedXZ = 0.0f;
}
if (SkelAnime_Update(&this->skelAnime)) {
this->dyna.actor.speedXZ = 0.0f;
EnAm_SetupLunge(this);
}
}
void EnAm_TransformSwordHitbox(Actor* thisx, GlobalContext* globalCtx) {
static Vec3f D_809B0074 = { 2500.0f, 7000.0f, 0.0f };
static Vec3f D_809B0080 = { -2500.0f, 0.0f, 0.0f };
static Vec3f D_809B008C = { 2500.0f, 7000.0f, 4000.0f };
static Vec3f D_809B0098 = { -2500.0f, 0.0f, 4000.0f };
EnAm* this = THIS;
Matrix_MultVec3f(&D_809B0074, &this->hitCollider.dim.quad[1]);
Matrix_MultVec3f(&D_809B0080, &this->hitCollider.dim.quad[0]);
Matrix_MultVec3f(&D_809B008C, &this->hitCollider.dim.quad[3]);
Matrix_MultVec3f(&D_809B0098, &this->hitCollider.dim.quad[2]);
Collider_SetQuadVertices(&this->hitCollider, &this->hitCollider.dim.quad[0], &this->hitCollider.dim.quad[1],
&this->hitCollider.dim.quad[2], &this->hitCollider.dim.quad[3]);
}
void EnAm_UpdateDamage(EnAm* this, GlobalContext* globalCtx) {
s32 pad;
Vec3f sparkPos;
if (this->deathTimer == 0) {
if (this->blockCollider.base.acFlags & AC_BOUNCED) {
this->blockCollider.base.acFlags &= ~(AC_HIT | AC_BOUNCED);
this->hurtCollider.base.acFlags &= ~AC_HIT;
if (this->behavior >= AM_BEHAVIOR_5) {
EnAm_SetupRicochet(this, globalCtx);
}
} else if ((this->hurtCollider.base.acFlags & AC_HIT) && (this->behavior >= AM_BEHAVIOR_5)) {
this->hurtCollider.base.acFlags &= ~AC_HIT;
if (this->dyna.actor.colChkInfo.damageEffect != AM_DMGEFF_MAGIC_FIRE_LIGHT) {
this->unk_264 = 0;
this->damageEffect = this->dyna.actor.colChkInfo.damageEffect;
func_80035650(&this->dyna.actor, &this->hurtCollider.info, 0);
if ((this->dyna.actor.colChkInfo.damageEffect == AM_DMGEFF_NUT) ||
(this->dyna.actor.colChkInfo.damageEffect == AM_DMGEFF_STUN) ||
(this->dyna.actor.colChkInfo.damageEffect == AM_DMGEFF_ICE)) {
if (this->behavior != AM_BEHAVIOR_STUNNED) {
EnAm_SetupStunned(this, globalCtx);
if (this->dyna.actor.colChkInfo.damage != 0) {
this->dyna.actor.colChkInfo.health = 0;
}
} else if (this->dyna.actor.colChkInfo.damageEffect == AM_DMGEFF_STUN) {
sparkPos = this->dyna.actor.world.pos;
sparkPos.y += 50.0f;
CollisionCheck_SpawnShieldParticlesMetal(globalCtx, &sparkPos);
}
} else if ((this->dyna.actor.colChkInfo.damageEffect == AM_DMGEFF_KILL) ||
(this->behavior == AM_BEHAVIOR_STUNNED)) {
this->dyna.actor.colChkInfo.health = 0;
EnAm_SetupRecoilFromDamage(this, globalCtx);
} else {
EnAm_SetupRicochet(this, globalCtx);
}
}
}
}
}
void EnAm_Update(Actor* thisx, GlobalContext* globalCtx) {
static Vec3f zeroVec = { 0.0f, 0.0f, 0.0f };
static Color_RGBA8 dustPrimColor = { 150, 150, 150, 255 };
static Color_RGBA8 dustEnvColor = { 100, 100, 100, 150 };
s32 pad;
EnAm* this = THIS;
EnBom* bomb;
Vec3f dustPos;
s32 i;
f32 dustPosScale;
s32 pad1;
if (this->dyna.actor.params != ARMOS_STATUE) {
EnAm_UpdateDamage(this, globalCtx);
}
if (this->dyna.actor.colChkInfo.damageEffect != AM_DMGEFF_MAGIC_FIRE_LIGHT) {
if (this->attackTimer != 0) {
this->attackTimer--;
}
this->actionFunc(this, globalCtx);
if (this->deathTimer != 0) {
this->deathTimer--;
if (this->deathTimer == 0) {
dustPosScale = globalCtx->gameplayFrames * 10;
EnAm_SpawnEffects(this, globalCtx);
bomb =
(EnBom*)Actor_Spawn(&globalCtx->actorCtx, globalCtx, ACTOR_EN_BOM, this->dyna.actor.world.pos.x,
this->dyna.actor.world.pos.y, this->dyna.actor.world.pos.z, 0, 0, 2, BOMB_BODY);
if (bomb != NULL) {
bomb->timer = 0;
}
Audio_PlayActorSound2(&this->dyna.actor, NA_SE_EN_AMOS_DEAD);
Item_DropCollectibleRandom(globalCtx, &this->dyna.actor, &this->dyna.actor.world.pos, 0xA0);
for (i = 9; i >= 0; i--) {
dustPos.x = (sinf(dustPosScale) * 7.0f) + this->dyna.actor.world.pos.x;
dustPos.y = (Rand_CenteredFloat(10.0f) * 6.0f) + (this->dyna.actor.world.pos.y + 40.0f);
dustPos.z = (cosf(dustPosScale) * 7.0f) + this->dyna.actor.world.pos.z;
func_8002836C(globalCtx, &dustPos, &zeroVec, &zeroVec, &dustPrimColor, &dustEnvColor, 200, 45, 12);
dustPosScale += 60.0f;
}
Actor_Kill(&this->dyna.actor);
return;
}
if ((this->deathTimer % 4) == 0) {
Actor_SetColorFilter(&this->dyna.actor, 0x4000, 255, 0, 4);
}
}
Actor_MoveForward(&this->dyna.actor);
Actor_UpdateBgCheckInfo(globalCtx, &this->dyna.actor, 20.0f, 28.0f, 80.0f, 0x1D);
}
Collider_UpdateCylinder(&this->dyna.actor, &this->hurtCollider);
Collider_UpdateCylinder(&this->dyna.actor, &this->blockCollider);
CollisionCheck_SetOC(globalCtx, &globalCtx->colChkCtx, &this->hurtCollider.base);
if (this->dyna.actor.params != ARMOS_STATUE) {
Actor_SetFocus(&this->dyna.actor, this->dyna.actor.scale.x * 4500.0f);
if (this->dyna.actor.colorFilterTimer == 0) {
CollisionCheck_SetAC(globalCtx, &globalCtx->colChkCtx, &this->blockCollider.base);
}
CollisionCheck_SetAC(globalCtx, &globalCtx->colChkCtx, &this->hurtCollider.base);
if ((this->behavior >= 4) && (this->unk_264 > 0)) {
if (!(this->hitCollider.base.atFlags & AT_BOUNCED)) {
if (this->hitCollider.base.atFlags & AT_HIT) {
Player* player = PLAYER;
if (this->hitCollider.base.at == &player->actor) {
Audio_PlayActorSound2(&player->actor, NA_SE_PL_BODY_HIT);
}
}
CollisionCheck_SetAT(globalCtx, &globalCtx->colChkCtx, &this->hitCollider.base);
} else {
this->hitCollider.base.atFlags &= ~(AT_HIT | AT_BOUNCED);
this->hitCollider.base.at = NULL;
EnAm_SetupRicochet(this, globalCtx);
}
}
} else {
CollisionCheck_SetOC(globalCtx, &globalCtx->colChkCtx, &this->blockCollider.base);
}
}
static Vec3f sUnused1 = { 1100.0f, -700.0f, 0.0f };
static Vec3f sUnused2 = { 0.0f, 0.0f, 0.0f };
void EnAm_PostLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3s* rot, void* thisx) {
EnAm* this = THIS;
if ((limbIndex == 1) && (this->unk_264 != 0)) {
EnAm_TransformSwordHitbox(&this->dyna.actor, globalCtx);
}
}
Vec3f sIcePosOffsets[] = {
{ 20.0f, 40.0f, 0.0f }, { 10.0f, 60.0f, 10.0f }, { -10.0f, 60.0f, 10.0f }, { -20.0f, 40.0f, 0.0f },
{ 10.0f, 60.0f, -10.0f }, { -10.0f, 60.0f, -10.0f }, { 0.0f, 40.0f, -20.0f }, { 10.0f, 20.0f, 10.0f },
{ 10.0f, 20.0f, -10.0f }, { 0.0f, 40.0f, 20.0f }, { -10.0f, 20.0f, 10.0f }, { -10.0f, 20.0f, -10.0f },
};
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AF30C.s")
void EnAm_Draw(Actor* thisx, GlobalContext* globalCtx) {
s32 pad;
Vec3f sp68;
EnAm* this = THIS;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AF558.s")
OPEN_DISPS(globalCtx->state.gfxCtx, "../z_en_am.c", 1580);
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AF644.s")
func_80093D18(globalCtx->state.gfxCtx);
gDPSetEnvColor(POLY_OPA_DISP++, 0, 0, 0, this->textureBlend);
SkelAnime_DrawOpa(globalCtx, this->skelAnime.skeleton, this->skelAnime.jointTable, NULL, EnAm_PostLimbDraw, this);
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AF718.s")
if (this->iceTimer != 0) {
this->dyna.actor.colorFilterTimer++;
if (1) {};
this->iceTimer--;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AF7CC.s")
if ((this->iceTimer % 4) == 0) {
s32 index;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AF864.s")
index = this->iceTimer >> 2;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/EnAm_Update.s")
sp68.x = this->dyna.actor.world.pos.x + sIcePosOffsets[index].x;
sp68.y = this->dyna.actor.world.pos.y + sIcePosOffsets[index].y;
sp68.z = this->dyna.actor.world.pos.z + sIcePosOffsets[index].z;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/func_809AFD9C.s")
EffectSsEnIce_SpawnFlyingVec3f(globalCtx, &this->dyna.actor, &sp68, 150, 150, 150, 250, 235, 245, 255,
1.4f);
}
}
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Am/EnAm_Draw.s")
CLOSE_DISPS(globalCtx->state.gfxCtx, "../z_en_am.c", 1605);
}

View file

@ -6,11 +6,35 @@
struct EnAm;
typedef void (*EnAmActionFunc)(struct EnAm*, GlobalContext*);
typedef struct EnAm {
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x240];
/* 0x0000 */ DynaPolyActor dyna;
/* 0x0164 */ SkelAnime skelAnime;
/* 0x01A8 */ s32 behavior;
/* 0x01AC */ Vec3s jointTable[14];
/* 0x0200 */ Vec3s morphTable[14];
/* 0x0254 */ EnAmActionFunc actionFunc;
/* 0x0258 */ s16 unk_258;
/* 0x025A */ s16 cooldownTimer;
/* 0x025C */ s16 attackTimer; // start going back home after reaching 0
/* 0x025E */ s16 iceTimer;
/* 0x0260 */ s16 deathTimer; // explode after reaching 0
/* 0x0262 */ s16 panicSpinRot; // used when panicking before death
/* 0x0264 */ s16 unk_264;
/* 0x0266 */ u8 textureBlend; // 0 = statue textures; 255 = enemy textures
/* 0x0267 */ u8 damageEffect;
/* 0x0267 */ Vec3f shakeOrigin; // center point to shake around when waking up
/* 0x0274 */ ColliderCylinder hurtCollider;
/* 0x02C0 */ ColliderCylinder blockCollider;
/* 0x030C */ ColliderQuad hitCollider;
} EnAm; // size = 0x038C
typedef enum {
/* 0 */ ARMOS_STATUE,
/* 1 */ ARMOS_ENEMY
} ArmosType;
extern const ActorInit En_Am_InitVars;
#endif

View file

@ -516,7 +516,7 @@ void EnBb_SetupDamage(EnBb* this) {
if (this->actor.params == ENBB_RED) {
EnBb_KillFlameTrail(this);
}
func_8003426C(&this->actor, 0x4000, 0xFF, 0, 0xC);
Actor_SetColorFilter(&this->actor, 0x4000, 0xFF, 0, 0xC);
this->timer = 5;
EnBb_SetupAction(this, EnBb_Damage);
}
@ -1083,13 +1083,13 @@ void EnBb_SetupStunned(EnBb* this) {
}
switch (this->dmgEffect) {
case 8:
func_8003426C(&this->actor, -0x8000, 0xC8, 0, 0x50);
Actor_SetColorFilter(&this->actor, -0x8000, 0xC8, 0, 0x50);
break;
case 9:
this->fireIceTimer = 0x30;
case 15:
Audio_PlayActorSound2(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
func_8003426C(&this->actor, 0, 0xB4, 0, 0x50);
Actor_SetColorFilter(&this->actor, 0, 0xB4, 0, 0x50);
break;
}
this->actor.bgCheckFlags &= ~1;
@ -1157,8 +1157,8 @@ void EnBb_CollisionCheck(EnBb* this, GlobalContext* globalCtx) {
case 5:
this->fireIceTimer = 0x30;
//! @bug
//! Setting fireIceTimer here without calling func_8003426C causes a crash if the bubble is killed
//! in a single hit by an attack with damage effect 5 or 7 while actor updating is halted. Using
//! Setting fireIceTimer here without calling Actor_SetColorFilter causes a crash if the bubble is
//! killed in a single hit by an attack with damage effect 5 or 7 while actor updating is halted. Using
//! Din's Fire on a white bubble will do just that. The mechanism is complex and described below.
goto block_15;
case 6:
@ -1197,13 +1197,13 @@ void EnBb_CollisionCheck(EnBb* this, GlobalContext* globalCtx) {
}
EnBb_SetupDeath(this, globalCtx);
//! @bug
//! Because Din's Fire kills the bubble in a single hit, func_8003426C is never called and
//! Because Din's Fire kills the bubble in a single hit, Actor_SetColorFilter is never called and
//! colorFilterParams is never set. And because Din's Fire halts updating during its cutscene,
//! EnBb_Death doesn't kill the bubble on the next frame like it should. This combines with
//! the bug in EnBb_Draw below to crash the game.
} else if ((this->actor.params == ENBB_WHITE) &&
((this->action == BB_WHITE) || (this->action == BB_STUNNED))) {
func_8003426C(&this->actor, 0x4000, 0xFF, 0, 0xC);
Actor_SetColorFilter(&this->actor, 0x4000, 0xFF, 0, 0xC);
this->actor.speedXZ = -8.0f;
this->maxSpeed = 0.0f;
this->actor.world.rot.y = this->actor.yawTowardsPlayer;

View file

@ -226,7 +226,7 @@ void EnBili_SetupBurnt(EnBili* this) {
this->collider.base.acFlags &= ~AC_ON;
this->actor.flags |= 0x10;
this->actor.speedXZ = 0.0f;
func_8003426C(&this->actor, 0x4000, 0xC8, 0x2000, 0x14);
Actor_SetColorFilter(&this->actor, 0x4000, 0xC8, 0x2000, 0x14);
this->actionFunc = EnBili_Burnt;
}
@ -245,7 +245,7 @@ void EnBili_SetupStunned(EnBili* this) {
this->collider.info.bumper.effect = 0;
this->actor.gravity = -1.0f;
this->actor.speedXZ = 0.0f;
func_8003426C(&this->actor, 0, 0x96, 0x2000, 0x50);
Actor_SetColorFilter(&this->actor, 0, 0x96, 0x2000, 0x50);
Audio_PlayActorSound2(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
this->collider.base.atFlags &= ~AT_ON;
this->actionFunc = EnBili_Stunned;
@ -273,7 +273,7 @@ void EnBili_SetupFrozen(EnBili* this, GlobalContext* globalCtx) {
}
this->actor.speedXZ = 0.0f;
func_8003426C(&this->actor, 0, 0x96, 0x2000, 0xA);
Actor_SetColorFilter(&this->actor, 0, 0x96, 0x2000, 0xA);
this->collider.base.atFlags &= ~AT_ON;
this->collider.base.acFlags &= ~AC_ON;
this->timer = 300;
@ -563,7 +563,7 @@ void EnBili_UpdateDamage(EnBili* this, GlobalContext* globalCtx) {
}
} else if (damageEffect == BIRI_DMGEFF_SWORD) {
if (this->actionFunc != EnBili_Stunned) {
func_8003426C(&this->actor, 0x4000, 0xC8, 0x2000, 0xA);
Actor_SetColorFilter(&this->actor, 0x4000, 0xC8, 0x2000, 0xA);
if (this->actor.colChkInfo.health == 0) {
this->actor.params = EN_BILI_TYPE_DYING;

View file

@ -694,7 +694,7 @@ void func_809D0584(EnBw* this, GlobalContext* globalCtx) {
if ((this->damageEffect == 1) || (this->damageEffect == 0xE)) {
if (this->unk_23C == 0) {
Actor_ApplyDamage(&this->actor);
func_8003426C(&this->actor, 0, 0x78, 0, 0x50);
Actor_SetColorFilter(&this->actor, 0, 0x78, 0, 0x50);
func_809D03CC(this);
this->unk_248 = 0.0f;
}
@ -705,7 +705,7 @@ void func_809D0584(EnBw* this, GlobalContext* globalCtx) {
}
if (((this->unk_221 == 1) || (this->unk_221 == 4)) && (this->actor.colChkInfo.health == 0)) {
if (this->unk_220 != 0) {
func_8003426C(&this->actor, 0x4000, 0xFF, 0, 8);
Actor_SetColorFilter(&this->actor, 0x4000, 0xFF, 0, 8);
if (func_800355E4(globalCtx, &this->collider2.base)) {
this->unk_230 = 0;
this->actor.scale.y -= 0.009f;
@ -718,7 +718,7 @@ void func_809D0584(EnBw* this, GlobalContext* globalCtx) {
}
} else if ((this->unk_220 != 1) && (this->unk_220 != 6)) {
Audio_PlayActorSound2(&this->actor, NA_SE_EN_BUBLEWALK_DAMAGE);
func_8003426C(&this->actor, 0x4000, 0xFF, 0, 8);
Actor_SetColorFilter(&this->actor, 0x4000, 0xFF, 0, 8);
if (this->unk_220 != 5) {
func_809D01CC(this);
}

View file

@ -161,7 +161,7 @@ void EnCrow_SetupDamaged(EnCrow* this, GlobalContext* globalCtx) {
Audio_PlayActorSound2(&this->actor, NA_SE_EN_KAICHO_DEAD);
if (this->actor.colChkInfo.damageEffect == 3) { // Ice arrows
func_8003426C(&this->actor, 0, 255, 0, 40);
Actor_SetColorFilter(&this->actor, 0, 255, 0, 40);
for (i = 0; i < 8; i++) {
iceParticlePos.x = ((i & 1 ? 7.0f : -7.0f) * scale) + this->actor.world.pos.x;
iceParticlePos.y = ((i & 2 ? 7.0f : -7.0f) * scale) + this->actor.world.pos.y;
@ -170,13 +170,13 @@ void EnCrow_SetupDamaged(EnCrow* this, GlobalContext* globalCtx) {
((Rand_ZeroOne() * 0.15f) + 0.85f) * scale);
}
} else if (this->actor.colChkInfo.damageEffect == 2) { // Fire arrows and Din's Fire
func_8003426C(&this->actor, 0x4000, 255, 0, 40);
Actor_SetColorFilter(&this->actor, 0x4000, 255, 0, 40);
for (i = 0; i < 4; i++) {
EffectSsEnFire_SpawnVec3f(globalCtx, &this->actor, &this->actor.world.pos, 50.0f * scale, 0, 0, i);
}
} else {
func_8003426C(&this->actor, 0x4000, 255, 0, 40);
Actor_SetColorFilter(&this->actor, 0x4000, 255, 0, 40);
}
if (this->actor.flags & 0x8000) {
@ -200,7 +200,7 @@ void EnCrow_SetupTurnAway(EnCrow* this) {
this->aimRotX = -0x1000;
this->aimRotY = this->actor.yawTowardsPlayer + 0x8000;
this->skelAnime.playSpeed = 2.0f;
func_8003426C(&this->actor, 0, 255, 0, 5);
Actor_SetColorFilter(&this->actor, 0, 255, 0, 5);
Audio_PlayActorSound2(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
this->actionFunc = EnCrow_TurnAway;
}

View file

@ -216,7 +216,7 @@ void EnDekunuts_SetupBeDamaged(EnDekunuts* this) {
this->actor.speedXZ = 10.0f;
Audio_PlayActorSound2(&this->actor, NA_SE_EN_NUTS_DAMAGE);
Audio_PlayActorSound2(&this->actor, NA_SE_EN_NUTS_CUTBODY);
func_8003426C(&this->actor, 0x4000, 0xFF, 0, Animation_GetLastFrame(&gDekuNutsDamageAnim));
Actor_SetColorFilter(&this->actor, 0x4000, 0xFF, 0, Animation_GetLastFrame(&gDekuNutsDamageAnim));
}
void EnDekunuts_SetupBeStunned(EnDekunuts* this) {
@ -225,7 +225,7 @@ void EnDekunuts_SetupBeStunned(EnDekunuts* this) {
this->actionFunc = EnDekunuts_BeStunned;
this->actor.speedXZ = 0.0f;
Audio_PlayActorSound2(&this->actor, NA_SE_EN_GOMA_JR_FREEZE);
func_8003426C(&this->actor, 0, 0xFF, 0, Animation_GetLastFrame(&gDekuNutsDamageAnim) * this->animFlagAndTimer);
Actor_SetColorFilter(&this->actor, 0, 0xFF, 0, Animation_GetLastFrame(&gDekuNutsDamageAnim) * this->animFlagAndTimer);
}
void EnDekunuts_SetupDie(EnDekunuts* this) {

View file

@ -490,7 +490,7 @@ void EnDh_CollisionCheck(EnDh* this, GlobalContext* globalCtx) {
if (player->unk_844 != 0) {
this->unk_258 = player->unk_845;
}
func_8003426C(&this->actor, 0x4000, 0xFF, 0, 8);
Actor_SetColorFilter(&this->actor, 0x4000, 0xFF, 0, 8);
lastHealth = this->actor.colChkInfo.health;
if (Actor_ApplyDamage(&this->actor) == 0) {
EnDh_SetupDeath(this);

View file

@ -364,7 +364,7 @@ void EnDha_UpdateHealth(EnDha* this, GlobalContext* globalCtx) {
if (this->actor.colChkInfo.damageEffect == 0 || this->actor.colChkInfo.damageEffect == 6) {
return;
} else {
func_8003426C(&this->actor, 0x4000, 0xFF, 0, 8);
Actor_SetColorFilter(&this->actor, 0x4000, 0xFF, 0, 8);
if (Actor_ApplyDamage(&this->actor) == 0) {
EnDha_SetupDeath(this);
this->actor.colChkInfo.health = 8;

Some files were not shown because too many files have changed in this diff Show more