Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rocket Hideout #986

Draft
wants to merge 9 commits into
base: 9bit
Choose a base branch
from
Draft
3 changes: 3 additions & 0 deletions constants/engine_flags.asm
Original file line number Diff line number Diff line change
Expand Up @@ -270,4 +270,7 @@
const ENGINE_PLAYER_CAUGHT_MEWTWO
const ENGINE_PLAYER_CAUGHT_CELEBI
const ENGINE_PLAYER_CAUGHT_SUDOWOODO
const ENGINE_PLAYER_CAUGHT_GALARIAN_ARTICUNO
const ENGINE_PLAYER_CAUGHT_GALARIAN_ZAPDOS
const ENGINE_PLAYER_CAUGHT_GALARIAN_MOLTRES
DEF NUM_ENGINE_FLAGS EQU const_value
29 changes: 29 additions & 0 deletions constants/event_flags.asm
Original file line number Diff line number Diff line change
Expand Up @@ -2406,6 +2406,35 @@
const EVENT_UNION_CAVE_B2F_LINKING_CORD
const EVENT_GOT_LOADED_DICE_FROM_GOLDENROD
const EVENT_LISTENED_TO_BATON_PASS_INTRO
const EVENT_BEAT_BLACK_BELT_VALOR_GRUNT_1
const EVENT_BEAT_SCIENTIST_SANDERS
const EVENT_BEAT_PICNICKER_ZANE
const EVENT_BEAT_BATTLE_GIRL_SASHA
const EVENT_BEAT_LASS_INSTINCT_GRUNT_1
const EVENT_PICKED_UP_MOON_STONE_FROM_ROCKET_HIDEOUT_B1F
const EVENT_PICKED_UP_ZINC_FROM_ROCKET_HIDEOUT_B1F
const EVENT_ROCKET_HIDEOUT_B1F_HIDDEN_MAX_REVIVE
const EVENT_BEAT_HEX_MANIAC_CORYN
const EVENT_PICKED_UP_ULTRA_BALL_FROM_ROCKET_HIDEOUT_B2F
const EVENT_PICKED_UP_SUPER_REPEL_FROM_ROCKET_HIDEOUT_B2F
const EVENT_PICKED_UP_NUGGET_FROM_ROCKET_HIDEOUT_B2F
const EVENT_PICKED_UP_RARE_CANDY_FROM_ROCKET_HIDEOUT_B2F
const EVENT_BEAT_COSPLAYER_INSTINCT_GRUNT_2
const EVENT_BEAT_COOL_DUDE_MYSTIC_GRUNT_1
const EVENT_PICKED_UP_CARBOS_FROM_ROCKET_HIDEOUT_B3F
const EVENT_PICKED_UP_ELIXIR_FROM_ROCKET_HIDEOUT_B3F
const EVENT_ROCKET_HIDEOUT_B3F_HIDDEN_FULL_HEAL
const EVENT_BEAT_YOUNGSTER_VALOR_GRUNT_2
const EVENT_PICKED_UP_LIFT_KEY_FROM_ROCKET_HIDEOUT_B4F
const EVENT_BEAT_TEACHER_SERENA
const EVENT_BEAT_SUPER_NERD_INSTINCT_GRUNT_3
const EVENT_ROCKET_HIDEOUT_B4F_HIDDEN_MAX_POTION
const EVENT_PICKED_UP_X_SP_ATK_FROM_ROCKET_HIDEOUT_B4F
const EVENT_PICKED_UP_PP_UP_FROM_ROCKET_HIDEOUT_B4F
const EVENT_PICKED_UP_DUBIOUS_DISC_FROM_ROCKET_HIDEOUT_B4F
const EVENT_CHERRYGROVE_BAY_FOUGHT_GALARIAN_ARTICUNO
const EVENT_CHERRYGROVE_BAY_FOUGHT_GALARIAN_ZAPDOS
const EVENT_CHERRYGROVE_BAY_FOUGHT_GALARIAN_MOLTRES

const_next $8ff
DEF NUM_EVENTS EQU const_value ; 2303
2 changes: 2 additions & 0 deletions constants/item_constants.asm
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,7 @@ DEF NUM_WINGS EQU const_value
const HARSH_LURE ; 1f
const POTENT_LURE ; 20
const MALIGN_LURE ; 21
const LIFT_KEY ; 22
DEF CHARMS_START EQU const_value
; Only charms below this point!
const SHINY_CHARM ; 22
Expand All @@ -683,6 +684,7 @@ DEF NUM_KEY_ITEMS EQU const_value - 1
const NAM_GS_BALL
const NAM_HARSH_LURE
const NAM_ITEMFINDER
const NAM_LIFT_KEY
const NAM_LOST_ITEM
const NAM_MACHINE_PART
const NAM_MALIGN_LURE
Expand Down
6 changes: 6 additions & 0 deletions constants/menu_constants.asm
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,9 @@ DEF NUM_PARTYMENUACTIONS EQU const_value
const NAME_TRENDY
const NAME_BOX
DEF NUM_NAME_TYPES EQU const_value

