Refactor logging statements to use %log_end macro for consistency across item and menu scripts

This commit is contained in:
scawful
2025-10-03 14:36:19 -04:00
parent f2b92e816b
commit 4289e134aa
14 changed files with 146 additions and 30 deletions

View File

@@ -11,7 +11,7 @@ incsrc "Items/portal_rod.asm"
incsrc "Items/fishing_rod.asm"
incsrc "Items/magic_rings.asm"
incsrc "Items/fist_damage.asm"
%print_debug("End of Items/fist_damage.asm ")
%log_end("Items/fist_damage.asm", !LOG_ITEMS)
MagicBeanGfx:
incbin "gfx/magic_bean.bin"
@@ -80,5 +80,5 @@ Link_ConsumeMagicBagItem:
pushpc
; League of its own
incsrc "Items/ice_rod.asm"
%print_debug("End of Items/ice_rod.asm ")
%log_end("Items/ice_rod.asm", !LOG_ITEMS)
pullpc

View File

@@ -73,5 +73,5 @@ Dungeon_RevealSecrets:
RTL
}
print "End of Items/book_of_secrets.asm ", pc
%log_end("Items/book_of_secrets.asm", !LOG_ITEMS)
pushpc

View File

@@ -215,5 +215,5 @@ Bottle_DrinkMilk:
RTL
}
print "End of Items/bottle_net.asm ", pc
%log_end("Items/bottle_net.asm", !LOG_ITEMS)
pushpc

View File

@@ -515,4 +515,4 @@ DismissRodFromMenu:
RTL
}
print "End of Items/fishing_rod.asm ", pc
%log_end("Items/fishing_rod.asm", !LOG_ITEMS)

View File

@@ -88,5 +88,5 @@ CheckIfJumpingForSpikeDamage:
db $04 ; red
}
print "End of Items/jump_feather.asm ", pc
%log_end("Items/jump_feather.asm", !LOG_ITEMS)
pushpc

View File

@@ -386,7 +386,7 @@ UpdateFluteSong_Long:
.not_pressed
RTL
}
print "End of Items/ocarina.asm ", pc
%log_end("Items/ocarina.asm", !LOG_ITEMS)
pushpc ; Bank2B freespace

View File

@@ -221,7 +221,7 @@ ScrollToPortal:
RTL
}
print "End of Items/portal_rod.asm ", pc
%log_end("Items/portal_rod.asm", !LOG_ITEMS)
pushpc
; ; Portal Rod logic based on Fire Rod