Add new map setup script MAPSETUP_ENTERLEVEL (#4), and integrate overworld HUD setup in the corresponding setup scripts (#15)

This commit is contained in:
xCrystal
2023-08-31 19:27:39 +02:00
parent 7bd940aeac
commit 74f2a55332
8 changed files with 44 additions and 8 deletions

View File

@@ -110,8 +110,6 @@ EnterMap:
ld [wXYComparePointer], a
ld [wXYComparePointer + 1], a
call SetUpFiveStepWildEncounterCooldown
ld hl, wTextboxFlags
set TEXT_2BPP_F, [hl]
farcall RunMapSetupScript
call DisableEvents
@@ -128,9 +126,6 @@ EnterMap:
ld [wPoisonStepCount], a
.dontresetpoison
call ConstructOverworldHUDTilemap
call EnableOverworldHUD
xor a ; end map entry
ldh [hMapEntryMethod], a
ld a, MAPSTATUS_HANDLE