Created newhud.asm which contains most of the code related to drawing the hud. Optimized hud code as much as I could. Significantly less lag than v29.
Compasses.asm got almost completely rewritten.
This commit is contained in:
@@ -16,12 +16,10 @@ OnPrepFileSelect:
|
||||
RTL
|
||||
;--------------------------------------------------------------------------------
|
||||
OnDrawHud:
|
||||
JSL.l Draw4DigitRupees
|
||||
JSL.l DrawChallengeTimer
|
||||
JSL.l DrawGoalIndicator
|
||||
JSL.l DrawDungeonCompassCounts
|
||||
JSL.l DrawChallengeTimer ; this has to come before NewDrawHud because the timer overwrites the compass counter
|
||||
JSL.l NewDrawHud
|
||||
JSL.l SwapSpriteIfNecissary
|
||||
RTL
|
||||
JML.l ReturnFromOnDrawHud
|
||||
;--------------------------------------------------------------------------------
|
||||
;OnDungeonEntrance:
|
||||
; STA $7EC172 ; thing we wrote over
|
||||
|
||||
Reference in New Issue
Block a user