Implement the basics of the window HUD functionality (#15)

This commit is contained in:
xCrystal
2023-08-27 19:18:52 +02:00
parent 4ee4655e72
commit 6e49bb9893
6 changed files with 118 additions and 15 deletions

View File

@@ -126,6 +126,8 @@ EnterMap:
ld [wPoisonStepCount], a
.dontresetpoison
call EnableOverworldWindowHUD
xor a ; end map entry
ldh [hMapEntryMethod], a
ld a, MAPSTATUS_HANDLE

View File

@@ -1165,6 +1165,7 @@ Script_loadtrainer:
ret
Script_startbattle:
call DisableWindowHUD
call BufferScreen
predef StartBattle
ld a, [wBattleResult]