Overworld cleanup

This commit is contained in:
scawful
2025-01-09 02:36:14 -05:00
parent bc591c4e7a
commit 21514f841e
2 changed files with 12 additions and 21 deletions

View File

@@ -98,12 +98,12 @@ Overworld_SetFixedColAndScroll_AltEntry = $0BFE72
RunClock:
{
LDA $10 ; checks current event in game
CMP #$07 : BEQ .counter_increasing ; dungeon/building?
CMP #$09 : BEQ .overworld ; overworld?
CMP #$0B : BEQ .overworld ; special overworld?
CMP #$0E : BEQ .dialog ; dialog box?
RTS
; checks current event in game
LDA $10 : CMP #$07 : BEQ .counter_increasing ; dungeon/building?
CMP #$09 : BEQ .overworld ; overworld?
CMP #$0B : BEQ .overworld ; special overworld?
CMP #$0E : BEQ .dialog ; dialog box?
RTS
.overworld
; Reload Sprite Gfx Properties
JSL $00FC62 ; Sprite_LoadGraphicsProperties

View File

@@ -1,11 +1,9 @@
; =========================================================
; World Map Module
org $0AC589
WorldMapIcon_AdjustCoordinate:
org $0AC51C
WorldMap_HandleSpriteBlink:
WorldMapIcon_AdjustCoordinate = $0AC589
WorldMap_HandleSpriteBlink = $0AC51C
pullpc
@@ -169,17 +167,10 @@ org $0ABF90
MapIconDraw:
{
; .dont_draw_link
LDA.l $7EC108
PHA
LDA.l $7EC109
PHA
LDA.l $7EC10A
PHA
LDA.l $7EC10B
PHA
LDA.l $7EC108 : PHA
LDA.l $7EC109 : PHA
LDA.l $7EC10A : PHA
LDA.l $7EC10B : PHA
;-----------------------------------