diff --git a/constants/technique_constants.asm b/constants/technique_constants.asm new file mode 100755 index 000000000..47e049a84 --- /dev/null +++ b/constants/technique_constants.asm @@ -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 diff --git a/includes.asm b/includes.asm index f549ffdcb..a691fd9b9 100644 --- a/includes.asm +++ b/includes.asm @@ -63,6 +63,7 @@ INCLUDE "constants/sfx_constants.asm" INCLUDE "constants/sprite_anim_constants.asm" INCLUDE "constants/sprite_constants.asm" INCLUDE "constants/sprite_data_constants.asm" +INCLUDE "constants/technique_constants.asm" INCLUDE "constants/tileset_constants.asm" INCLUDE "constants/trainer_constants.asm" INCLUDE "constants/trainer_data_constants.asm" diff --git a/ram/wram.asm b/ram/wram.asm index e16f4d69a..3c220ddfe 100644 --- a/ram/wram.asm +++ b/ram/wram.asm @@ -2395,6 +2395,8 @@ wFarfetchdPosition:: db wUnlockedLevels:: flag_array NUM_LANDMARKS +wUnlockedTechniques:: flag_array NUM_TECHNIQUES + ; map scene ids (data/maps/scenes.asm:MapScenes) ; wPokecenter2FSceneID:: db