Constants and WRAM addresses for unlocked techniques (#13)

This commit is contained in:
xCrystal 2023-10-24 11:45:38 +02:00
parent 729760e514
commit 884e4bdc63
3 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,10 @@
; technique constants
const_def
const TECHNIQUE_CUT_F
const TECHNIQUE_FLASH_F
const TECHNIQUE_SURF_F
DEF NUM_TECHNIQUES EQU const_value
DEF TECHNIQUE_CUT EQU 1 << TECHNIQUE_CUT_F
DEF TECHNIQUE_FLASH EQU 1 << TECHNIQUE_FLASH_F
DEF TECHNIQUE_SURF EQU 1 << TECHNIQUE_SURF_F

View File

@ -63,6 +63,7 @@ INCLUDE "constants/sfx_constants.asm"
INCLUDE "constants/sprite_anim_constants.asm" INCLUDE "constants/sprite_anim_constants.asm"
INCLUDE "constants/sprite_constants.asm" INCLUDE "constants/sprite_constants.asm"
INCLUDE "constants/sprite_data_constants.asm" INCLUDE "constants/sprite_data_constants.asm"
INCLUDE "constants/technique_constants.asm"
INCLUDE "constants/tileset_constants.asm" INCLUDE "constants/tileset_constants.asm"
INCLUDE "constants/trainer_constants.asm" INCLUDE "constants/trainer_constants.asm"
INCLUDE "constants/trainer_data_constants.asm" INCLUDE "constants/trainer_data_constants.asm"

View File

@ -2395,6 +2395,8 @@ wFarfetchdPosition:: db
wUnlockedLevels:: flag_array NUM_LANDMARKS wUnlockedLevels:: flag_array NUM_LANDMARKS
wUnlockedTechniques:: flag_array NUM_TECHNIQUES
; map scene ids (data/maps/scenes.asm:MapScenes) ; map scene ids (data/maps/scenes.asm:MapScenes)
; wPokecenter2FSceneID:: db ; wPokecenter2FSceneID:: db