diff options
Diffstat (limited to 'src/constants')
-rw-r--r-- | src/constants/deck_constants.asm | 114 | ||||
-rw-r--r-- | src/constants/event_constants.asm | 3 | ||||
-rw-r--r-- | src/constants/overworld_script_constants.asm | 109 |
3 files changed, 62 insertions, 164 deletions
diff --git a/src/constants/deck_constants.asm b/src/constants/deck_constants.asm index d6e5b1a..6b16d63 100644 --- a/src/constants/deck_constants.asm +++ b/src/constants/deck_constants.asm @@ -1,57 +1,61 @@ +; Both *_DECK and *_DECK_ID constants are defined here. +; *_DECK constants are to be used with LoadDeck and related routines. +; *_DECK_ID constants are specific to be loaded into wOpponentDeckID. +; Always, *_DECK_ID = *_DECK - 2. UNNAMED_DECK_ID and UNNAMED_2_DECK_ID do not exist. const_def - const UNNAMED_DECK ; $00 - const UNNAMED_DECK_2 ; $01 - const SAMS_PRACTICE_DECK ; $02 - const PRACTICE_PLAYER_DECK ; $03 - const SAMS_NORMAL_DECK ; $04 - const CHARMANDER_AND_FRIENDS_DECK ; $05 - const CHARMANDER_EXTRA_DECK ; $06 - const SQUIRTLE_AND_FRIENDS_DECK ; $07 - const SQUIRTLE_EXTRA_DECK ; $08 - const BULBASAUR_AND_FRIENDS_DECK ; $09 - const BULBASAUR_EXTRA_DECK ; $0A - const LIGHTNING_AND_FIRE_DECK ; $0B - const WATER_AND_FIGHTING_DECK ; $0C - const GRASS_AND_PSYCHIC_DECK ; $0D - const LEGENDARY_MOLTRES_DECK ; $0E - const LEGENDARY_ZAPDOS_DECK ; $0F - const LEGENDARY_ARTICUNO_DECK ; $10 - const LEGENDARY_DRAGONITE_DECK ; $11 - const FIRST_STRIKE_DECK ; $12 - const ROCK_CRUSHER_DECK ; $13 - const GO_GO_RAIN_DANCE_DECK ; $14 - const ZAPPING_SELFDESTRUCT_DECK ; $15 - const FLOWER_POWER_DECK ; $16 - const STRANGE_PSYSHOCK_DECK ; $17 - const WONDERS_OF_SCIENCE_DECK ; $18 - const FIRE_CHARGE_DECK ; $19 - const IM_RONALD_DECK ; $1A - const POWERFUL_RONALD_DECK ; $1B - const INVINCIBLE_RONALD_DECK ; $1C - const LEGENDARY_RONALD_DECK ; $1D - const MUSCLES_FOR_BRAINS_DECK ; $1E - const HEATED_BATTLE_DECK ; $1F - const LOVE_TO_BATTLE_DECK ; $20 - const EXCAVATION_DECK ; $21 - const BLISTERING_POKEMON_DECK ; $22 - const HARD_POKEMON_DECK ; $23 - const WATERFRONT_POKEMON_DECK ; $24 - const LONELY_FRIENDS_DECK ; $25 - const SOUND_OF_THE_WAVES_DECK ; $26 - const PIKACHU_DECK ; $27 - const BOOM_BOOM_SELFDESTRUCT_DECK ; $28 - const POWER_GENERATOR_DECK ; $29 - const ETCETERA_DECK ; $2A - const FLOWER_GARDEN_DECK ; $2B - const KALEIDOSCOPE_DECK ; $2C - const GHOST_DECK ; $2D - const NAP_TIME_DECK ; $2E - const STRANGE_POWER_DECK ; $2F - const FLYIN_POKEMON_DECK ; $30 - const LOVELY_NIDORAN_DECK ; $31 - const POISON_DECK ; $32 - const ANGER_DECK ; $33 - const FLAMETHROWER_DECK ; $34 - const RESHUFFLE_DECK ; $35 - const IMAKUNI_DECK ; $36 + deck_const UNNAMED_DECK ; $00 + deck_const UNNAMED_2_DECK ; $01 + deck_const SAMS_PRACTICE_DECK ; $02 + deck_const PRACTICE_PLAYER_DECK ; $03 + deck_const SAMS_NORMAL_DECK ; $04 + deck_const CHARMANDER_AND_FRIENDS_DECK ; $05 + deck_const CHARMANDER_EXTRA_DECK ; $06 + deck_const SQUIRTLE_AND_FRIENDS_DECK ; $07 + deck_const SQUIRTLE_EXTRA_DECK ; $08 + deck_const BULBASAUR_AND_FRIENDS_DECK ; $09 + deck_const BULBASAUR_EXTRA_DECK ; $0A + deck_const LIGHTNING_AND_FIRE_DECK ; $0B + deck_const WATER_AND_FIGHTING_DECK ; $0C + deck_const GRASS_AND_PSYCHIC_DECK ; $0D + deck_const LEGENDARY_MOLTRES_DECK ; $0E + deck_const LEGENDARY_ZAPDOS_DECK ; $0F + deck_const LEGENDARY_ARTICUNO_DECK ; $10 + deck_const LEGENDARY_DRAGONITE_DECK ; $11 + deck_const FIRST_STRIKE_DECK ; $12 + deck_const ROCK_CRUSHER_DECK ; $13 + deck_const GO_GO_RAIN_DANCE_DECK ; $14 + deck_const ZAPPING_SELFDESTRUCT_DECK ; $15 + deck_const FLOWER_POWER_DECK ; $16 + deck_const STRANGE_PSYSHOCK_DECK ; $17 + deck_const WONDERS_OF_SCIENCE_DECK ; $18 + deck_const FIRE_CHARGE_DECK ; $19 + deck_const IM_RONALD_DECK ; $1A + deck_const POWERFUL_RONALD_DECK ; $1B + deck_const INVINCIBLE_RONALD_DECK ; $1C + deck_const LEGENDARY_RONALD_DECK ; $1D + deck_const MUSCLES_FOR_BRAINS_DECK ; $1E + deck_const HEATED_BATTLE_DECK ; $1F + deck_const LOVE_TO_BATTLE_DECK ; $20 + deck_const EXCAVATION_DECK ; $21 + deck_const BLISTERING_POKEMON_DECK ; $22 + deck_const HARD_POKEMON_DECK ; $23 + deck_const WATERFRONT_POKEMON_DECK ; $24 + deck_const LONELY_FRIENDS_DECK ; $25 + deck_const SOUND_OF_THE_WAVES_DECK ; $26 + deck_const PIKACHU_DECK ; $27 + deck_const BOOM_BOOM_SELFDESTRUCT_DECK ; $28 + deck_const POWER_GENERATOR_DECK ; $29 + deck_const ETCETERA_DECK ; $2A + deck_const FLOWER_GARDEN_DECK ; $2B + deck_const KALEIDOSCOPE_DECK ; $2C + deck_const GHOST_DECK ; $2D + deck_const NAP_TIME_DECK ; $2E + deck_const STRANGE_POWER_DECK ; $2F + deck_const FLYIN_POKEMON_DECK ; $30 + deck_const LOVELY_NIDORAN_DECK ; $31 + deck_const POISON_DECK ; $32 + deck_const ANGER_DECK ; $33 + deck_const FLAMETHROWER_DECK ; $34 + deck_const RESHUFFLE_DECK ; $35 + deck_const IMAKUNI_DECK ; $36 DECKS_END EQU const_value + -1 diff --git a/src/constants/event_constants.asm b/src/constants/event_constants.asm new file mode 100644 index 0000000..496f5a3 --- /dev/null +++ b/src/constants/event_constants.asm @@ -0,0 +1,3 @@ +; Event Flags +EVENT_BEAT_SARA EQU $15 +EVENT_BEAT_AMANDA EQU $16 diff --git a/src/constants/overworld_script_constants.asm b/src/constants/overworld_script_constants.asm deleted file mode 100644 index 167537c..0000000 --- a/src/constants/overworld_script_constants.asm +++ /dev/null @@ -1,109 +0,0 @@ - const_def - const OWScript_EndScriptLoop1_index ; $00 - const OWScript_CloseTextBox_index ; $01 - const OWScript_PrintTextString_index ; $02 - const Func_ccdc_index ; $03 - const OWScript_AskQuestionJump_index ; $04 - const OWScript_StartBattle_index ; $05 - const Func_cd83_index ; $06 - const Func_cda8_index ; $07 - const OWScript_PrintTextCloseBox_index ; $08 - const Func_cdcb_index ; $09 - const Func_ce26_index ; $0a - const Func_ce84_index ; $0b - const OWScript_GiveBoosterPacks_index ; $0c - const Func_cf0c_index ; $0d - const Func_cf12_index ; $0e - const Func_cf3f_index ; $0f - const Func_cf4c_index ; $10 - const Func_cf53_index ; $11 - const Func_cf7b_index ; $12 - const Func_cf2d_index ; $13 - const Func_cf96_index ; $14 - const Func_cfc6_index ; $15 - const Func_cfd4_index ; $16 - const Func_d00b_index ; $17 - const Func_d025_index ; $18 - const Func_d032_index ; $19 - const Func_d03f_index ; $1a - const OWScript_ScriptJump_index ; $1b - const Func_d04f_index ; $1c - const Func_d055_index ; $1d - const OWScript_MovePlayer_index ; $1e - const Func_cee2_index ; $1f - const Func_d080_index ; $20 - const Func_d088_index ; $21 - const Func_d095_index ; $22 - const Func_d0be_index ; $23 - const Func_d0ce_index ; $24 - const Func_d0d9_index ; $25 - const Func_d0f2_index ; $26 - const Func_ce4a_index ; $27 - const Func_ceba_index ; $28 - const Func_d103_index ; $29 - const Func_d125_index ; $2a - const Func_d135_index ; $2b - const Func_d16b_index ; $2c - const Func_cd4f_index ; $2d - const Func_cd94_index ; $2e - const Func_ce52_index ; $2f - const Func_cdd8_index ; $30 - const Func_cdf5_index ; $31 - const Func_d195_index ; $32 - const Func_d1ad_index ; $33 - const Func_d1b3_index ; $34 - const OWScript_EndScriptCloseText_index ; $35 - const Func_d244_index ; $36 - const Func_d24c_index ; $37 - const DeckMachine_d336_index ; $38 - const Func_d271_index ; $39 - const Func_d36d_index ; $3a - const Func_ce6f_index ; $3b - const Func_d209_index ; $3c - const Func_d38f_index ; $3d - const Func_d396_index ; $3e - const Func_cd76_index ; $3f - const Func_d39d_index ; $40 - const Func_d3b9_index ; $41 - const Func_d3c9_index ; $42 - const Func_d3d1_index ; $43 - const Func_d3d4_index ; $44 - const Func_d3e0_index ; $45 - const Func_d3fe_index ; $46 - const Func_d408_index ; $47 - const Func_d40f_index ; $48 - const Func_d416_index ; $49 - const Func_d423_index ; $4a - const Func_d429_index ; $4b - const Func_d41d_index ; $4c - const Func_d42f_index ; $4d - const Func_d435_index ; $4e - const Func_cce4_index ; $4f - const Func_d2f6_index ; $50 - const Func_d317_index ; $51 - const Func_d43d_index ; $52 - const OWScript_EndScriptLoop2_index ; $53 - const OWScript_EndScriptLoop3_index ; $54 - const OWScript_EndScriptLoop4_index ; $55 - const OWScript_EndScriptLoop5_index ; $56 - const OWScript_EndScriptLoop6_index ; $57 - const OWScript_CustomModifyEventFlags_index ; $58 - const Func_d460_index ; $59 - const OWScript_JumpIfFlagSet_index ; $5a - const Func_d484_index ; $5b - const Func_d49e_index ; $5c - const Func_d4a6_index ; $5d - const Func_d4ae_index ; $5e - const OWScript_SetEventFlags_index ; $5f - const Func_d4c3_index ; $60 - const Func_d4ca_index ; $61 - const OWScript_JumpIfFlagNotSet_index ; $62 - const Func_d452_index ; $63 - const OWScript_EndScriptLoop7_index ; $64 - const OWScript_EndScriptLoop8_index ; $65 - const OWScript_EndScriptLoop9_index ; $66 - const OWScript_EndScriptLoop10_index ; $67 - -; Script Flags -FLAG_BEAT_SARA EQU $15 -FLAG_BEAT_AMANDA EQU $16 |