; Lure Menu Options (see engine/menus/lure_menu.asm)
const_def 1
const HARSH_LURE_MENU_OPT ; 1
const POTENT_LURE_MENU_OPT ; 2
const MALIGN_LURE_MENU_OPT ; 3
11 changes: 7 additions & 4 deletions constants/ram_constants.asm
Original file line number Diff line number Diff line change
Expand Up @@ -491,10 +491,13 @@ DEF CELEBIEVENT_FOREST_IS_RESTLESS_F EQU 2

; wPlayerCaught2::
const_def
const PLAYER_CAUGHT_MEW_F ; 0
const PLAYER_CAUGHT_MEWTWO_F ; 1
const PLAYER_CAUGHT_CELEBI_F ; 2
const PLAYER_CAUGHT_SUDOWOODO_F ; 3
const PLAYER_CAUGHT_MEW_F ; 0
const PLAYER_CAUGHT_MEWTWO_F ; 1
const PLAYER_CAUGHT_CELEBI_F ; 2
const PLAYER_CAUGHT_SUDOWOODO_F ; 3
const PLAYER_CAUGHT_GALARIAN_ARTICUNO_F ; 4
const PLAYER_CAUGHT_GALARIAN_ZAPDOS_F ; 5
const PLAYER_CAUGHT_GALARIAN_MOLTRES_F ; 6

DEF CAUGHT_DUO_MASK EQU (1 << PLAYER_CAUGHT_HO_OH_F) | (1 << PLAYER_CAUGHT_LUGIA_F)
DEF CAUGHT_BEASTS_MASK EQU (1 << PLAYER_CAUGHT_RAIKOU_F) | (1 << PLAYER_CAUGHT_ENTEI_F) | (1 << PLAYER_CAUGHT_SUICUNE_F)
Expand Down
11 changes: 11 additions & 0 deletions constants/trainer_constants.asm
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ DEF CRYS EQU __trainer_class__
const OLIVER
const CHAZ
const TYLER
const VALOR_GRUNT_2

trainerclass BUG_CATCHER ; 21
const WADE1
Expand Down Expand Up @@ -213,6 +214,7 @@ DEF CRYS EQU __trainer_class__
const GINGER
const CHEYENNE
const ADRIAN
const ZANE

trainerclass TWINS ; 24
const AMYANDMAY1
Expand Down Expand Up @@ -406,6 +408,7 @@ DEF CRYS EQU __trainer_class__
const CHLOE
const BROOKE
const KUROKO
const INSTINCT_GRUNT_2

trainerclass SUPER_NERD ; 31
const STAN
Expand All @@ -428,6 +431,7 @@ DEF CRYS EQU __trainer_class__
const FOOTE
const DAVE
const KOUTA
const INSTINCT_GRUNT_3

trainerclass LASS ; 32
const DANA1
Expand All @@ -453,6 +457,7 @@ DEF CRYS EQU __trainer_class__
const GINA
const ALICE
const DUPLICA
const INSTINCT_GRUNT_1

trainerclass BEAUTY ; 33
const VICTORIA
Expand Down Expand Up @@ -579,6 +584,7 @@ DEF CRYS EQU __trainer_class__
const ESTHER
const MATILDA
const BETHANY
const CORYN

trainerclass SAGE ; 3c
const CHOW
Expand Down Expand Up @@ -793,6 +799,7 @@ DEF CRYS EQU __trainer_class__
const JOSEPH
const NIGEL
const PIOTR
const SANDERS

trainerclass ROCKET_SCIENTIST ; 55
const ROSS
Expand Down Expand Up @@ -830,6 +837,7 @@ DEF CRYS EQU __trainer_class__
const MANFORD
const ANDER
const TAKEO
const VALOR_GRUNT_1

trainerclass BATTLE_GIRL ; 59
const SUBARU
Expand All @@ -839,6 +847,7 @@ DEF CRYS EQU __trainer_class__
const RONDA
const PADMA
const EMY
const SASHA

trainerclass DRAGON_TAMER ; 5a
const PAUL
Expand All @@ -865,6 +874,7 @@ DEF CRYS EQU __trainer_class__
const SHIRLEY
const KATHRYN
const CLARICE
const SERENA

