From a625d67cb8cf259ada801036fdd96ccfa4560ef5 Mon Sep 17 00:00:00 2001 From: scawful Date: Sat, 9 Mar 2024 08:38:45 -0500 Subject: [PATCH] housekeeping --- Dungeons/dungeons.asm | 3 --- Dungeons/house_tag.asm | 22 ++++++++++++---------- Dungeons/spike_subtype.asm | 2 ++ Dungeons/together_warp_tag.asm | 2 +- Sprites/Enemies/deku_scrub_enemy.asm | 11 +++-------- Sprites/all_sprites.asm | 4 ++-- 6 files changed, 20 insertions(+), 24 deletions(-) diff --git a/Dungeons/dungeons.asm b/Dungeons/dungeons.asm index cc359d8..ebef165 100644 --- a/Dungeons/dungeons.asm +++ b/Dungeons/dungeons.asm @@ -14,10 +14,7 @@ incsrc "Dungeons/Objects/object_handler.asm" print "End of object_handler.asm ", pc incsrc "Dungeons/together_warp_tag.asm" -print "End of together_warp_tag.asm ", pc - incsrc "Dungeons/spike_subtype.asm" -print "End of spike_subtype.asm ", pc incsrc "Dungeons/house_tag.asm" print "End of house_tag.asm ", pc diff --git a/Dungeons/house_tag.asm b/Dungeons/house_tag.asm index e51608a..51cf85c 100644 --- a/Dungeons/house_tag.asm +++ b/Dungeons/house_tag.asm @@ -119,19 +119,21 @@ pushpc ; TODO: Investigate if this is the best way to fix this. org $028364 -#_028364: LDA.b #$00 ; Fixed color RGB: #808000 -#_028366: STA.b $9C +{ + #_028364: LDA.b #$00 ; Fixed color RGB: #808000 + #_028366: STA.b $9C -#_028368: LDA.b #$00 -#_02836A: STA.b $9D + #_028368: LDA.b #$00 + #_02836A: STA.b $9D -#_02836C: LDA.b #$00 -#_02836E: STA.b $9E -#_028370: LDA.b #$00 -#_028372: STA.l $7EC005 -#_028376: STA.l $7EC006 + #_02836C: LDA.b #$00 + #_02836E: STA.b $9E + #_028370: LDA.b #$00 + #_028372: STA.l $7EC005 + #_028376: STA.l $7EC006 -#_02837A: JSL $079A2C ; Link_TuckIntoBed + #_02837A: JSL $079A2C ; Link_TuckIntoBed +} ; ========================================================= ; Dying Uncle Code Hook diff --git a/Dungeons/spike_subtype.asm b/Dungeons/spike_subtype.asm index 6cfa1aa..96fa52b 100644 --- a/Dungeons/spike_subtype.asm +++ b/Dungeons/spike_subtype.asm @@ -45,4 +45,6 @@ LDA $0D40, X : EOR.b #$FF : INC A : STA $0D40, X LDA.b #$05 : JSL $0DBB7C ; Sound_SetSfx2PanLong RTL + +print "End of spike_subtype.asm ", pc pushpc \ No newline at end of file diff --git a/Dungeons/together_warp_tag.asm b/Dungeons/together_warp_tag.asm index d6c6154..655773e 100644 --- a/Dungeons/together_warp_tag.asm +++ b/Dungeons/together_warp_tag.asm @@ -25,7 +25,6 @@ org $01CC5A ; ============================================================================== pullpc ; Bank 0x2C -print "Warp Tag", pc WarpTag: { PHX @@ -44,6 +43,7 @@ WarpTag: PLX JML WarpTag_Return } +print "End of together_warp_tag.asm ", pc pushpc ; ============================================================================== \ No newline at end of file diff --git a/Sprites/Enemies/deku_scrub_enemy.asm b/Sprites/Enemies/deku_scrub_enemy.asm index 4a6e226..407abdc 100644 --- a/Sprites/Enemies/deku_scrub_enemy.asm +++ b/Sprites/Enemies/deku_scrub_enemy.asm @@ -229,7 +229,7 @@ SpawnPeaShot: { LDA.b #$14 JSL Sprite_SpawnDynamically : BMI .return ;89 - ;store the sub-type + LDA.b #$01 : STA $0E30, Y LDA.b #$06 : STA $0D80, Y @@ -239,17 +239,14 @@ SpawnPeaShot: REP #$20 LDA $0FD8 SEP #$20 - STA $0D10, Y - XBA : STA $0D30, Y + STA $0D10, Y : XBA : STA $0D30, Y REP #$20 LDA $0FDA : CLC : ADC.w #$000C SEP #$20 - STA $0D00, Y - XBA : STA $0D20, Y + STA $0D00, Y : XBA : STA $0D20, Y TYX - STZ $0D70, X @@ -266,8 +263,6 @@ SpawnPeaShot: } - - Sprite_DekuScrubEnemy_Draw: { JSL Sprite_PrepOamCoord diff --git a/Sprites/all_sprites.asm b/Sprites/all_sprites.asm index ef5c5a9..7dded0e 100644 --- a/Sprites/all_sprites.asm +++ b/Sprites/all_sprites.asm @@ -102,10 +102,10 @@ incsrc "Sprites/Bosses/mothula.asm" print "End of mothula.asm ", pc incsrc "Sprites/Bosses/lanmola.asm" -print "End of Lanmola.asm ", pc +print "End of Lanmola.asm ", pc incsrc "Sprites/Bosses/lanmola_Expanded.asm" -print "End of Lanmola_Expanded.asm ", pc +print "End of Lanmola_Expanded.asm ", pc incsrc "Sprites/NPCs/bug_net_kid.asm"