mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Unlocked level flags
This commit is contained in:
parent
daf9e41557
commit
d7c59dcef1
@ -7,7 +7,7 @@ DEF NUM_STAT_PAGES EQU const_value - 1
|
||||
DEF STAT_PAGE_MASK EQU %00000011
|
||||
|
||||
BattleStatsScreenInit:
|
||||
; fallthrough
|
||||
; fallthrough
|
||||
|
||||
StatsScreenInit:
|
||||
ld hl, StatsScreenMain
|
||||
|
@ -21,10 +21,13 @@ ResetFlashIfOutOfCave::
|
||||
res STATUSFLAGS_FLASH_F, [hl]
|
||||
ret
|
||||
|
||||
UnlockedLevelsFlagAction::
|
||||
ld hl, wUnlockedLevels
|
||||
jr FlagAction
|
||||
|
||||
EventFlagAction::
|
||||
ld hl, wEventFlags
|
||||
call FlagAction
|
||||
ret
|
||||
; fallthrough
|
||||
|
||||
FlagAction::
|
||||
; Perform action b on bit de in flag array hl.
|
||||
|
@ -177,6 +177,7 @@ PrintText1bpp::
|
||||
PrintText2bpp::
|
||||
push hl
|
||||
call SpeechTextbox2bpp
|
||||
; fallthrough
|
||||
|
||||
_PrintText:
|
||||
call UpdateSprites
|
||||
|
@ -2376,6 +2376,8 @@ wMooMooBerries:: db
|
||||
wUndergroundSwitchPositions:: db
|
||||
wFarfetchdPosition:: db
|
||||
|
||||
wUnlockedLevels:: flag_array NUM_LANDMARKS
|
||||
|
||||
; map scene ids (data/maps/scenes.asm:MapScenes)
|
||||
; wPokecenter2FSceneID:: db
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user