Decompiles z_bg_ingate (#301)

* Decompiles z_bg_ingate

	* BgIngate_SetupAction
	* BgIngate_Init
	* BgIngate_Destroy
	* BgIngate_Update
	* func_80892990
	* func_80892890
	* BgIngate_Draw
Removes unused asm's
Formats z_bg_ingate.c

* Addresses PR comments

* Fixes usage of cutscene id instead of regular scene

* Addresses PR comments
This commit is contained in:
i82orbom
2020-08-04 20:30:46 +02:00
committed by GitHub
parent 91299ed21f
commit 34c73dda62
13 changed files with 91 additions and 293 deletions
-18
View File
@@ -1,18 +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 Bg_Ingate_InitVars
.word 0x01400600, 0x00000000, 0x01290000, 0x00000168
.word BgIngate_Init
.word BgIngate_Destroy
.word BgIngate_Update
.word BgIngate_Draw
-13
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_80892AF0
.incbin "baserom/ovl_Bg_Ingate", 0x3B0, 0x00000070