mirror of
https://github.com/zeldaret/oot
synced 2026-08-09 18:58:17 -04:00
Dancing Couple (ovl_En_Tg) (#866)
* Match EnTg_Destroy * Match EnTg_Init * Matching EnTg_Update * Match func_80B18360 Moving both 'return phi;'s into a single return at the end of the function causes the assembly to not match. * Probably equivalent, non-matching func_80B183F8 * Matching EnTg_Draw * Matching update function * Matching func_80B18778 * All functions decompiled * Move data to C code * All functions matched excepted weird switch/case * Last matching function * Remove unused ASM * Name obvious symbols * Clang format * Name text-related functions and variables * Describe actor as Dancing Couple See https://github.com/zeldaret/oot/pull/866#discussion_r664726581 * Use named constants * Name drawing constants * Use THIS macro for void* * Name the function that sets environment color * Add comments to parts of code that aren't clear * Rename timesSpokenTo to nextDialogue, treat isTalking as boolean
This commit is contained in:
@@ -2932,8 +2932,7 @@ endseg
|
||||
beginseg
|
||||
name "ovl_En_Tg"
|
||||
include "build/src/overlays/actors/ovl_En_Tg/z_en_tg.o"
|
||||
include "build/data/overlays/actors/z_en_tg.data.o"
|
||||
include "build/data/overlays/actors/z_en_tg.reloc.o"
|
||||
include "build/src/overlays/actors/ovl_En_Tg/ovl_En_Tg_reloc.o"
|
||||
endseg
|
||||
|
||||
beginseg
|
||||
|
||||
Reference in New Issue
Block a user