@gaialabs/iog-baserom 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -437,31 +437,9 @@ loc_03E04E! {
|
|
|
437
437
|
LoadHudTilemap! {
|
|
438
438
|
LDA $09ED
|
|
439
439
|
BIT #$40
|
|
440
|
-
BEQ
|
|
440
|
+
BEQ loc_03DED5
|
|
441
441
|
STZ $00DA ; Full suppress (cutscene): clear icon too
|
|
442
442
|
RTL
|
|
443
|
-
|
|
444
|
-
hud_check_combat:
|
|
445
|
-
LDA $playerFlags
|
|
446
|
-
BIT #$08 ; Bit 3 = input lock (non-combat area)
|
|
447
|
-
BEQ loc_03DED5 ; Combat area → load HUD normally
|
|
448
|
-
RTL ; Non-combat → skip HUD, keep icon ($00DA preserved)
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
--------------------------------------------------------
|
|
452
|
-
?INCLUDE 'system_core'
|
|
453
|
-
--------------------------------------------------------
|
|
454
|
-
;Suppress HUD stat updates in non-combat areas
|
|
455
|
-
|
|
456
|
-
UpdateHUD! {
|
|
457
|
-
LDA $09ED
|
|
458
|
-
BIT #$40 ; Bit 6 = full HUD suppression (cutscene)
|
|
459
|
-
BNE hud_update_suppress
|
|
460
|
-
LDA $playerFlags
|
|
461
|
-
BIT #$08 ; Bit 3 = input lock (non-combat area)
|
|
462
|
-
BEQ loc_00820E ; Neither set → proceed with HUD update
|
|
463
|
-
hud_update_suppress:
|
|
464
|
-
RTL
|
|
465
443
|
}
|
|
466
444
|
|
|
467
445
|
--------------------------------------------------------
|