Remove unnecessary event and engine flags (#1)

This commit is contained in:
xCrystal
2023-07-25 18:24:38 +02:00
parent 7bbe559252
commit 473c23a727
10 changed files with 37 additions and 1724 deletions

View File

@@ -520,12 +520,13 @@ PokegearMap_Init:
ret
PokegearMap_KantoMap:
call TownMap_GetKantoLandmarkLimits
ld d, NUM_LANDMARKS - 1
ld e, LANDMARK_LEVEL_1
jr PokegearMap_ContinueMap
PokegearMap_JohtoMap:
ld d, LANDMARK_SPECIAL
ld e, LANDMARK_SPECIAL
ld d, NUM_LANDMARKS - 1
ld e, LANDMARK_LEVEL_1
PokegearMap_ContinueMap:
ld hl, hJoyLast
ld a, [hl]
@@ -683,19 +684,6 @@ PokegearMap_UpdateCursorPosition:
ld [hl], d
ret
TownMap_GetKantoLandmarkLimits:
ld a, [wStatusFlags]
bit STATUSFLAGS_HALL_OF_FAME_F, a
jr z, .not_hof
ld d, LANDMARK_SPECIAL
ld e, LANDMARK_SPECIAL
ret
.not_hof
ld d, LANDMARK_SPECIAL
ld e, LANDMARK_SPECIAL
ret
PokegearRadio_Init:
call InitPokegearTilemap
depixel 4, 10, 4, 4