trainerclass GUITARISTM ; 5d
const CLYDE
Expand Down Expand Up @@ -970,6 +980,7 @@ DEF CRYS EQU __trainer_class__
const COOLTRAINERM_COREY
const COOLTRAINERM_RAYMOND
const FERGUS
const MYSTIC_GRUNT_1

trainerclass COOLTRAINERF ; 6b
const BETH1
Expand Down
3 changes: 3 additions & 0 deletions data/events/engine_flags.asm
Original file line number Diff line number Diff line change
Expand Up @@ -287,5 +287,8 @@ EngineFlags:
engine_flag wPlayerCaught2, PLAYER_CAUGHT_MEWTWO_F
engine_flag wPlayerCaught2, PLAYER_CAUGHT_CELEBI_F
engine_flag wPlayerCaught2, PLAYER_CAUGHT_SUDOWOODO_F
engine_flag wPlayerCaught2, PLAYER_CAUGHT_GALARIAN_ARTICUNO_F
engine_flag wPlayerCaught2, PLAYER_CAUGHT_GALARIAN_ZAPDOS_F
engine_flag wPlayerCaught2, PLAYER_CAUGHT_GALARIAN_MOLTRES_F

assert_table_length NUM_ENGINE_FLAGS
2 changes: 2 additions & 0 deletions data/items/attributes.asm
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,8 @@ KeyItemAttributes:
key_item_attribute 0, ITEMMENU_NOUSE, ITEMMENU_NOUSE
; MALIGN LURE
key_item_attribute 0, ITEMMENU_NOUSE, ITEMMENU_NOUSE
; LIFT KEY
key_item_attribute 0, ITEMMENU_NOUSE, ITEMMENU_NOUSE
; SHINY CHARM
key_item_attribute 0, ITEMMENU_CURRENT, ITEMMENU_NOUSE
; OVAL CHARM
Expand Down
6 changes: 6 additions & 0 deletions data/items/descriptions.asm
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ KeyItemDescriptions:
dw HarshLureDesc
dw PotentLureDesc
dw MalignLureDesc
dw LiftKeyDesc
dw ShinyCharmDesc
dw OvalCharmDesc
dw CatchCharmDesc
Expand Down Expand Up @@ -1655,6 +1656,11 @@ MalignLureDesc:
next "malevolent odor."
done

LiftKeyDesc:
text "Operates the lift"
next "in a building."
done

ShinyCharmDesc:
text "A charm for find-"
next "ing shiny #mon."
Expand Down
1 change: 1 addition & 0 deletions data/items/icon_pointers.asm
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ KeyItemIconPointers:
dba HarshLureIcon
dba PotentLureIcon
dba MalignLureIcon
dba LiftKeyIcon
dba ShinyCharmIcon
dba OvalCharmIcon
dba CatchCharmIcon
Expand Down
1 change: 1 addition & 0 deletions data/items/key_names.asm
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ KeyItemNames::
li "Harsh Lure"
li "Potent Lure"
li "Malign Lure"
li "Lift Key"
li "Shiny Charm"
li "Oval Charm"
li "Catch Charm"
Expand Down
1 change: 1 addition & 0 deletions data/items/name_order.asm
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ KeyItemNameOrder:
db NAM_HARSH_LURE
db NAM_POTENT_LURE
db NAM_MALIGN_LURE
db NAM_LIFT_KEY
db NAM_SHINY_CHARM
db NAM_OVAL_CHARM
db NAM_CATCH_CHARM
Expand Down
1 change: 1 addition & 0 deletions data/maps/scenes.asm
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,5 @@ MapScenes::
scene_var WILLS_ROOM, wWillsRoomSceneID
scene_var WISE_TRIOS_ROOM, wWiseTriosRoomSceneID
scene_var YELLOW_FOREST, wYellowForestSceneID
scene_var ROCKET_HIDEOUT_B4F, wRocketHideoutB4FSceneID
db -1
Binary file modified data/tilesets/underground_attributes.bin
Binary file not shown.
1 change: 1 addition & 0 deletions data/tilesets/underground_collision.asm
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,4 @@
tilecoll FLOOR, FLOOR, WALL, FLOOR ; 66
tilecoll WALL, ELEVATOR_BUTTON, FLOOR, FLOOR ; 67
tilecoll DOOR, WALL, FLOOR, FLOOR ; 68
tilecoll FLOOR, FLOOR, WALL, WALL ; 69
Binary file modified data/tilesets/underground_metatiles.bin
Binary file not shown.
Loading