mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 15:30:14 +00:00
ovl_en_hs2 OK (#423)
* Decompiled ovl_en_hs2 * Replaced skelAnime pointer with pad, changed some values to hex, replaced early return with else statment, removed unnecessary padding in the header, removed unneeded & on a function pointer * Replaced a tab with whitespace, removed address operator in front of ActorShadow_DrawFunc_Circle, moved vec3f inside the PostLimbDraw function * Changed 0xFFFE to ~1
This commit is contained in:
parent
024d5d69bf
commit
7a8e00e49d
17 changed files with 136 additions and 420 deletions
|
@ -1,22 +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_Hs2_InitVars
|
||||
.word 0x01A60400, 0x00000009, 0x01280000, 0x000002B0
|
||||
.word EnHs2_Init
|
||||
.word EnHs2_Destroy
|
||||
.word EnHs2_Update
|
||||
.word EnHs2_Draw
|
||||
glabel D_80A6F4A0
|
||||
.word 0x0A001139, 0x10010000, 0x00000000, 0x00000000, 0x00000000, 0xFFCFFFFF, 0x00000000, 0x00010100, 0x00280028, 0x00000000, 0x00000000
|
||||
glabel D_80A6F4CC
|
||||
.word 0x43960000, 0x447A0000, 0x00000000, 0x00000000, 0x00000000
|
||||
|
|
@ -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_80A6F520
|
||||
.incbin "baserom/ovl_En_Hs2", 0x580, 0x00000090
|
Loading…
Add table
Add a link
Reference in a new issue