This commit is contained in:
cawtds 2026-01-28 17:41:12 +01:00 committed by GitHub
parent e80ae56903
commit 97e83ebe6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1743 changed files with 158563 additions and 1758 deletions

View File

@ -12,7 +12,6 @@ jobs:
if: github.actor != 'allcontributors[bot]' if: github.actor != 'allcontributors[bot]'
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
GAME_VERSION: EMERALD
GAME_REVISION: 0 GAME_REVISION: 0
GAME_LANGUAGE: ENGLISH GAME_LANGUAGE: ENGLISH
COMPARE: 0 COMPARE: 0
@ -28,12 +27,15 @@ jobs:
sudo apt install -y binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi libpng-dev python3 sudo apt install -y binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi libpng-dev python3
# build-essential and git are already installed # build-essential and git are already installed
- name: ROM - name: ROM (Emerald)
env: env:
COMPARE: 0 COMPARE: 0
GAME_VERSION: EMERALD
run: make -j${nproc} -O all run: make -j${nproc} -O all
- name: Release - name: Release
env:
GAME_VERSION: EMERALD
run: | run: |
make tidy make tidy
make -j${nproc} release make -j${nproc} release
@ -41,10 +43,24 @@ jobs:
- name: Test - name: Test
env: env:
GAME_VERSION: EMERALD
TEST: 1 TEST: 1
run: | run: |
make -j${nproc} check make -j${nproc} check
- name: ROM (Firered)
env:
COMPARE: 0
run: |
make clean
make firered -j${nproc} -O
- name: ROM (Leafgreen)
env:
COMPARE: 0
run: |
make leafgreen -j${nproc} -O
docs_validate: docs_validate:
if: github.actor != 'allcontributors[bot]' if: github.actor != 'allcontributors[bot]'
runs-on: ubuntu-latest runs-on: ubuntu-latest

3
.gitignore vendored
View File

@ -42,6 +42,8 @@ prefabs.json
*.sym *.sym
*.js *.js
/pokeemerald-*.png /pokeemerald-*.png
/pokefirered-*.png
/pokeleafgreen-*.png
src/data/map_group_count.h src/data/map_group_count.h
include/constants/heal_locations.h include/constants/heal_locations.h
include/constants/script_commands.h include/constants/script_commands.h
@ -49,6 +51,7 @@ tools/trainerproc/trainerproc
src/data/battle_partners.h src/data/battle_partners.h
src/data/pokemon/teachable_learnsets.h src/data/pokemon/teachable_learnsets.h
src/data/trainers.h src/data/trainers.h
src/data/trainers_frlg.h
src/data/debug_trainers.h src/data/debug_trainers.h
src/data/tutor_moves.h src/data/tutor_moves.h
test/battle/trainer_control.h test/battle/trainer_control.h

View File

@ -4,6 +4,7 @@
.include "asm/macros/map.inc" .include "asm/macros/map.inc"
.include "asm/macros/field_effect_script.inc" .include "asm/macros/field_effect_script.inc"
.include "asm/macros/trainer_hill.inc" .include "asm/macros/trainer_hill.inc"
.include "asm/macros/trainer_tower.inc"
.include "asm/macros/battle_tent.inc" .include "asm/macros/battle_tent.inc"
.include "asm/macros/battle_frontier/apprentice.inc" .include "asm/macros/battle_frontier/apprentice.inc"
.include "asm/macros/battle_frontier/battle_arena.inc" .include "asm/macros/battle_frontier/battle_arena.inc"

View File

@ -58,6 +58,8 @@
STD_FIND_ITEM = 1 STD_FIND_ITEM = 1
STD_OBTAIN_DECORATION = 7 STD_OBTAIN_DECORATION = 7
STD_REGISTER_MATCH_CALL = 8 STD_REGISTER_MATCH_CALL = 8
STD_PUT_ITEM_AWAY = 11
STD_RECEIVED_ITEM = 12
@ Calls the script in gStdScripts at index function. @ Calls the script in gStdScripts at index function.
.macro callstd function:req .macro callstd function:req
@ -730,7 +732,7 @@
OBJ_ID_NONE = 0 OBJ_ID_NONE = 0
@ Configures the arguments for a trainer battle, then jumps to the appropriate script in scripts/trainer_battle.inc @ Configures the arguments for a trainer battle, then jumps to the appropriate script in scripts/trainer_battle.inc
.macro trainerbattle type:req localIdA:req, trainer_a:req, intro_text_a:req, lose_text_a:req, event_script_a:req, localIdB:req, trainer_b:req, intro_text_b:req, lose_text_b:req, event_script_b:req, victory_text:req, cannot_battle:req, isDouble:req, playMusicA:req, playMusicB:req, isRematch:req .macro trainerbattle type:req localIdA:req, trainer_a:req, intro_text_a:req, lose_text_a:req, event_script_a:req, localIdB:req, trainer_b:req, intro_text_b:req, lose_text_b:req, event_script_b:req, victory_text:req, cannot_battle:req, isDouble:req, playMusicA:req, playMusicB:req, isRematch:req, rival_battle_flags=0
.byte SCR_OP_TRAINERBATTLE .byte SCR_OP_TRAINERBATTLE
.set trainerbattle_flags, 0 .set trainerbattle_flags, 0
.ifgt \isDouble; .set trainerbattle_flags, trainerbattle_flags | (1 << 0); .endif .ifgt \isDouble; .set trainerbattle_flags, trainerbattle_flags | (1 << 0); .endif
@ -751,6 +753,7 @@
.4byte \event_script_b @ retAddrB .4byte \event_script_b @ retAddrB
.4byte \victory_text @ victoryText .4byte \victory_text @ victoryText
.4byte \cannot_battle @ cannotBattle .4byte \cannot_battle @ cannotBattle
.byte \rival_battle_flags @ rivalBattleFlags
.endm .endm
NO_MUSIC = FALSE NO_MUSIC = FALSE
@ -800,6 +803,11 @@
trainerbattle TRAINER_BATTLE_TWO_TRAINERS_NO_INTRO, OBJ_ID_NONE, \trainer_a, NULL, \lose_text_a, NULL, OBJ_ID_NONE, \trainer_b, NULL, \lose_text_b, NULL, NULL, NULL, FALSE, TRUE, FALSE, FALSE trainerbattle TRAINER_BATTLE_TWO_TRAINERS_NO_INTRO, OBJ_ID_NONE, \trainer_a, NULL, \lose_text_a, NULL, OBJ_ID_NONE, \trainer_b, NULL, \lose_text_b, NULL, NULL, NULL, FALSE, TRUE, FALSE, FALSE
.endm .endm
@ Starts a trainer battle with victory text if the player loses. If flags is nonzero, the player will be healed after battle (and its assumed to be the tutorial battle)
.macro trainerbattle_earlyrival trainer:req, flags:req, lose_text:req, victory_text:req
trainerbattle TRAINER_BATTLE_EARLY_RIVAL, OBJ_ID_NONE, \trainer, NULL, \lose_text, NULL, OBJ_ID_NONE, TRAINER_NONE, NULL, NULL, NULL, \victory_text, NULL, FALSE, TRUE, FALSE, FALSE, \flags
.endm
@ Starts a trainer battle using the battle information stored in RAM (usually by the scripts in trainer_battle.inc, which @ Starts a trainer battle using the battle information stored in RAM (usually by the scripts in trainer_battle.inc, which
@ are run by trainerbattle), and blocks script execution until the battle finishes. @ are run by trainerbattle), and blocks script execution until the battle finishes.
.macro dotrainerbattle .macro dotrainerbattle
@ -1910,6 +1918,12 @@
.2byte \id .2byte \id
.endm .endm
@ Gets the width of the specified message in the Braille font and sets the result to VAR_0x8004.
.macro getbraillestringwidth msg:req
.byte SCR_OP_GETBRAILLESTRINGWIDTH
.4byte \msg
.endm
.macro dynmultistack left:req, top:req, ignoreBPress:req, maxBeforeScroll:req, shouldSort:req, initialSelected:req, callbacks:req .macro dynmultistack left:req, top:req, ignoreBPress:req, maxBeforeScroll:req, shouldSort:req, initialSelected:req, callbacks:req
_dynmultichoice \left, \top, \ignoreBPress, \maxBeforeScroll, \shouldSort, \initialSelected, \callbacks, NULL _dynmultichoice \left, \top, \ignoreBPress, \maxBeforeScroll, \shouldSort, \initialSelected, \callbacks, NULL
.endm .endm
@ -2087,6 +2101,13 @@
callstd STD_FIND_ITEM callstd STD_FIND_ITEM
.endm .endm
@ Prints the message "{PLAYER} put the {ITEM} in the {POCKET}." The item name is pluralized, if applicable.
.macro putitemaway item:req, amount=1
setorcopyvar VAR_0x8000, \item
setorcopyvar VAR_0x8001, \amount
callstd STD_PUT_ITEM_AWAY
.endm
@ Equivalent to giveitem but for a single decoration. @ Equivalent to giveitem but for a single decoration.
.macro givedecoration decoration:req .macro givedecoration decoration:req
setorcopyvar VAR_0x8000, \decoration setorcopyvar VAR_0x8000, \decoration
@ -2793,3 +2814,43 @@
callnative ScrCmd_setstartingstatus callnative ScrCmd_setstartingstatus
.byte \status .byte \status
.endm .endm
@ FRLG
@ Prints the provided message after playing the fanfare music (can only be MUS_LEVEL_UP or MUS_RG_OBTAIN_KEY_ITEM).
@ It then prints the message shown by using putitemaway.
.macro msgreceiveditem msg:req, item:req, amount=1, fanfare=MUS_LEVEL_UP
loadword 0, \msg
setorcopyvar VAR_0x8000, \item
setorcopyvar VAR_0x8001, \amount
setorcopyvar VAR_0x8002, \fanfare
callstd STD_RECEIVED_ITEM
.endm
@ Adds the specified item to the bag, then prints a message with fanfare. See description of msgreceiveditem.
.macro giveitem_msg msg:req, item:req, amount=1, fanfare=MUS_LEVEL_UP
additem \item, \amount
msgreceiveditem \msg, \item, \amount, \fanfare
.endm
@ Depends on the provided function. With the default argument, unlocks the specified entry in the Fame Checker.
.macro famechecker person:req, index:req, function=SetFlavorTextFlagFromSpecialVars
setvar VAR_0x8004, \person
setvar VAR_0x8005, \index
special \function
.endm
@ Sets the 'defeated' flag for all trainers in the specified gym.
.macro set_gym_trainers_frlg gym:req
setvar VAR_0x8008, \gym
call Common_EventScript_SetGymTrainers_Frlg
.endm
@ Prints a braille message, then waits for users input.
.macro braillemessage_wait text:req
setvar VAR_0x8006, 0
braillemessage \text
getbraillestringwidth \text
call EventScript_BrailleCursorWaitButton
.endm

View File

@ -46,12 +46,10 @@
.endm .endm
@ Defines an object event template for map data, to be used by a clone object. Mirrors the struct layout of ObjectEventTemplate in include/global.fieldmap.h @ Defines an object event template for map data, to be used by a clone object. Mirrors the struct layout of ObjectEventTemplate in include/global.fieldmap.h
@ NOTE: The handling for this type of event does not exist in Emerald by default; it is exclusive to FRLG.
.macro clone_event index:req, gfx:req, x:req, y:req, target_local_id:req, target_map_id:req .macro clone_event index:req, gfx:req, x:req, y:req, target_local_id:req, target_map_id:req
.byte \index .byte \index
.byte \gfx .2byte \gfx
.byte OBJ_KIND_CLONE .byte OBJ_KIND_CLONE
.space 1 @ Padding
.2byte \x, \y .2byte \x, \y
.byte \target_local_id .byte \target_local_id
.space 3 @ Padding .space 3 @ Padding
@ -91,17 +89,12 @@
@ Defines a generic background event for map data. Mirrors the struct layout of BgEvent in include/global.fieldmap.h @ Defines a generic background event for map data. Mirrors the struct layout of BgEvent in include/global.fieldmap.h
@ 'kind' is any BG_EVENT_* constant (see include/constants/event_bg.h). @ 'kind' is any BG_EVENT_* constant (see include/constants/event_bg.h).
@ 'arg6' and 'arg7' are used differently depending on the bg event type. See macros below @ 'arg6' and 'arg7' are used differently depending on the bg event type. See macros below
.macro bg_event x:req, y:req, elevation:req, kind:req, arg6:req, arg7 .macro bg_event x:req, y:req, elevation:req, kind:req, arg6:req
.2byte \x, \y .2byte \x, \y
.byte \elevation .byte \elevation
.byte \kind .byte \kind
.space 2 @ Padding .space 2 @ Padding
.if \kind != BG_EVENT_HIDDEN_ITEM .4byte \arg6
.4byte \arg6
.else
.2byte \arg6
.2byte \arg7
.endif
inc _num_signs inc _num_signs
.endm .endm
@ -111,11 +104,17 @@
.endm .endm
@ Defines a background hidden item event for map data @ Defines a background hidden item event for map data
.macro bg_hidden_item_event x:req, y:req, elevation:req, item:req, flag:req .macro bg_hidden_item_event x:req, y:req, elevation:req, item:req, flag:req, quantity=1, underfoot=FALSE
.if \flag < FLAG_HIDDEN_ITEMS_START .if \flag < FLAG_HIDDEN_ITEMS_START
.error "Hidden Item flag \flag is too small. Must be >= FLAG_HIDDEN_ITEMS_START." .error "Hidden Item flag \flag is too small. Must be >= FLAG_HIDDEN_ITEMS_START."
.endif .endif
bg_event \x, \y, \elevation, BG_EVENT_HIDDEN_ITEM, \item, ((\flag) - FLAG_HIDDEN_ITEMS_START) .if \item >= (1 << 12)
.error "quantity \quantity too large"
.endif
.if \quantity >= (1 << 7)
.error "quantity \quantity too large"
.endif
bg_event \x, \y, \elevation, BG_EVENT_HIDDEN_ITEM, \item | (((\flag) - FLAG_HIDDEN_ITEMS_START) << 11)| (\quantity << 24) | (\underfoot << 31)
.endm .endm
@ Defines a background secret base event for map data @ Defines a background secret base event for map data

View File

@ -0,0 +1,133 @@
@ Sets NPC gfx and the floor layout depending on current challenge and floor
.macro ttower_initfloor
setvar VAR_0x8004, TRAINER_TOWER_FUNC_INIT_FLOOR
special CallTrainerTowerFunc
.endm
@ Buffers the opponents battle speech to gStringVar4. speech is any TRAINER_TOWER_TEXT_*.
.macro ttower_getspeech speech:req, trainer=0xFF
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_SPEECH
setvar VAR_0x8005, \speech
.if \trainer >= VARS_START && \trainer != 0xFF
copyvar VAR_0x8006, \trainer
.elseif \trainer != 0xFF
setvar VAR_0x8006, \trainer
.endif
special CallTrainerTowerFunc
.endm
@ Starts a trainer tower battle. VAR_0x8005 is unused
.macro ttower_dobattle
setvar VAR_0x8004, TRAINER_TOWER_FUNC_DO_BATTLE
setvar VAR_0x8005, 0
special CallTrainerTowerFunc
.endm
@ Returns the current challenge type (CHALLENGE_TYPE_*). Mixed challenges use different types for each floor. If VAR_0x8005 is != FALSE, does nothing
.macro ttower_getchallengetype
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_CHALLENGE_TYPE
setvar VAR_0x8005, FALSE
special CallTrainerTowerFunc
.endm
@ Adds 1 to the number of floors cleared (all trainers on floor defeated)
.macro ttower_clearedfloor
setvar VAR_0x8004, TRAINER_TOWER_FUNC_CLEARED_FLOOR
special CallTrainerTowerFunc
.endm
@ TRUE if the trainers on this floor were already beaten, FALSE otherwise
.macro ttower_isfloorcleared
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_FLOOR_CLEARED
special CallTrainerTowerFunc
.endm
@ Initializes the Trainer Tower challenge and starts the timer
.macro ttower_startchallenge
setvar VAR_0x8004, TRAINER_TOWER_FUNC_START_CHALLENGE
special CallTrainerTowerFunc
.endm
@ 0 if not spoken to yet, 1 if spoken to but not received prize, 2 if received prize
.macro ttower_getownerstate
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_OWNER_STATE
special CallTrainerTowerFunc
.endm
@ Tries to give prize. 0 if given successfully, 1 if no room for prize, 2 if giving prize should be skipped
.macro ttower_giveprize
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GIVE_PRIZE
special CallTrainerTowerFunc
.endm
@ Checks the final challenge time. 0 if new record, 1 if not, 2 if time has already been checked
.macro ttower_checkfinaltime
setvar VAR_0x8004, TRAINER_TOWER_FUNC_CHECK_FINAL_TIME
special CallTrainerTowerFunc
.endm
@ Resumes the challenge timer (or starts, if the timer is 0)
.macro ttower_resumetimer
setvar VAR_0x8004, TRAINER_TOWER_FUNC_RESUME_TIMER
special CallTrainerTowerFunc
.endm
@ Sets that the player lost the challenge
.macro ttower_setlost
setvar VAR_0x8004, TRAINER_TOWER_FUNC_SET_LOST
special CallTrainerTowerFunc
.endm
@ Returns the status of the current Trainer Tower challenge (CHALLENGE_STATUS_*)
.macro ttower_getchallengestatus
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_CHALLENGE_STATUS
special CallTrainerTowerFunc
.endm
@ Buffers the current challenge time (min in gStringVar1, sec in gStringVar2, fraction sec in gStringVar3)
.macro ttower_gettime
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_TIME
special CallTrainerTowerFunc
.endm
@ Unused. Displays Trainer Tower results. Handled by ShowBattleRecords instead
.macro ttower_showresults
setvar VAR_0x8004, TRAINER_TOWER_FUNC_SHOW_RESULTS
special CallTrainerTowerFunc
.endm
@ Unused. See above
.macro ttower_closeresults
setvar VAR_0x8004, TRAINER_TOWER_FUNC_CLOSE_RESULTS
special CallTrainerTowerFunc
.endm
@ Returns the eligibility of the players party for a double battle (using GetMonsStateToDoubles)
.macro ttower_checkdoubles
setvar VAR_0x8004, TRAINER_TOWER_FUNC_CHECK_DOUBLES
special CallTrainerTowerFunc
.endm
@ For the unused E-Reader challenges, gets the number of floors used. Otherwise returns FALSE (all floors used)
.macro ttower_getnumfloors
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_NUM_FLOORS
special CallTrainerTowerFunc
.endm
@ Dummied, always returns FALSE
.macro ttower_shouldexit
setvar VAR_0x8004, TRAINER_TOWER_FUNC_SHOULD_WARP_TO_COUNTER
special CallTrainerTowerFunc
.endm
@ Plays the encounter music for the trainer number in VAR_TEMP_1
.macro ttower_encountermusic
setvar VAR_0x8004, TRAINER_TOWER_FUNC_ENCOUNTER_MUSIC
special CallTrainerTowerFunc
.endm
@ TRUE if the player reached the Battle Tower owner, FALSE otherwise
.macro ttower_getbeatchallenge
setvar VAR_0x8004, TRAINER_TOWER_FUNC_GET_BEAT_CHALLENGE
special CallTrainerTowerFunc
.endm

View File

@ -482,6 +482,9 @@ FONT_SMALL_NARROWER = FC 06 0B
FONT_SHORT_NARROW = FC 06 0C FONT_SHORT_NARROW = FC 06 0C
FONT_SHORT_NARROWER = FC 06 0D FONT_SHORT_NARROWER = FC 06 0D
FONT_MALE = FC 06 01
FONT_FEMALE = FC 06 01
@ colors @ colors
TRANSPARENT = 00 TRANSPARENT = 00

View File

@ -14,6 +14,112 @@
.section script_data, "aw", %progbits .section script_data, "aw", %progbits
gBattleAnimGeneral_MonScared::
createvisualtask AnimTask_SetAttackerTargetLeftPos, 2, 1
waitforvisualfinish
loadspritegfx ANIM_TAG_SWEAT_BEAD
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 0, F_PAL_TARGET, 2, 0, 10, RGB(0, 23, 25)
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 2, 0, 10, 1
delay 20
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 0, 1
playsewithpan SE_M_SKETCH, SOUND_PAN_TARGET
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 1, 1
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
createvisualtask AnimTask_StretchTargetUp, 3
waitforvisualfinish
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 0, F_PAL_TARGET, 2, 10, 0, RGB(0, 23, 25)
waitforvisualfinish
end
gBattleAnimGeneral_GhostGetOut::
createvisualtask AnimTask_SetAttackerTargetLeftPos, 2, 1
waitforvisualfinish
fadetobg BG_GHOST
waitbgfadeout
monbg_static ANIM_ATTACKER
createvisualtask AnimTask_GhostGetOut, 2
waitbgfadein
loopsewithpan SE_M_PSYBEAM, SOUND_PAN_TARGET, 20, 3
waitforvisualfinish
clearmonbg_static ANIM_ATTACKER
delay 1
loadspritegfx ANIM_TAG_SWEAT_BEAD
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 0, F_PAL_TARGET, -1, 0, 6, RGB(21, 22, 26)
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 0, 1
createsprite gSprayWaterDropletSpriteTemplate, ANIM_TARGET, 5, 1, 1
createvisualtask AnimTask_ShakeMon2, 2, ANIM_TARGET, 4, 0, 5, 1
createvisualtask AnimTask_StretchTargetUp, 3
waitforvisualfinish
createsprite gSimplePaletteBlendSpriteTemplate, ANIM_ATTACKER, 0, F_PAL_TARGET, -1, 6, 0, RGB(21, 22, 26)
waitforvisualfinish
restorebg
waitbgfadein
end
gBattleAnimGeneral_SilphScoped::
monbg ANIM_ATTACKER
playsewithpan SE_M_TELEPORT, SOUND_PAN_ATTACKER
waitplaysewithpan SE_M_MINIMIZE, SOUND_PAN_ATTACKER, 48
createvisualtask AnimTask_TransformMon, 3, SPECIES_GFX_CHANGE_GHOST_UNVEIL
waitsound
waitforvisualfinish
clearmonbg ANIM_ATTACKER
end
gBattleAnimGeneral_SafariRockThrow::
createvisualtask AnimTask_SetAttackerTargetLeftPos, 2, 0
waitforvisualfinish
loadspritegfx ANIM_TAG_ROCKS
loadspritegfx ANIM_TAG_IMPACT
delay 0
waitplaysewithpan SE_M_JUMP_KICK, SOUND_PAN_ATTACKER, 22
createsprite sSafariRockSpriteTemplate, ANIM_TARGET, 3, -17, 14, 8, 0
delay 50
monbg ANIM_DEF_PARTNER
setalpha 12, 8
delay 0
playsewithpan SE_M_DOUBLE_SLAP, SOUND_PAN_TARGET
createsprite gBasicHitSplatSpriteTemplate, ANIM_TARGET, 2, -4, -20, 1, 2
waitforvisualfinish
clearmonbg ANIM_DEF_PARTNER
blendoff
waitforvisualfinish
end
gBattleAnimGeneral_SafariReaction::
createvisualtask AnimTask_SafariGetReaction, 2
waitforvisualfinish
jumpreteq B_MSG_MON_WATCHING, SafariReaction_WatchingCarefully
jumpreteq B_MSG_MON_ANGRY, SafariReaction_Angry
jumpreteq B_MSG_MON_EATING, SafariReaction_Eating
end
SafariReaction_WatchingCarefully:
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_TARGET
createvisualtask AnimTask_RotateMonToSideAndRestore, 2, 16, 96, 0, 2
waitforvisualfinish
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_TARGET
createvisualtask AnimTask_RotateMonToSideAndRestore, 2, 16, -96, 0, 2
end
SafariReaction_Angry:
loadspritegfx ANIM_TAG_ANGER
createsprite gAngerMarkSpriteTemplate, ANIM_TARGET, 2, 1, 20, -20
playsewithpan SE_M_SWAGGER2, SOUND_PAN_TARGET
waitforvisualfinish
delay 12
createsprite gAngerMarkSpriteTemplate, ANIM_TARGET, 2, 1, -20, -20
playsewithpan SE_M_SWAGGER2, SOUND_PAN_TARGET
end
SafariReaction_Eating:
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_TARGET
createvisualtask AnimTask_RotateMonToSideAndRestore, 2, 8, 136, 0, 2
waitforvisualfinish
playsewithpan SE_M_TAKE_DOWN, SOUND_PAN_TARGET
createvisualtask AnimTask_RotateMonToSideAndRestore, 2, 8, 136, 0, 2
end
@@@@@@@@@@@@@@@@@@@@@@@ GEN 4 @@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@ GEN 4 @@@@@@@@@@@@@@@@@@@@@@@
gBattleAnimMove_Roost:: gBattleAnimMove_Roost::
loadspritegfx ANIM_TAG_WHITE_FEATHER loadspritegfx ANIM_TAG_WHITE_FEATHER

View File

@ -4201,12 +4201,26 @@ BattleScript_PayDayMoneyAndPickUpItems::
pickup pickup
end2 end2
BattleScript_RivalBattleLost::
jumpifhasnohp BS_ATTACKER, BattleScript_RivalBattleLostSkipMonRecall
printstring STRINGID_TRAINER1MON1COMEBACK
waitmessage B_WAIT_TIME_LONG
returnatktoball
waitstate
BattleScript_RivalBattleLostSkipMonRecall::
trainerslidein BS_ATTACKER
waitstate
printstring STRINGID_TRAINER1WINTEXT
jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, 2, BattleScript_LocalBattleLostPrintWhiteOut
end2
BattleScript_LocalBattleLost:: BattleScript_LocalBattleLost::
jumpifbattletype BATTLE_TYPE_DOME, BattleScript_CheckDomeDrew jumpifbattletype BATTLE_TYPE_DOME, BattleScript_CheckDomeDrew
jumpifbattletype BATTLE_TYPE_FRONTIER, BattleScript_LocalBattleLostPrintTrainersWinText jumpifbattletype BATTLE_TYPE_FRONTIER, BattleScript_LocalBattleLostPrintTrainersWinText
jumpifbattletype BATTLE_TYPE_TRAINER_HILL, BattleScript_LocalBattleLostPrintTrainersWinText jumpifbattletype BATTLE_TYPE_TRAINER_HILL, BattleScript_LocalBattleLostPrintTrainersWinText
jumpifbattletype BATTLE_TYPE_EREADER_TRAINER, BattleScript_LocalBattleLostEnd jumpifbattletype BATTLE_TYPE_EREADER_TRAINER, BattleScript_LocalBattleLostEnd
jumpifhalfword CMP_EQUAL, gTrainerBattleParameter + 2, TRAINER_SECRET_BASE, BattleScript_LocalBattleLostEnd jumpifhalfword CMP_EQUAL, gTrainerBattleParameter + 2, TRAINER_SECRET_BASE, BattleScript_LocalBattleLostEnd
jumpifbyte CMP_NOT_EQUAL, cMULTISTRING_CHOOSER, 0, BattleScript_RivalBattleLost
jumpifnowhiteout BattleScript_LocalBattleLostEnd_ jumpifnowhiteout BattleScript_LocalBattleLostEnd_
jumpifbattletype BATTLE_TYPE_INGAME_PARTNER, BattleScript_LocalBattleLostPrintWhiteOut jumpifbattletype BATTLE_TYPE_INGAME_PARTNER, BattleScript_LocalBattleLostPrintWhiteOut
BattleScript_LocalBattleLostPrintWhiteOut:: BattleScript_LocalBattleLostPrintWhiteOut::
@ -8278,3 +8292,24 @@ BattleScript_SwapToSubstituteContinue:
waitanimation waitanimation
BattleScript_SwapToSubstituteReturn: BattleScript_SwapToSubstituteReturn:
return return
BattleScript_TooScaredToMove::
printstring STRINGID_MONTOOSCAREDTOMOVE
waitmessage B_WAIT_TIME_LONG
playanimation BS_ATTACKER, B_ANIM_MON_SCARED
goto BattleScript_MoveEnd
BattleScript_GhostGetOutGetOut::
printstring STRINGID_GHOSTGETOUTGETOUT
playanimation BS_ATTACKER, B_ANIM_GHOST_GET_OUT
goto BattleScript_MoveEnd
BattleScript_SilphScopeUnveiled::
pause B_WAIT_TIME_SHORT
printstring STRINGID_SILPHSCOPEUNVEILED
waitstate
playanimation BS_OPPONENT1, B_ANIM_SILPH_SCOPED
pause B_WAIT_TIME_SHORT
printstring STRINGID_GHOSTWASMAROWAK
waitmessage B_WAIT_TIME_LONG
end2

View File

@ -1,4 +1,5 @@
#include "config/battle.h" #include "config/battle.h"
#include "constants/global.h"
#include "constants/battle.h" #include "constants/battle.h"
#include "constants/battle_script_commands.h" #include "constants/battle_script_commands.h"
#include "constants/battle_anim.h" #include "constants/battle_anim.h"
@ -33,6 +34,8 @@ gBattlescriptsForSafariActions::
.4byte BattleScript_ActionGetNear .4byte BattleScript_ActionGetNear
.4byte BattleScript_ActionThrowPokeblock .4byte BattleScript_ActionThrowPokeblock
.4byte BattleScript_ActionWallyThrow .4byte BattleScript_ActionWallyThrow
.4byte BattleScript_ActionThrowRock
.4byte BattleScript_ActionThrowBait
BattleScript_ItemEnd: BattleScript_ItemEnd:
end end
@ -173,7 +176,7 @@ BattleScript_ItemIncreaseAllStats::
end end
BattleScript_BallThrow:: BattleScript_BallThrow::
jumpifword CMP_COMMON_BITS, gBattleTypeFlags, BATTLE_TYPE_WALLY_TUTORIAL, BattleScript_BallThrowByWally jumpifword CMP_COMMON_BITS, gBattleTypeFlags, BATTLE_TYPE_CATCH_TUTORIAL, BattleScript_BallThrowByWally
printstring STRINGID_PLAYERUSEDITEM printstring STRINGID_PLAYERUSEDITEM
handleballthrow handleballthrow
@ -249,8 +252,11 @@ BattleScript_RunByUsingItem::
finishturn finishturn
BattleScript_ActionWatchesCarefully: BattleScript_ActionWatchesCarefully:
printstring STRINGID_PKMNWATCHINGCAREFULLY printfromtable gSafariReactionStringIds
waitmessage B_WAIT_TIME_LONG waitmessage B_WAIT_TIME_LONG
#if IS_FRLG
playanimation BS_OPPONENT1, B_ANIM_SAFARI_REACTION
#endif
end2 end2
BattleScript_ActionGetNear: BattleScript_ActionGetNear:
@ -315,3 +321,21 @@ BattleScript_TrainerPartnerSlideMsgRet::
BattleScript_TrainerPartnerSlideMsgEnd2:: BattleScript_TrainerPartnerSlideMsgEnd2::
call BattleScript_TrainerPartnerSlideMsgRet call BattleScript_TrainerPartnerSlideMsgRet
end2 end2
BattleScript_GhostBallDodge::
waitmessage B_WAIT_TIME_LONG
printstring STRINGID_ITDODGEDBALL
waitmessage B_WAIT_TIME_LONG
finishaction
BattleScript_ActionThrowRock::
printstring STRINGID_THREWROCK
waitmessage B_WAIT_TIME_LONG
playanimation BS_ATTACKER, B_ANIM_ROCK_THROW
end2
BattleScript_ActionThrowBait::
printstring STRINGID_THREWBAIT
waitmessage B_WAIT_TIME_LONG
playanimation BS_ATTACKER, B_ANIM_POKEBLOCK_THROW
end2

View File

@ -26,6 +26,7 @@
#include "constants/easy_chat.h" #include "constants/easy_chat.h"
#include "constants/event_objects.h" #include "constants/event_objects.h"
#include "constants/event_object_movement.h" #include "constants/event_object_movement.h"
#include "constants/fame_checker.h"
#include "constants/field_effects.h" #include "constants/field_effects.h"
#include "constants/field_move.h" #include "constants/field_move.h"
#include "constants/field_poison.h" #include "constants/field_poison.h"
@ -47,12 +48,14 @@
#include "constants/metatile_labels.h" #include "constants/metatile_labels.h"
#include "constants/move_relearner.h" #include "constants/move_relearner.h"
#include "constants/moves.h" #include "constants/moves.h"
#include "constants/mystery_gift.h"
#include "constants/party_menu.h" #include "constants/party_menu.h"
#include "constants/pokedex.h" #include "constants/pokedex.h"
#include "constants/pokemon.h" #include "constants/pokemon.h"
#include "constants/rtc.h" #include "constants/rtc.h"
#include "constants/roulette.h" #include "constants/roulette.h"
#include "constants/script_menu.h" #include "constants/script_menu.h"
#include "constants/seagallop.h"
#include "constants/secret_bases.h" #include "constants/secret_bases.h"
#include "constants/siirtc.h" #include "constants/siirtc.h"
#include "constants/songs.h" #include "constants/songs.h"
@ -60,7 +63,9 @@
#include "constants/species.h" #include "constants/species.h"
#include "constants/trade.h" #include "constants/trade.h"
#include "constants/trainer_hill.h" #include "constants/trainer_hill.h"
#include "constants/trainer_tower.h"
#include "constants/trainers.h" #include "constants/trainers.h"
#include "constants/trainer_card.h"
#include "constants/tv.h" #include "constants/tv.h"
#include "constants/union_room.h" #include "constants/union_room.h"
#include "constants/vars.h" #include "constants/vars.h"
@ -114,8 +119,11 @@ gStdScripts::
.4byte Std_RegisteredInMatchCall @ STD_REGISTER_MATCH_CALL .4byte Std_RegisteredInMatchCall @ STD_REGISTER_MATCH_CALL
.4byte Std_MsgboxGetPoints @ MSGBOX_GETPOINTS .4byte Std_MsgboxGetPoints @ MSGBOX_GETPOINTS
.4byte Std_MsgboxPokenav @ MSGBOX_POKENAV .4byte Std_MsgboxPokenav @ MSGBOX_POKENAV
.4byte Std_PutItemAway @ STD_PUT_ITEM_AWAY
.4byte Std_ReceivedItem @ STD_RECEIVED_ITEM
gStdScripts_End:: gStdScripts_End::
.include "data/maps/PetalburgCity/scripts.inc" .include "data/maps/PetalburgCity/scripts.inc"
.include "data/maps/SlateportCity/scripts.inc" .include "data/maps/SlateportCity/scripts.inc"
.include "data/maps/MauvilleCity/scripts.inc" .include "data/maps/MauvilleCity/scripts.inc"
@ -586,10 +594,460 @@ gStdScripts_End::
.include "data/maps/Route119_House/scripts.inc" .include "data/maps/Route119_House/scripts.inc"
.include "data/maps/Route124_DivingTreasureHuntersHouse/scripts.inc" .include "data/maps/Route124_DivingTreasureHuntersHouse/scripts.inc"
.if IS_FRLG
@ FRLG scripts
.include "data/maps/BattleColosseum_2P_Frlg/scripts.inc"
.include "data/maps/TradeCenter_Frlg/scripts.inc"
.include "data/maps/RecordCorner_Frlg/scripts.inc"
.include "data/maps/BattleColosseum_4P_Frlg/scripts.inc"
.include "data/maps/UnionRoom_Frlg/scripts.inc"
.include "data/maps/ViridianForest_Frlg/scripts.inc"
.include "data/maps/MtMoon_1F_Frlg/scripts.inc"
.include "data/maps/MtMoon_B1F_Frlg/scripts.inc"
.include "data/maps/MtMoon_B2F_Frlg/scripts.inc"
.include "data/maps/SSAnne_Exterior_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Corridor_Frlg/scripts.inc"
.include "data/maps/SSAnne_2F_Corridor_Frlg/scripts.inc"
.include "data/maps/SSAnne_3F_Corridor_Frlg/scripts.inc"
.include "data/maps/SSAnne_B1F_Corridor_Frlg/scripts.inc"
.include "data/maps/SSAnne_Deck_Frlg/scripts.inc"
.include "data/maps/SSAnne_Kitchen_Frlg/scripts.inc"
.include "data/maps/SSAnne_CaptainsOffice_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Room1_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Room2_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Room3_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Room4_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Room5_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Room7_Frlg/scripts.inc"
.include "data/maps/SSAnne_2F_Room1_Frlg/scripts.inc"
.include "data/maps/SSAnne_2F_Room2_Frlg/scripts.inc"
.include "data/maps/SSAnne_2F_Room3_Frlg/scripts.inc"
.include "data/maps/SSAnne_2F_Room4_Frlg/scripts.inc"
.include "data/maps/SSAnne_2F_Room5_Frlg/scripts.inc"
.include "data/maps/SSAnne_2F_Room6_Frlg/scripts.inc"
.include "data/maps/SSAnne_B1F_Room1_Frlg/scripts.inc"
.include "data/maps/SSAnne_B1F_Room2_Frlg/scripts.inc"
.include "data/maps/SSAnne_B1F_Room3_Frlg/scripts.inc"
.include "data/maps/SSAnne_B1F_Room4_Frlg/scripts.inc"
.include "data/maps/SSAnne_B1F_Room5_Frlg/scripts.inc"
.include "data/maps/SSAnne_1F_Room6_Frlg/scripts.inc"
.include "data/maps/UndergroundPath_NorthEntrance_Frlg/scripts.inc"
.include "data/maps/UndergroundPath_NorthSouthTunnel_Frlg/scripts.inc"
.include "data/maps/UndergroundPath_SouthEntrance_Frlg/scripts.inc"
.include "data/maps/UndergroundPath_WestEntrance_Frlg/scripts.inc"
.include "data/maps/UndergroundPath_EastWestTunnel_Frlg/scripts.inc"
.include "data/maps/UndergroundPath_EastEntrance_Frlg/scripts.inc"
.include "data/maps/DiglettsCave_NorthEntrance_Frlg/scripts.inc"
.include "data/maps/DiglettsCave_B1F_Frlg/scripts.inc"
.include "data/maps/DiglettsCave_SouthEntrance_Frlg/scripts.inc"
.include "data/maps/VictoryRoad_1F_Frlg/scripts.inc"
.include "data/maps/VictoryRoad_2F_Frlg/scripts.inc"
.include "data/maps/VictoryRoad_3F_Frlg/scripts.inc"
.include "data/maps/RocketHideout_B1F_Frlg/scripts.inc"
.include "data/maps/RocketHideout_B2F_Frlg/scripts.inc"
.include "data/maps/RocketHideout_B3F_Frlg/scripts.inc"
.include "data/maps/RocketHideout_B4F_Frlg/scripts.inc"
.include "data/maps/RocketHideout_Elevator_Frlg/scripts.inc"
.include "data/maps/SilphCo_1F_Frlg/scripts.inc"
.include "data/maps/SilphCo_2F_Frlg/scripts.inc"
.include "data/maps/SilphCo_3F_Frlg/scripts.inc"
.include "data/maps/SilphCo_4F_Frlg/scripts.inc"
.include "data/maps/SilphCo_5F_Frlg/scripts.inc"
.include "data/maps/SilphCo_6F_Frlg/scripts.inc"
.include "data/maps/SilphCo_7F_Frlg/scripts.inc"
.include "data/maps/SilphCo_8F_Frlg/scripts.inc"
.include "data/maps/SilphCo_9F_Frlg/scripts.inc"
.include "data/maps/SilphCo_10F_Frlg/scripts.inc"
.include "data/maps/SilphCo_11F_Frlg/scripts.inc"
.include "data/maps/SilphCo_Elevator_Frlg/scripts.inc"
.include "data/maps/PokemonMansion_1F_Frlg/scripts.inc"
.include "data/maps/PokemonMansion_2F_Frlg/scripts.inc"
.include "data/maps/PokemonMansion_3F_Frlg/scripts.inc"
.include "data/maps/PokemonMansion_B1F_Frlg/scripts.inc"
.include "data/maps/SafariZone_Center_Frlg/scripts.inc"
.include "data/maps/SafariZone_East_Frlg/scripts.inc"
.include "data/maps/SafariZone_North_Frlg/scripts.inc"
.include "data/maps/SafariZone_West_Frlg/scripts.inc"
.include "data/maps/SafariZone_Center_RestHouse_Frlg/scripts.inc"
.include "data/maps/SafariZone_East_RestHouse_Frlg/scripts.inc"
.include "data/maps/SafariZone_North_RestHouse_Frlg/scripts.inc"
.include "data/maps/SafariZone_West_RestHouse_Frlg/scripts.inc"
.include "data/maps/SafariZone_SecretHouse_Frlg/scripts.inc"
.include "data/maps/CeruleanCave_1F_Frlg/scripts.inc"
.include "data/maps/CeruleanCave_2F_Frlg/scripts.inc"
.include "data/maps/CeruleanCave_B1F_Frlg/scripts.inc"
.include "data/maps/PokemonLeague_LoreleisRoom_Frlg/scripts.inc"
.include "data/maps/PokemonLeague_BrunosRoom_Frlg/scripts.inc"
.include "data/maps/PokemonLeague_AgathasRoom_Frlg/scripts.inc"
.include "data/maps/PokemonLeague_LancesRoom_Frlg/scripts.inc"
.include "data/maps/PokemonLeague_ChampionsRoom_Frlg/scripts.inc"
.include "data/maps/PokemonLeague_HallOfFame_Frlg/scripts.inc"
.include "data/maps/RockTunnel_1F_Frlg/scripts.inc"
.include "data/maps/RockTunnel_B1F_Frlg/scripts.inc"
.include "data/maps/SeafoamIslands_1F_Frlg/scripts.inc"
.include "data/maps/SeafoamIslands_B1F_Frlg/scripts.inc"
.include "data/maps/SeafoamIslands_B2F_Frlg/scripts.inc"
.include "data/maps/SeafoamIslands_B3F_Frlg/scripts.inc"
.include "data/maps/SeafoamIslands_B4F_Frlg/scripts.inc"
.include "data/maps/PokemonTower_1F_Frlg/scripts.inc"
.include "data/maps/PokemonTower_2F_Frlg/scripts.inc"
.include "data/maps/PokemonTower_3F_Frlg/scripts.inc"
.include "data/maps/PokemonTower_4F_Frlg/scripts.inc"
.include "data/maps/PokemonTower_5F_Frlg/scripts.inc"
.include "data/maps/PokemonTower_6F_Frlg/scripts.inc"
.include "data/maps/PokemonTower_7F_Frlg/scripts.inc"
.include "data/maps/PowerPlant_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_B4F_Frlg/scripts.inc"
.include "data/maps/MtEmber_Exterior_Frlg/scripts.inc"
.include "data/maps/MtEmber_SummitPath_1F_Frlg/scripts.inc"
.include "data/maps/MtEmber_SummitPath_2F_Frlg/scripts.inc"
.include "data/maps/MtEmber_SummitPath_3F_Frlg/scripts.inc"
.include "data/maps/MtEmber_Summit_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_B5F_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_1F_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_B1F_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_B2F_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_B3F_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_B1F_Stairs_Frlg/scripts.inc"
.include "data/maps/MtEmber_RubyPath_B2F_Stairs_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_BerryForest_Frlg/scripts.inc"
.include "data/maps/FourIsland_IcefallCave_Entrance_Frlg/scripts.inc"
.include "data/maps/FourIsland_IcefallCave_1F_Frlg/scripts.inc"
.include "data/maps/FourIsland_IcefallCave_B1F_Frlg/scripts.inc"
.include "data/maps/FourIsland_IcefallCave_Back_Frlg/scripts.inc"
.include "data/maps/FiveIsland_RocketWarehouse_Frlg/scripts.inc"
.include "data/maps/SixIsland_DottedHole_1F_Frlg/scripts.inc"
.include "data/maps/SixIsland_DottedHole_B1F_Frlg/scripts.inc"
.include "data/maps/SixIsland_DottedHole_B2F_Frlg/scripts.inc"
.include "data/maps/SixIsland_DottedHole_B3F_Frlg/scripts.inc"
.include "data/maps/SixIsland_DottedHole_B4F_Frlg/scripts.inc"
.include "data/maps/SixIsland_DottedHole_SapphireRoom_Frlg/scripts.inc"
.include "data/maps/SixIsland_PatternBush_Frlg/scripts.inc"
.include "data/maps/SixIsland_AlteringCave_Frlg/scripts.inc"
.include "data/maps/NavelRock_Exterior_Frlg/scripts.inc"
.include "data/maps/TrainerTower_1F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_2F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_3F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_4F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_5F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_6F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_7F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_8F_Frlg/scripts.inc"
.include "data/maps/TrainerTower_Roof_Frlg/scripts.inc"
.include "data/maps/TrainerTower_Lobby_Frlg/scripts.inc"
.include "data/maps/TrainerTower_Elevator_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Entrance_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room1_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room2_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room3_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room4_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room5_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room6_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room7_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room8_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room9_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room10_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room11_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room12_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room13_Frlg/scripts.inc"
.include "data/maps/FiveIsland_LostCave_Room14_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_MoneanChamber_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_LiptooChamber_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_WeepthChamber_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_DilfordChamber_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_ScufibChamber_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_RixyChamber_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_ViapoisChamber_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_DunsparceTunnel_Frlg/scripts.inc"
.include "data/maps/SevenIsland_SevaultCanyon_TanobyKey_Frlg/scripts.inc"
.include "data/maps/NavelRock_1F_Frlg/scripts.inc"
.include "data/maps/NavelRock_Summit_Frlg/scripts.inc"
.include "data/maps/NavelRock_Base_Frlg/scripts.inc"
.include "data/maps/NavelRock_SummitPath_2F_Frlg/scripts.inc"
.include "data/maps/NavelRock_SummitPath_3F_Frlg/scripts.inc"
.include "data/maps/NavelRock_SummitPath_4F_Frlg/scripts.inc"
.include "data/maps/NavelRock_SummitPath_5F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B1F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B2F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B3F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B4F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B5F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B6F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B7F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B8F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B9F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B10F_Frlg/scripts.inc"
.include "data/maps/NavelRock_BasePath_B11F_Frlg/scripts.inc"
.include "data/maps/NavelRock_B1F_Frlg/scripts.inc"
.include "data/maps/NavelRock_Fork_Frlg/scripts.inc"
.include "data/maps/BirthIsland_Exterior_Frlg/scripts.inc"
.include "data/maps/OneIsland_KindleRoad_EmberSpa_Frlg/scripts.inc"
.include "data/maps/BirthIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/NavelRock_Harbor_Frlg/scripts.inc"
.include "data/maps/PalletTown_Frlg/scripts.inc"
.include "data/maps/ViridianCity_Frlg/scripts.inc"
.include "data/maps/PewterCity_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_Frlg/scripts.inc"
.include "data/maps/LavenderTown_Frlg/scripts.inc"
.include "data/maps/VermilionCity_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_Frlg/scripts.inc"
.include "data/maps/IndigoPlateau_Exterior_Frlg/scripts.inc"
.include "data/maps/SaffronCity_Frlg/scripts.inc"
.include "data/maps/SaffronCity_Connection_Frlg/scripts.inc"
.include "data/maps/OneIsland_Frlg/scripts.inc"
.include "data/maps/TwoIsland_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_Frlg/scripts.inc"
.include "data/maps/FourIsland_Frlg/scripts.inc"
.include "data/maps/FiveIsland_Frlg/scripts.inc"
.include "data/maps/SevenIsland_Frlg/scripts.inc"
.include "data/maps/SixIsland_Frlg/scripts.inc"
.include "data/maps/Route1_Frlg/scripts.inc"
.include "data/maps/Route2_Frlg/scripts.inc"
.include "data/maps/Route3_Frlg/scripts.inc"
.include "data/maps/Route4_Frlg/scripts.inc"
.include "data/maps/Route5_Frlg/scripts.inc"
.include "data/maps/Route6_Frlg/scripts.inc"
.include "data/maps/Route7_Frlg/scripts.inc"
.include "data/maps/Route8_Frlg/scripts.inc"
.include "data/maps/Route9_Frlg/scripts.inc"
.include "data/maps/Route10_Frlg/scripts.inc"
.include "data/maps/Route11_Frlg/scripts.inc"
.include "data/maps/Route12_Frlg/scripts.inc"
.include "data/maps/Route13_Frlg/scripts.inc"
.include "data/maps/Route14_Frlg/scripts.inc"
.include "data/maps/Route15_Frlg/scripts.inc"
.include "data/maps/Route16_Frlg/scripts.inc"
.include "data/maps/Route17_Frlg/scripts.inc"
.include "data/maps/Route18_Frlg/scripts.inc"
.include "data/maps/Route19_Frlg/scripts.inc"
.include "data/maps/Route20_Frlg/scripts.inc"
.include "data/maps/Route21_North_Frlg/scripts.inc"
.include "data/maps/Route21_South_Frlg/scripts.inc"
.include "data/maps/Route22_Frlg/scripts.inc"
.include "data/maps/Route23_Frlg/scripts.inc"
.include "data/maps/Route24_Frlg/scripts.inc"
.include "data/maps/Route25_Frlg/scripts.inc"
.include "data/maps/OneIsland_KindleRoad_Frlg/scripts.inc"
.include "data/maps/OneIsland_TreasureBeach_Frlg/scripts.inc"
.include "data/maps/TwoIsland_CapeBrink_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_BondBridge_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_Port_Frlg/scripts.inc"
.include "data/maps/FiveIsland_ResortGorgeous_Frlg/scripts.inc"
.include "data/maps/FiveIsland_WaterLabyrinth_Frlg/scripts.inc"
.include "data/maps/FiveIsland_Meadow_Frlg/scripts.inc"
.include "data/maps/FiveIsland_MemorialPillar_Frlg/scripts.inc"
.include "data/maps/SixIsland_OutcastIsland_Frlg/scripts.inc"
.include "data/maps/SixIsland_GreenPath_Frlg/scripts.inc"
.include "data/maps/SixIsland_WaterPath_Frlg/scripts.inc"
.include "data/maps/SixIsland_RuinValley_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TrainerTower_Frlg/scripts.inc"
.include "data/maps/SevenIsland_SevaultCanyon_Entrance_Frlg/scripts.inc"
.include "data/maps/SevenIsland_SevaultCanyon_Frlg/scripts.inc"
.include "data/maps/SevenIsland_TanobyRuins_Frlg/scripts.inc"
.include "data/maps/PalletTown_PlayersHouse_1F_Frlg/scripts.inc"
.include "data/maps/PalletTown_PlayersHouse_2F_Frlg/scripts.inc"
.include "data/maps/PalletTown_RivalsHouse_Frlg/scripts.inc"
.include "data/maps/PalletTown_ProfessorOaksLab_Frlg/scripts.inc"
.include "data/maps/ViridianCity_House_Frlg/scripts.inc"
.include "data/maps/ViridianCity_Gym_Frlg/scripts.inc"
.include "data/maps/ViridianCity_School_Frlg/scripts.inc"
.include "data/maps/ViridianCity_Mart_Frlg/scripts.inc"
.include "data/maps/ViridianCity_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/ViridianCity_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/PewterCity_Museum_1F_Frlg/scripts.inc"
.include "data/maps/PewterCity_Museum_2F_Frlg/scripts.inc"
.include "data/maps/PewterCity_Gym_Frlg/scripts.inc"
.include "data/maps/PewterCity_Mart_Frlg/scripts.inc"
.include "data/maps/PewterCity_House1_Frlg/scripts.inc"
.include "data/maps/PewterCity_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/PewterCity_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/PewterCity_House2_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_House1_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_House2_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_House3_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_Gym_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_BikeShop_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_Mart_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_House4_Frlg/scripts.inc"
.include "data/maps/CeruleanCity_House5_Frlg/scripts.inc"
.include "data/maps/LavenderTown_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/LavenderTown_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/LavenderTown_VolunteerPokemonHouse_Frlg/scripts.inc"
.include "data/maps/LavenderTown_House1_Frlg/scripts.inc"
.include "data/maps/LavenderTown_House2_Frlg/scripts.inc"
.include "data/maps/LavenderTown_Mart_Frlg/scripts.inc"
.include "data/maps/VermilionCity_House1_Frlg/scripts.inc"
.include "data/maps/VermilionCity_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/VermilionCity_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/VermilionCity_PokemonFanClub_Frlg/scripts.inc"
.include "data/maps/VermilionCity_House2_Frlg/scripts.inc"
.include "data/maps/VermilionCity_Mart_Frlg/scripts.inc"
.include "data/maps/VermilionCity_Gym_Frlg/scripts.inc"
.include "data/maps/VermilionCity_House3_Frlg/scripts.inc"
.include "data/maps/CeladonCity_DepartmentStore_1F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_DepartmentStore_2F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_DepartmentStore_3F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_DepartmentStore_4F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_DepartmentStore_5F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_DepartmentStore_Roof_Frlg/scripts.inc"
.include "data/maps/CeladonCity_DepartmentStore_Elevator_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Condominiums_1F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Condominiums_2F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Condominiums_3F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Condominiums_Roof_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Condominiums_RoofRoom_Frlg/scripts.inc"
.include "data/maps/CeladonCity_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/CeladonCity_GameCorner_Frlg/scripts.inc"
.include "data/maps/CeladonCity_GameCorner_PrizeRoom_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Gym_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Restaurant_Frlg/scripts.inc"
.include "data/maps/CeladonCity_House1_Frlg/scripts.inc"
.include "data/maps/CeladonCity_Hotel_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_SafariZone_Entrance_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_Mart_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_SafariZone_Office_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_Gym_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_House1_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_WardensHouse_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_House2_Frlg/scripts.inc"
.include "data/maps/FuchsiaCity_House3_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_Gym_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_PokemonLab_Entrance_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_PokemonLab_Lounge_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_PokemonLab_ResearchRoom_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_PokemonLab_ExperimentRoom_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/CinnabarIsland_Mart_Frlg/scripts.inc"
.include "data/maps/IndigoPlateau_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/IndigoPlateau_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/SaffronCity_CopycatsHouse_1F_Frlg/scripts.inc"
.include "data/maps/SaffronCity_CopycatsHouse_2F_Frlg/scripts.inc"
.include "data/maps/SaffronCity_Dojo_Frlg/scripts.inc"
.include "data/maps/SaffronCity_Gym_Frlg/scripts.inc"
.include "data/maps/SaffronCity_House_Frlg/scripts.inc"
.include "data/maps/SaffronCity_Mart_Frlg/scripts.inc"
.include "data/maps/SaffronCity_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/SaffronCity_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/SaffronCity_MrPsychicsHouse_Frlg/scripts.inc"
.include "data/maps/SaffronCity_PokemonTrainerFanClub_Frlg/scripts.inc"
.include "data/maps/Route2_ViridianForest_SouthEntrance_Frlg/scripts.inc"
.include "data/maps/Route2_House_Frlg/scripts.inc"
.include "data/maps/Route2_EastBuilding_Frlg/scripts.inc"
.include "data/maps/Route2_ViridianForest_NorthEntrance_Frlg/scripts.inc"
.include "data/maps/Route4_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/Route4_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/Route5_PokemonDayCare_Frlg/scripts.inc"
.include "data/maps/Route5_SouthEntrance_Frlg/scripts.inc"
.include "data/maps/Route6_NorthEntrance_Frlg/scripts.inc"
.include "data/maps/Route6_UnusedHouse_Frlg/scripts.inc"
.include "data/maps/Route7_EastEntrance_Frlg/scripts.inc"
.include "data/maps/Route8_WestEntrance_Frlg/scripts.inc"
.include "data/maps/Route10_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/Route10_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/Route11_EastEntrance_1F_Frlg/scripts.inc"
.include "data/maps/Route11_EastEntrance_2F_Frlg/scripts.inc"
.include "data/maps/Route12_NorthEntrance_1F_Frlg/scripts.inc"
.include "data/maps/Route12_NorthEntrance_2F_Frlg/scripts.inc"
.include "data/maps/Route12_FishingHouse_Frlg/scripts.inc"
.include "data/maps/Route15_WestEntrance_1F_Frlg/scripts.inc"
.include "data/maps/Route15_WestEntrance_2F_Frlg/scripts.inc"
.include "data/maps/Route16_House_Frlg/scripts.inc"
.include "data/maps/Route16_NorthEntrance_1F_Frlg/scripts.inc"
.include "data/maps/Route16_NorthEntrance_2F_Frlg/scripts.inc"
.include "data/maps/Route18_EastEntrance_1F_Frlg/scripts.inc"
.include "data/maps/Route18_EastEntrance_2F_Frlg/scripts.inc"
.include "data/maps/Route22_NorthEntrance_Frlg/scripts.inc"
.include "data/maps/Route25_SeaCottage_Frlg/scripts.inc"
.include "data/maps/SevenIsland_House_Room1_Frlg/scripts.inc"
.include "data/maps/SevenIsland_House_Room2_Frlg/scripts.inc"
.include "data/maps/SevenIsland_Mart_Frlg/scripts.inc"
.include "data/maps/SevenIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/SevenIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/SevenIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/OneIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/OneIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/OneIsland_House1_Frlg/scripts.inc"
.include "data/maps/OneIsland_House2_Frlg/scripts.inc"
.include "data/maps/OneIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/TwoIsland_JoyfulGameCorner_Frlg/scripts.inc"
.include "data/maps/TwoIsland_House_Frlg/scripts.inc"
.include "data/maps/TwoIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/TwoIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/TwoIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_House1_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_Mart_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_House2_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_House3_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_House4_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_House5_Frlg/scripts.inc"
.include "data/maps/FourIsland_PokemonDayCare_Frlg/scripts.inc"
.include "data/maps/FourIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/FourIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/FourIsland_House1_Frlg/scripts.inc"
.include "data/maps/FourIsland_LoreleisHouse_Frlg/scripts.inc"
.include "data/maps/FourIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/FourIsland_House2_Frlg/scripts.inc"
.include "data/maps/FourIsland_Mart_Frlg/scripts.inc"
.include "data/maps/FiveIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/FiveIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/FiveIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/FiveIsland_House1_Frlg/scripts.inc"
.include "data/maps/FiveIsland_House2_Frlg/scripts.inc"
.include "data/maps/SixIsland_PokemonCenter_1F_Frlg/scripts.inc"
.include "data/maps/SixIsland_PokemonCenter_2F_Frlg/scripts.inc"
.include "data/maps/SixIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/SixIsland_House_Frlg/scripts.inc"
.include "data/maps/SixIsland_Mart_Frlg/scripts.inc"
.include "data/maps/ThreeIsland_Harbor_Frlg/scripts.inc"
.include "data/maps/FiveIsland_ResortGorgeous_House_Frlg/scripts.inc"
.include "data/maps/TwoIsland_CapeBrink_House_Frlg/scripts.inc"
.include "data/maps/SixIsland_WaterPath_House1_Frlg/scripts.inc"
.include "data/maps/SixIsland_WaterPath_House2_Frlg/scripts.inc"
.include "data/maps/SevenIsland_SevaultCanyon_House_Frlg/scripts.inc"
.include "data/scripts/trainer_tower.inc"
.include "data/scripts/fame_checker_frlg.inc"
.include "data/text/fame_checker_frlg.inc"
.include "data/scripts/item_ball_scripts_frlg.inc"
.include "data/scripts/silphco_doors.inc"
.include "data/scripts/move_tutors_frlg.inc"
.include "data/scripts/cable_club_frlg.inc"
.include "data/scripts/trainer_card_frlg.inc"
.include "data/text/trainer_card_frlg.inc"
.include "data/scripts/mystery_event_club.inc"
.include "data/scripts/day_care_frlg.inc"
.include "data/text/day_care_frlg.inc"
.include "data/scripts/seagallop.inc"
.include "data/scripts/static_pokemon.inc"
.include "data/scripts/aide.inc"
.include "data/scripts/pokemon_mansion.inc"
.include "data/scripts/pokemon_league.inc"
.include "data/scripts/route23.inc"
.include "data/text/new_game_intro_frlg.inc"
.include "data/scripts/trainers_frlg.inc"
.include "data/text/trainers_frlg.inc"
.include "data/text/ingame_trade_frlg.inc"
.include "data/scripts/flavor_text.inc"
.include "data/scripts/pkmn_center_nurse_frlg.inc"
.endif
.include "data/scripts/std_msgbox.inc" .include "data/scripts/std_msgbox.inc"
.include "data/scripts/trainer_battle.inc" .include "data/scripts/trainer_battle.inc"
.include "data/scripts/new_game.inc" .include "data/scripts/new_game.inc"
.include "data/scripts/hall_of_fame.inc" .include "data/scripts/hall_of_fame.inc"
.include "data/scripts/hall_of_fame_frlg.inc"
.include "data/scripts/config.inc" .include "data/scripts/config.inc"
.include "data/scripts/debug.inc" .include "data/scripts/debug.inc"
@ -751,6 +1209,12 @@ Common_EventScript_BagIsFull::
msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT msgbox gText_TooBadBagIsFull, MSGBOX_DEFAULT
return return
EventScript_BagIsFull::
textcolor NPC_TEXT_COLOR_NEUTRAL
msgbox gText_TooBadBagIsFull
release
end
Common_EventScript_ShowNoRoomForDecor:: Common_EventScript_ShowNoRoomForDecor::
msgbox gText_NoRoomLeftForAnother, MSGBOX_DEFAULT msgbox gText_NoRoomLeftForAnother, MSGBOX_DEFAULT
release release
@ -1053,10 +1517,43 @@ gText_Sudowoodo_Attacked::
gText_LegendaryFlewAway:: gText_LegendaryFlewAway::
.string "The {STR_VAR_1} flew away!$" .string "The {STR_VAR_1} flew away!$"
gText_WantWhichFloor::
.string "Which floor do you want?$"
.include "data/text/pc_transfer.inc" .include "data/text/pc_transfer.inc"
.include "data/text/questionnaire.inc" .include "data/text/questionnaire.inc"
.include "data/text/abnormal_weather.inc" .include "data/text/abnormal_weather.inc"
EventScript_GetInGameTradeSpeciesInfo::
copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_0x8009, VAR_RESULT
return
EventScript_ChooseMonForInGameTrade::
special ChoosePartyMon
waitstate
lock
faceplayer
copyvar VAR_0x800A, VAR_0x8004
return
EventScript_GetInGameTradeSpecies::
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, GetTradeSpecies
copyvar VAR_0x800B, VAR_RESULT
return
EventScript_DoInGameTrade::
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
special CreateInGameTradePokemon
special DoInGameTradeScene
waitstate
lock
faceplayer
return
EventScript_SelectWithoutRegisteredItem:: EventScript_SelectWithoutRegisteredItem::
msgbox gText_SelectWithoutRegisteredItem, MSGBOX_SIGN msgbox gText_SelectWithoutRegisteredItem, MSGBOX_SIGN
end end
@ -1066,6 +1563,18 @@ EventScript_SelectWithoutRegisteredItem::
Common_EventScript_NopReturn:: Common_EventScript_NopReturn::
return return
EventScript_SetResultTrue::
setvar VAR_RESULT, TRUE
return
EventScript_SetResultFalse::
setvar VAR_RESULT, FALSE
return
EventScript_GetElevatorFloor::
special GetElevatorFloor
return
@ Unused @ Unused
EventScript_CableClub_SetVarResult1:: EventScript_CableClub_SetVarResult1::
setvar VAR_RESULT, 1 setvar VAR_RESULT, 1
@ -1076,15 +1585,27 @@ EventScript_CableClub_SetVarResult0::
return return
Common_EventScript_UnionRoomAttendant:: Common_EventScript_UnionRoomAttendant::
#if IS_FRLG
call CableClub_EventScript_UnionRoomAttendant_Frlg
#else
call CableClub_EventScript_UnionRoomAttendant call CableClub_EventScript_UnionRoomAttendant
#endif
end end
Common_EventScript_WirelessClubAttendant:: Common_EventScript_WirelessClubAttendant::
#if IS_FRLG
call CableClub_EventScript_WirelessClubAttendant_Frlg
#else
call CableClub_EventScript_WirelessClubAttendant call CableClub_EventScript_WirelessClubAttendant
#endif
end end
Common_EventScript_DirectCornerAttendant:: Common_EventScript_DirectCornerAttendant::
#if IS_FRLG
call CableClub_EventScript_DirectCornerAttendant_Frlg
#else
call CableClub_EventScript_DirectCornerAttendant call CableClub_EventScript_DirectCornerAttendant
#endif
end end
Common_EventScript_RemoveStaticPokemon:: Common_EventScript_RemoveStaticPokemon::
@ -1110,6 +1631,62 @@ EventScript_VsSeekerChargingDone::
releaseall releaseall
end end
@ FRLG scripts
EventScript_SetExitingCyclingRoad::
lockall
clearflag FLAG_SYS_ON_CYCLING_ROAD
setvar VAR_MAP_SCENE_ROUTE16, 0
releaseall
end
EventScript_SetEnteringCyclingRoad::
lockall
setvar VAR_MAP_SCENE_ROUTE16, 1
releaseall
end
EventScript_TryDarkenRuins::
goto_if_set FLAG_SYS_UNLOCKED_TANOBY_RUINS, Common_EventScript_NopReturn
setweather WEATHER_SHADE
doweather
return
Text_MonFlewAway::
.string "The {STR_VAR_1} flew away!$"
@ Call for legendary bird trio
Text_Gyaoo::
.string "Gyaoo!$"
EventScript_BrailleCursorWaitButton::
special BrailleCursorToggle
waitbuttonpress
closebraillemessage
playse SE_SELECT
setvar VAR_0x8006, 1
special BrailleCursorToggle
return
EventScript_PalletTown_PlayersHouse_2F_ShutDownPC::
setvar VAR_0x8004, PC_LOCATION_PLAYER_HOUSE_FRLG
playse SE_PC_OFF
special DoPCTurnOffEffect
releaseall
end
EventScript_PalletTown_PlayersHouse_2F_TurnOnPC::
lockall
setvar VAR_0x8004, PC_LOCATION_PLAYER_HOUSE_FRLG
special DoPCTurnOnEffect
playse SE_PC_ON
msgbox gText_PlayerHouseBootPC
special BedroomPC
waitstate
releaseall
end
.include "data/scripts/pc_transfer.inc" .include "data/scripts/pc_transfer.inc"
.include "data/scripts/questionnaire.inc" .include "data/scripts/questionnaire.inc"
.include "data/scripts/abnormal_weather.inc" .include "data/scripts/abnormal_weather.inc"
@ -1137,6 +1714,7 @@ EventScript_VsSeekerChargingDone::
.include "data/scripts/repel.inc" .include "data/scripts/repel.inc"
.include "data/scripts/safari_zone.inc" .include "data/scripts/safari_zone.inc"
.include "data/scripts/roulette.inc" .include "data/scripts/roulette.inc"
.include "data/scripts/pokedex_rating.inc"
.include "data/text/pokedex_rating.inc" .include "data/text/pokedex_rating.inc"
.include "data/text/lottery_corner.inc" .include "data/text/lottery_corner.inc"
.include "data/text/event_ticket_1.inc" .include "data/text/event_ticket_1.inc"

View File

@ -84,6 +84,9 @@ gFieldEffectScriptPointers::
.4byte gFieldEffectScript_UseRockClimb @ FLDEFF_USE_ROCK_CLIMB .4byte gFieldEffectScript_UseRockClimb @ FLDEFF_USE_ROCK_CLIMB
.4byte gFieldEffectScript_RockClimbDust @ FLDEFF_ROCK_CLIMB_DUST .4byte gFieldEffectScript_RockClimbDust @ FLDEFF_ROCK_CLIMB_DUST
.4byte gFieldEffectScript_ORASDowse @ FLDEFF_ORAS_DOWSE .4byte gFieldEffectScript_ORASDowse @ FLDEFF_ORAS_DOWSE
.4byte gFldEffScript_SmileyFaceIcon @ FLDEFF_SMILEY_FACE_ICON
.4byte gFieldEffectScript_HallOfFameRecordFrlg @ FLDEFF_HALL_OF_FAME_RECORD_FRLG
.4byte gFldEffScript_PhotoFlash @ FLDEFF_PHOTO_FLASH
gFieldEffectScript_ExclamationMarkIcon1:: gFieldEffectScript_ExclamationMarkIcon1::
field_eff_callnative FldEff_ExclamationMarkIcon field_eff_callnative FldEff_ExclamationMarkIcon
@ -400,3 +403,15 @@ gFieldEffectScript_ORASDowse::
field_eff_callnative FldEff_ORASDowsing field_eff_callnative FldEff_ORASDowsing
field_eff_end field_eff_end
gFldEffScript_SmileyFaceIcon::
field_eff_callnative FldEff_SmileyFaceIcon
field_eff_end
gFieldEffectScript_HallOfFameRecordFrlg::
field_eff_loadfadedpal gSpritePalette_PokeballGlow
field_eff_loadfadedpal_callnative gSpritePalette_HofMonitor_Frlg, FldEff_HallOfFameRecord
field_eff_end
gFldEffScript_PhotoFlash::
field_eff_callnative FldEff_PhotoFlash
field_eff_end

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,71 @@
{
"id": "MAP_BATTLE_COLOSSEUM_2P_FRLG",
"name": "BattleColosseum_2P_Frlg",
"layout": "LAYOUT_BATTLE_COLOSSEUM_2P_FRLG",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_SPECIAL_AREA",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_LINK",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_UNION_ROOM_RECEPTIONIST",
"x": 9,
"y": 3,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "BattleColosseum_2P_EventScript_Attendant_Frlg",
"flag": "0"
}
],
"warp_events": [
{
"x": 6,
"y": 8,
"elevation": 3,
"dest_map": "MAP_DYNAMIC",
"dest_warp_id": "WARP_ID_DYNAMIC"
},
{
"x": 7,
"y": 8,
"elevation": 3,
"dest_map": "MAP_DYNAMIC",
"dest_warp_id": "WARP_ID_DYNAMIC"
}
],
"coord_events": [
{
"type": "trigger",
"x": 3,
"y": 5,
"elevation": 3,
"var": "VAR_TEMP_0",
"var_value": "0",
"script": "BattleColosseum_2P_EventScript_PlayerSpot0"
},
{
"type": "trigger",
"x": 10,
"y": 5,
"elevation": 3,
"var": "VAR_TEMP_0",
"var_value": "0",
"script": "BattleColosseum_2P_EventScript_PlayerSpot1"
}
],
"bg_events": []
}

View File

@ -0,0 +1,88 @@
{
"id": "MAP_BATTLE_COLOSSEUM_4P_FRLG",
"name": "BattleColosseum_4P_Frlg",
"layout": "LAYOUT_BATTLE_COLOSSEUM_4P_FRLG",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_SPECIAL_AREA",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_LINK",
"connections": null,
"object_events": [],
"warp_events": [
{
"x": 5,
"y": 8,
"elevation": 3,
"dest_map": "MAP_DYNAMIC",
"dest_warp_id": "WARP_ID_DYNAMIC"
},
{
"x": 6,
"y": 8,
"elevation": 3,
"dest_map": "MAP_DYNAMIC",
"dest_warp_id": "WARP_ID_DYNAMIC"
},
{
"x": 7,
"y": 8,
"elevation": 3,
"dest_map": "MAP_DYNAMIC",
"dest_warp_id": "WARP_ID_DYNAMIC"
},
{
"x": 8,
"y": 8,
"elevation": 3,
"dest_map": "MAP_DYNAMIC",
"dest_warp_id": "WARP_ID_DYNAMIC"
}
],
"coord_events": [
{
"type": "trigger",
"x": 3,
"y": 4,
"elevation": 3,
"var": "VAR_TEMP_0",
"var_value": "0",
"script": "BattleColosseum_4P_EventScript_PlayerSpot0"
},
{
"type": "trigger",
"x": 3,
"y": 6,
"elevation": 3,
"var": "VAR_TEMP_0",
"var_value": "0",
"script": "BattleColosseum_4P_EventScript_PlayerSpot2"
},
{
"type": "trigger",
"x": 10,
"y": 4,
"elevation": 3,
"var": "VAR_TEMP_0",
"var_value": "0",
"script": "BattleColosseum_4P_EventScript_PlayerSpot1"
},
{
"type": "trigger",
"x": 10,
"y": 6,
"elevation": 3,
"var": "VAR_TEMP_0",
"var_value": "0",
"script": "BattleColosseum_4P_EventScript_PlayerSpot3"
}
],
"bg_events": []
}

View File

@ -0,0 +1,65 @@
{
"id": "MAP_BIRTH_ISLAND_EXTERIOR_FRLG",
"name": "BirthIsland_Exterior_Frlg",
"layout": "LAYOUT_BIRTH_ISLAND_EXTERIOR_FRLG",
"music": "MUS_NONE",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_BIRTH_ISLAND_FRLG",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_ROUTE",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": true,
"show_map_name": true,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": 0,
"object_events": [
{
"local_id": "LOCALID_BIRTH_ISLAND_EXTERIOR_ROCK",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_METEORITE",
"x": 15,
"y": 12,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "BirthIsland_Exterior_Frlg_EventScript_Triangle",
"flag": "FLAG_HIDE_BIRTH_ISLAND_METEORITE"
},
{
"local_id": "LOCALID_BIRTH_ISLAND_DEOXYS",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_VAR_0",
"x": 15,
"y": 3,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_DEOXYS"
}
],
"warp_events": [
{
"x": 15,
"y": 24,
"elevation": 3,
"dest_map": "MAP_BIRTH_ISLAND_HARBOR_FRLG",
"dest_warp_id": "0"
}
],
"coord_events": [
],
"bg_events": [
]
}

View File

@ -0,0 +1,63 @@
{
"id": "MAP_BIRTH_ISLAND_HARBOR_FRLG",
"name": "BirthIsland_Harbor_Frlg",
"layout": "LAYOUT_ISLAND_HARBOR_FRLG",
"music": "MUS_NONE",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_BIRTH_ISLAND_FRLG",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": 0,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SEAGALLOP",
"x": 8,
"y": 9,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SAILOR_FRLG",
"x": 8,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "BirthIsland_Harbor_EventScript_Sailor_Frlg",
"flag": "0"
}
],
"warp_events": [
{
"x": 8,
"y": 2,
"elevation": 3,
"dest_map": "MAP_BIRTH_ISLAND_EXTERIOR_FRLG",
"dest_warp_id": "0"
}
],
"coord_events": [
],
"bg_events": [
]
}

View File

@ -0,0 +1,139 @@
{
"id": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
"name": "CeladonCity_Condominiums_1F_Frlg",
"layout": "LAYOUT_CELADON_CITY_CONDOMINIUMS_1F",
"music": "MUS_RG_CELADON",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_MEOWTH",
"x": 1,
"y": 9,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Condominiums_1F_EventScript_Meowth",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CLEFAIRY",
"x": 5,
"y": 13,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Condominiums_1F_EventScript_Clefairy",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_NIDORAN_F",
"x": 5,
"y": 8,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Condominiums_1F_EventScript_Nidoran",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_OLD_WOMAN_FRLG",
"x": 2,
"y": 9,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Condominiums_1F_EventScript_TeaWoman",
"flag": "0"
}
],
"warp_events": [
{
"x": 11,
"y": 19,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "3"
},
{
"x": 12,
"y": 18,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "3"
},
{
"x": 13,
"y": 19,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "3"
},
{
"x": 4,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_2F",
"dest_warp_id": "0"
},
{
"x": 12,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_2F",
"dest_warp_id": "3"
},
{
"x": 2,
"y": 1,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "11"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 8,
"y": 12,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_Condominiums_1F_EventScript_SuiteSign"
},
{
"type": "sign",
"x": 7,
"y": 12,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_Condominiums_1F_EventScript_SuiteSign"
}
]
}

View File

@ -1,4 +1,4 @@
CeladonCity_Condominiums_1F_MapScripts:: CeladonCity_Condominiums_1F_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_Condominiums_1F_EventScript_TeaWoman:: CeladonCity_Condominiums_1F_EventScript_TeaWoman::

View File

@ -0,0 +1,97 @@
{
"id": "MAP_CELADON_CITY_CONDOMINIUMS_2F",
"name": "CeladonCity_Condominiums_2F_Frlg",
"layout": "LAYOUT_CELADON_CITY_CONDOMINIUMS_2F",
"music": "MUS_RG_CELADON",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "0",
"x": 6,
"y": 6,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Condominiums_2F_EventScript_PokemonJournalErika",
"flag": "FLAG_HIDE_FAME_CHECKER_ERIKA_JOURNALS"
},
{
"type": "object",
"graphics_id": "0",
"x": 5,
"y": 6,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Condominiums_2F_EventScript_PokemonJournalErika",
"flag": "FLAG_HIDE_FAME_CHECKER_ERIKA_JOURNALS"
}
],
"warp_events": [
{
"x": 4,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
"dest_warp_id": "3"
},
{
"x": 2,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_3F",
"dest_warp_id": "0"
},
{
"x": 11,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_3F",
"dest_warp_id": "3"
},
{
"x": 12,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
"dest_warp_id": "4"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 8,
"y": 12,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_Condominiums_2F_EventScript_MeetingRoomSign"
},
{
"type": "sign",
"x": 7,
"y": 12,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_Condominiums_2F_EventScript_MeetingRoomSign"
}
]
}

View File

@ -1,4 +1,4 @@
CeladonCity_Condominiums_2F_MapScripts:: CeladonCity_Condominiums_2F_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_Condominiums_2F_EventScript_MeetingRoomSign:: CeladonCity_Condominiums_2F_EventScript_MeetingRoomSign::

View File

@ -0,0 +1,173 @@
{
"id": "MAP_CELADON_CITY_CONDOMINIUMS_3F",
"name": "CeladonCity_Condominiums_3F_Frlg",
"layout": "LAYOUT_CELADON_CITY_CONDOMINIUMS_3F",
"music": "MUS_RG_CELADON",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ROCKER",
"x": 0,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Condominiums_3F_EventScript_Programmer",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_MAN",
"x": 3,
"y": 8,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Condominiums_3F_EventScript_Designer",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SUPER_NERD",
"x": 4,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Condominiums_3F_EventScript_GraphicArtist",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_FAT_MAN_FRLG",
"x": 0,
"y": 13,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Condominiums_3F_EventScript_Writer",
"flag": "0"
}
],
"warp_events": [
{
"x": 2,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_2F",
"dest_warp_id": "1"
},
{
"x": 4,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF",
"dest_warp_id": "0"
},
{
"x": 12,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF",
"dest_warp_id": "1"
},
{
"x": 11,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_2F",
"dest_warp_id": "2"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 8,
"y": 12,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_Condominiums_3F_EventScript_DevelopmentRoomSign"
},
{
"type": "sign",
"x": 1,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CeladonCity_Condominiums_3F_EventScript_Computer1"
},
{
"type": "sign",
"x": 5,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CeladonCity_Condominiums_3F_EventScript_Computer2"
},
{
"type": "sign",
"x": 1,
"y": 12,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CeladonCity_Condominiums_3F_EventScript_Computer3"
},
{
"type": "sign",
"x": 7,
"y": 12,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_Condominiums_3F_EventScript_DevelopmentRoomSign"
},
{
"type": "sign",
"x": 0,
"y": 12,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CeladonCity_Condominiums_3F_EventScript_Computer3"
},
{
"type": "sign",
"x": 0,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CeladonCity_Condominiums_3F_EventScript_Computer1"
},
{
"type": "sign",
"x": 4,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CeladonCity_Condominiums_3F_EventScript_Computer2"
}
]
}

View File

@ -1,4 +1,4 @@
CeladonCity_Condominiums_3F_MapScripts:: CeladonCity_Condominiums_3F_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_Condominiums_3F_EventScript_Programmer:: CeladonCity_Condominiums_3F_EventScript_Programmer::

View File

@ -0,0 +1,99 @@
{
"id": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF_ROOM",
"name": "CeladonCity_Condominiums_RoofRoom_Frlg",
"layout": "LAYOUT_CELADON_CITY_CONDOMINIUMS_ROOF_ROOM",
"music": "MUS_RG_CELADON",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BLACKBELT",
"x": 3,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Condominiums_RoofRoom_EventScript_BlackBelt",
"flag": "0"
},
{
"local_id": "LOCALID_EEVEE_POKEBALL",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 7,
"y": 3,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Condominiums_RoofRoom_EventScript_EeveeBall",
"flag": "FLAG_HIDE_EEVEE_BALL"
}
],
"warp_events": [
{
"x": 3,
"y": 8,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF",
"dest_warp_id": "2"
},
{
"x": 4,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF",
"dest_warp_id": "2"
},
{
"x": 5,
"y": 8,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF",
"dest_warp_id": "2"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 4,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_Condominiums_RoofRoom_EventScript_Blackboard"
},
{
"type": "sign",
"x": 5,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_Condominiums_RoofRoom_EventScript_Blackboard"
},
{
"type": "sign",
"x": 4,
"y": 4,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_Condominiums_RoofRoom_EventScript_TMsPamphlet"
}
]
}

View File

@ -1,4 +1,4 @@
CeladonCity_Condominiums_RoofRoom_MapScripts:: CeladonCity_Condominiums_RoofRoom_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_Condominiums_RoofRoom_EventScript_BlackBelt:: CeladonCity_Condominiums_RoofRoom_EventScript_BlackBelt::

View File

@ -0,0 +1,61 @@
{
"id": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF",
"name": "CeladonCity_Condominiums_Roof_Frlg",
"layout": "LAYOUT_CELADON_CITY_CONDOMINIUMS_ROOF",
"music": "MUS_RG_CELADON",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [],
"warp_events": [
{
"x": 4,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_3F",
"dest_warp_id": "1"
},
{
"x": 10,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_3F",
"dest_warp_id": "2"
},
{
"x": 2,
"y": 12,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_ROOF_ROOM",
"dest_warp_id": "1"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 4,
"y": 12,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_Condominiums_Roof_EventScript_Sign"
},
{
"type": "sign",
"x": 3,
"y": 12,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_Condominiums_Roof_EventScript_Sign"
}
]
}

View File

@ -1,4 +1,4 @@
CeladonCity_Condominiums_Roof_MapScripts:: CeladonCity_Condominiums_Roof_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_Condominiums_Roof_EventScript_Sign:: CeladonCity_Condominiums_Roof_EventScript_Sign::

View File

@ -0,0 +1,111 @@
{
"id": "MAP_CELADON_CITY_DEPARTMENT_STORE_1F",
"name": "CeladonCity_DepartmentStore_1F_Frlg",
"layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_1F",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": true,
"floor_number": 1,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WORKER_F",
"x": 6,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_1F_EventScript_Receptionist",
"flag": "0"
}
],
"warp_events": [
{
"x": 1,
"y": 15,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "1"
},
{
"x": 2,
"y": 14,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "1"
},
{
"x": 3,
"y": 15,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "1"
},
{
"x": 9,
"y": 15,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "2"
},
{
"x": 10,
"y": 14,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "2"
},
{
"x": 11,
"y": 15,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "2"
},
{
"x": 6,
"y": 1,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
"dest_warp_id": "0"
},
{
"x": 4,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_2F",
"dest_warp_id": "1"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 9,
"y": 11,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_1F_EventScript_LayoutSign"
},
{
"type": "sign",
"x": 8,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_1F_EventScript_FloorSign"
}
]
}

View File

@ -1,4 +1,4 @@
CeladonCity_DepartmentStore_1F_MapScripts:: CeladonCity_DepartmentStore_1F_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_DepartmentStore_1F_EventScript_Receptionist:: CeladonCity_DepartmentStore_1F_EventScript_Receptionist::

View File

@ -0,0 +1,110 @@
{
"id": "MAP_CELADON_CITY_DEPARTMENT_STORE_2F",
"name": "CeladonCity_DepartmentStore_2F_Frlg",
"layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_2F",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": true,
"floor_number": 2,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_LASS_FRLG",
"x": 5,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 2,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_2F_EventScript_Lass",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CLERK",
"x": 1,
"y": 8,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 3,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_2F_EventScript_ClerkItems",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CLERK",
"x": 1,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 3,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_2F_EventScript_ClerkTMs",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WOMAN_1_FRLG",
"x": 11,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_2F_EventScript_Woman",
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
}
],
"warp_events": [
{
"x": 6,
"y": 1,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
"dest_warp_id": "0"
},
{
"x": 3,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_1F",
"dest_warp_id": "7"
},
{
"x": 9,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_3F",
"dest_warp_id": "1"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 4,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_2F_EventScript_FloorSign"
}
]
}

View File

@ -1,4 +1,4 @@
CeladonCity_DepartmentStore_2F_MapScripts:: CeladonCity_DepartmentStore_2F_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_DepartmentStore_2F_EventScript_UnusedNPC:: CeladonCity_DepartmentStore_2F_EventScript_UnusedNPC::

View File

@ -0,0 +1,204 @@
{
"id": "MAP_CELADON_CITY_DEPARTMENT_STORE_3F",
"name": "CeladonCity_DepartmentStore_3F_Frlg",
"layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_3F",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": true,
"floor_number": 3,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CLERK",
"x": 10,
"y": 9,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_3F_EventScript_CounterTutor",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_GBA_KID",
"x": 11,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_3F_EventScript_GBAKid1",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_GBA_KID",
"x": 4,
"y": 9,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_3F_EventScript_GBAKid3",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_GBA_KID",
"x": 1,
"y": 9,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_3F_EventScript_GBAKid2",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_LITTLE_GIRL_FRLG",
"x": 9,
"y": 14,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_3F_EventScript_LittleGirl",
"flag": "0"
}
],
"warp_events": [
{
"x": 6,
"y": 1,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
"dest_warp_id": "0"
},
{
"x": 9,
"y": 2,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_2F",
"dest_warp_id": "2"
},
{
"x": 3,
"y": 2,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_4F",
"dest_warp_id": "1"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 8,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_3F_EventScript_FloorSign"
},
{
"type": "sign",
"x": 2,
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CeladonCity_DepartmentStore_3F_EventScript_TV1"
},
{
"type": "sign",
"x": 5,
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CeladonCity_DepartmentStore_3F_EventScript_TV2"
},
{
"type": "sign",
"x": 2,
"y": 11,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CeladonCity_DepartmentStore_3F_EventScript_TV3"
},
{
"type": "sign",
"x": 5,
"y": 11,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CeladonCity_DepartmentStore_3F_EventScript_TV4"
},
{
"type": "sign",
"x": 1,
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_3F_EventScript_SuperNES"
},
{
"type": "sign",
"x": 1,
"y": 11,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_3F_EventScript_SuperNES"
},
{
"type": "sign",
"x": 4,
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_3F_EventScript_SuperNES"
},
{
"type": "sign",
"x": 4,
"y": 11,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_3F_EventScript_SuperNES"
},
{
"type": "sign",
"x": 2,
"y": 4,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CeladonCity_DepartmentStore_3F_EventScript_Poster"
},
{
"type": "sign",
"x": 0,
"y": 4,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CeladonCity_DepartmentStore_3F_EventScript_Poster"
}
]
}

View File

@ -1,4 +1,4 @@
CeladonCity_DepartmentStore_3F_MapScripts:: CeladonCity_DepartmentStore_3F_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_DepartmentStore_3F_EventScript_CounterTutor:: CeladonCity_DepartmentStore_3F_EventScript_CounterTutor::

View File

@ -0,0 +1,96 @@
{
"id": "MAP_CELADON_CITY_DEPARTMENT_STORE_4F",
"name": "CeladonCity_DepartmentStore_4F_Frlg",
"layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_4F",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": true,
"floor_number": 4,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_MAN",
"x": 6,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_4F_EventScript_Man",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_YOUNGSTER_FRLG",
"x": 10,
"y": 11,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_4F_EventScript_Youngster",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CLERK",
"x": 3,
"y": 13,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 3,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_4F_EventScript_Clerk",
"flag": "0"
}
],
"warp_events": [
{
"x": 6,
"y": 1,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
"dest_warp_id": "0"
},
{
"x": 3,
"y": 2,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_3F",
"dest_warp_id": "2"
},
{
"x": 9,
"y": 2,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_5F",
"dest_warp_id": "1"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 4,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_4F_EventScript_FloorSign"
}
]
}

View File

@ -1,4 +1,4 @@
CeladonCity_DepartmentStore_4F_MapScripts:: CeladonCity_DepartmentStore_4F_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_DepartmentStore_4F_EventScript_Man:: CeladonCity_DepartmentStore_4F_EventScript_Man::

View File

@ -0,0 +1,110 @@
{
"id": "MAP_CELADON_CITY_DEPARTMENT_STORE_5F",
"name": "CeladonCity_DepartmentStore_5F_Frlg",
"layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_5F",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": true,
"floor_number": 5,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_GENTLEMAN_FRLG",
"x": 11,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_5F_EventScript_Gentleman",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SAILOR_FRLG",
"x": 6,
"y": 8,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_5F_EventScript_Sailor",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CLERK",
"x": 1,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 2,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_5F_EventScript_ClerkXItems",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CLERK",
"x": 1,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 2,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_5F_EventScript_ClerkVitamins",
"flag": "0"
}
],
"warp_events": [
{
"x": 6,
"y": 1,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
"dest_warp_id": "0"
},
{
"x": 9,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_4F",
"dest_warp_id": "2"
},
{
"x": 3,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_ROOF",
"dest_warp_id": "0"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 8,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_5F_EventScript_FloorSign"
}
]
}

View File

@ -1,4 +1,4 @@
CeladonCity_DepartmentStore_5F_MapScripts:: CeladonCity_DepartmentStore_5F_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_DepartmentStore_5F_EventScript_Gentleman:: CeladonCity_DepartmentStore_5F_EventScript_Gentleman::

View File

@ -0,0 +1,54 @@
{
"id": "MAP_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
"name": "CeladonCity_DepartmentStore_Elevator_Frlg",
"layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_ELEVATOR",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [],
"warp_events": [
{
"x": 2,
"y": 5,
"elevation": 3,
"dest_map": "MAP_DYNAMIC",
"dest_warp_id": "WARP_ID_DYNAMIC"
},
{
"x": 2,
"y": 6,
"elevation": 0,
"dest_map": "MAP_DYNAMIC",
"dest_warp_id": "WARP_ID_DYNAMIC"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 0,
"y": 2,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelect"
},
{
"type": "sign",
"x": 4,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelect"
}
]
}

View File

@ -1,4 +1,4 @@
CeladonCity_DepartmentStore_Elevator_MapScripts:: CeladonCity_DepartmentStore_Elevator_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelect:: CeladonCity_DepartmentStore_Elevator_EventScript_FloorSelect::

View File

@ -0,0 +1,92 @@
{
"id": "MAP_CELADON_CITY_DEPARTMENT_STORE_ROOF",
"name": "CeladonCity_DepartmentStore_Roof_Frlg",
"layout": "LAYOUT_CELADON_CITY_DEPARTMENT_STORE_ROOF",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": true,
"floor_number": 127,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_M",
"x": 9,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_Roof_EventScript_CooltrainerM",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_LITTLE_GIRL_FRLG",
"x": 5,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_DepartmentStore_Roof_EventScript_ThirstyGirl",
"flag": "0"
}
],
"warp_events": [
{
"x": 15,
"y": 6,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_5F",
"dest_warp_id": "2"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 14,
"y": 3,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_Roof_EventScript_FloorSign"
},
{
"type": "sign",
"x": 10,
"y": 3,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_Roof_EventScript_VendingMachine"
},
{
"type": "sign",
"x": 11,
"y": 3,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_Roof_EventScript_VendingMachine"
},
{
"type": "sign",
"x": 12,
"y": 3,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_DepartmentStore_Roof_EventScript_VendingMachine"
}
]
}

View File

@ -1,4 +1,4 @@
CeladonCity_DepartmentStore_Roof_MapScripts:: CeladonCity_DepartmentStore_Roof_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_DepartmentStore_Roof_EventScript_ThirstyGirl:: CeladonCity_DepartmentStore_Roof_EventScript_ThirstyGirl::

View File

@ -0,0 +1,408 @@
{
"id": "MAP_CELADON_CITY",
"name": "CeladonCity_Frlg",
"layout": "LAYOUT_CELADON_CITY",
"music": "MUS_RG_CELADON",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_SUNNY",
"map_type": "MAP_TYPE_TOWN",
"allow_cycling": true,
"allow_escaping": false,
"allow_running": true,
"show_map_name": true,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [
{
"map": "MAP_ROUTE16",
"offset": 10,
"direction": "left"
},
{
"map": "MAP_ROUTE7",
"offset": 10,
"direction": "right"
}
],
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ROCKET_M",
"x": 48,
"y": 15,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 4,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_EventScript_RocketGrunt1",
"flag": "FLAG_HIDE_CELADON_ROCKETS"
},
{
"local_id": "LOCALID_CELADON_FAT_MAN",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_FAT_MAN_FRLG",
"x": 38,
"y": 14,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_EventScript_FatMan",
"flag": "0"
},
{
"local_id": "LOCALID_CELADON_POLIWRATH",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_POLIWRATH",
"x": 36,
"y": 14,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_EventScript_Poliwrath",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_LITTLE_GIRL_FRLG",
"x": 11,
"y": 18,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_RIGHT_DOWN_LEFT_UP",
"movement_range_x": 4,
"movement_range_y": 4,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_EventScript_LittleGirl",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WOMAN_2_FRLG",
"x": 18,
"y": 22,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 2,
"movement_range_y": 5,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_EventScript_Woman",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_OLD_MAN_1",
"x": 30,
"y": 24,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_EventScript_OldMan2",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_OLD_MAN_2",
"x": 26,
"y": 19,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_EventScript_SoftboiledTutor",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ROCKET_M",
"x": 38,
"y": 31,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 5,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_EventScript_RocketGrunt2",
"flag": "FLAG_HIDE_CELADON_ROCKETS"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_OLD_MAN_1",
"x": 9,
"y": 30,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_EventScript_OldMan1",
"flag": "0"
},
{
"local_id": "LOCALID_CELADON_BORDER_TREE",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE_FRLG",
"x": 52,
"y": 22,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
"flag": "FLAG_TEMP_14"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE_FRLG",
"x": 40,
"y": 35,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
"flag": "FLAG_TEMP_13"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BOY",
"x": 25,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_EventScript_Boy",
"flag": "0"
},
{
"type": "clone",
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE_FRLG",
"x": -7,
"y": 21,
"target_local_id": "LOCALID_ROUTE16_CUT_TREE",
"target_map": "MAP_ROUTE16"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 5,
"y": 3,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_EventScript_ItemEther",
"flag": "FLAG_HIDE_CELADON_CITY_ETHER"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SCIENTIST",
"x": 47,
"y": 24,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_EventScript_SilphCoScientist",
"flag": "FLAG_HIDE_CELADON_ROCKETS"
}
],
"warp_events": [
{
"x": 34,
"y": 21,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_GAME_CORNER",
"dest_warp_id": "0"
},
{
"x": 11,
"y": 14,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_1F",
"dest_warp_id": "1"
},
{
"x": 15,
"y": 14,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_DEPARTMENT_STORE_1F",
"dest_warp_id": "4"
},
{
"x": 30,
"y": 11,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
"dest_warp_id": "1"
},
{
"x": 48,
"y": 11,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_POKEMON_CENTER_1F",
"dest_warp_id": "1"
},
{
"x": 39,
"y": 20,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_GAME_CORNER_PRIZE_ROOM",
"dest_warp_id": "1"
},
{
"x": 11,
"y": 30,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_GYM",
"dest_warp_id": "1"
},
{
"x": 37,
"y": 29,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_RESTAURANT",
"dest_warp_id": "1"
},
{
"x": 41,
"y": 29,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_HOUSE1",
"dest_warp_id": "1"
},
{
"x": 49,
"y": 29,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_HOTEL",
"dest_warp_id": "1"
},
{
"x": 29,
"y": 5,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
"dest_warp_id": "5"
},
{
"x": 30,
"y": 4,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
"dest_warp_id": "5"
},
{
"x": 31,
"y": 5,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
"dest_warp_id": "5"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 45,
"y": 23,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_EventScript_TrainerTips2"
},
{
"type": "sign",
"x": 38,
"y": 23,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_EventScript_PrizeExchangeSign"
},
{
"type": "sign",
"x": 33,
"y": 23,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_EventScript_GameCornerSign"
},
{
"type": "sign",
"x": 22,
"y": 18,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_EventScript_CitySign"
},
{
"type": "sign",
"x": 26,
"y": 11,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_EventScript_MansionSign"
},
{
"type": "sign",
"x": 33,
"y": 16,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_EventScript_TrainerTips1"
},
{
"type": "sign",
"x": 18,
"y": 14,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_EventScript_DeptStoreSign"
},
{
"type": "sign",
"x": 16,
"y": 31,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_EventScript_GymSign"
},
{
"type": "hidden_item",
"x": 55,
"y": 20,
"elevation": 3,
"item": "ITEM_PP_UP",
"flag": "FLAG_HIDDEN_ITEM_CELADON_CITY_PP_UP",
"quantity": 1,
"underfoot": false
}
]
}

View File

@ -1,4 +1,4 @@
CeladonCity_MapScripts:: CeladonCity_Frlg_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CeladonCity_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, CeladonCity_OnTransition
.byte 0 .byte 0

View File

@ -0,0 +1,520 @@
{
"id": "MAP_CELADON_CITY_GAME_CORNER",
"name": "CeladonCity_GameCorner_Frlg",
"layout": "LAYOUT_CELADON_CITY_GAME_CORNER",
"music": "MUS_GAME_CORNER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WORKER_F",
"x": 4,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_EventScript_InfoClerk",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WORKER_M",
"x": 6,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_EventScript_CoinsClerk",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BALDING_MAN",
"x": 1,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_EventScript_BaldingMan",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WOMAN_2_FRLG",
"x": 1,
"y": 8,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_EventScript_Woman1",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_FISHER",
"x": 4,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_EventScript_Fisher",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_GYM_GUY",
"x": 7,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_EventScript_GymGuy",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WOMAN_1_FRLG",
"x": 7,
"y": 8,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_EventScript_Woman2",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_OLD_MAN_2",
"x": 10,
"y": 9,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_EventScript_OldMan",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SCIENTIST",
"x": 13,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_EventScript_Scientist",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_GENTLEMAN_FRLG",
"x": 16,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_EventScript_Gentleman",
"flag": "0"
},
{
"local_id": "LOCALID_GAME_CORNER_GRUNT",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ROCKET_M",
"x": 11,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_EventScript_RocketGrunt",
"flag": "FLAG_HIDE_GAME_CORNER_ROCKET"
}
],
"warp_events": [
{
"x": 9,
"y": 13,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "0"
},
{
"x": 10,
"y": 13,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "0"
},
{
"x": 11,
"y": 13,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "0"
},
{
"x": 15,
"y": 2,
"elevation": 3,
"dest_map": "MAP_ROCKET_HIDEOUT_B1F",
"dest_warp_id": "0"
}
],
"coord_events": [],
"bg_events": [
{
"type": "hidden_item",
"x": 2,
"y": 4,
"elevation": 3,
"item": "ITEM_NONE",
"flag": "FLAG_HIDDEN_ITEM_CELADON_CITY_GAME_CORNER_COINS",
"quantity": 10,
"underfoot": false
},
{
"type": "hidden_item",
"x": 3,
"y": 8,
"elevation": 3,
"item": "ITEM_NONE",
"flag": "FLAG_HIDDEN_ITEM_CELADON_CITY_GAME_CORNER_COINS_2",
"quantity": 10,
"underfoot": false
},
{
"type": "hidden_item",
"x": 2,
"y": 11,
"elevation": 3,
"item": "ITEM_NONE",
"flag": "FLAG_HIDDEN_ITEM_CELADON_CITY_GAME_CORNER_COINS_3",
"quantity": 20,
"underfoot": false
},
{
"type": "hidden_item",
"x": 6,
"y": 12,
"elevation": 3,
"item": "ITEM_NONE",
"flag": "FLAG_HIDDEN_ITEM_CELADON_CITY_GAME_CORNER_COINS_4",
"quantity": 10,
"underfoot": false
},
{
"type": "hidden_item",
"x": 9,
"y": 9,
"elevation": 3,
"item": "ITEM_NONE",
"flag": "FLAG_HIDDEN_ITEM_CELADON_CITY_GAME_CORNER_COINS_5",
"quantity": 10,
"underfoot": false
},
{
"type": "hidden_item",
"x": 8,
"y": 5,
"elevation": 3,
"item": "ITEM_NONE",
"flag": "FLAG_HIDDEN_ITEM_CELADON_CITY_GAME_CORNER_COINS_6",
"quantity": 20,
"underfoot": false
},
{
"type": "hidden_item",
"x": 10,
"y": 4,
"elevation": 3,
"item": "ITEM_NONE",
"flag": "FLAG_HIDDEN_ITEM_CELADON_CITY_GAME_CORNER_COINS_7",
"quantity": 10,
"underfoot": false
},
{
"type": "hidden_item",
"x": 13,
"y": 3,
"elevation": 3,
"item": "ITEM_NONE",
"flag": "FLAG_HIDDEN_ITEM_CELADON_CITY_GAME_CORNER_COINS_8",
"quantity": 10,
"underfoot": false
},
{
"type": "hidden_item",
"x": 15,
"y": 5,
"elevation": 3,
"item": "ITEM_NONE",
"flag": "FLAG_HIDDEN_ITEM_CELADON_CITY_GAME_CORNER_COINS_9",
"quantity": 10,
"underfoot": false
},
{
"type": "hidden_item",
"x": 17,
"y": 5,
"elevation": 3,
"item": "ITEM_NONE",
"flag": "FLAG_HIDDEN_ITEM_CELADON_CITY_GAME_CORNER_COINS_10",
"quantity": 40,
"underfoot": false
},
{
"type": "hidden_item",
"x": 15,
"y": 13,
"elevation": 3,
"item": "ITEM_NONE",
"flag": "FLAG_HIDDEN_ITEM_CELADON_CITY_GAME_CORNER_COINS_11",
"quantity": 100,
"underfoot": false
},
{
"type": "hidden_item",
"x": 12,
"y": 12,
"elevation": 3,
"item": "ITEM_NONE",
"flag": "FLAG_HIDDEN_ITEM_CELADON_CITY_GAME_CORNER_COINS_12",
"quantity": 10,
"underfoot": false
},
{
"type": "sign",
"x": 0,
"y": 7,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_WEST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine0"
},
{
"type": "sign",
"x": 0,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_WEST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine1"
},
{
"type": "sign",
"x": 0,
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_WEST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine2"
},
{
"type": "sign",
"x": 5,
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_EAST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine3"
},
{
"type": "sign",
"x": 5,
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_EAST",
"script": "CeladonCity_GameCorner_EventScript_UnusableSlotMachine1"
},
{
"type": "sign",
"x": 5,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_EAST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine5"
},
{
"type": "sign",
"x": 5,
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_EAST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine6"
},
{
"type": "sign",
"x": 6,
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_WEST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine7"
},
{
"type": "sign",
"x": 6,
"y": 7,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_WEST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine8"
},
{
"type": "sign",
"x": 6,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_WEST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine9"
},
{
"type": "sign",
"x": 11,
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_EAST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine10"
},
{
"type": "sign",
"x": 11,
"y": 7,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_EAST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine11"
},
{
"type": "sign",
"x": 11,
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_EAST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine12"
},
{
"type": "sign",
"x": 11,
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_EAST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine13"
},
{
"type": "sign",
"x": 12,
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_WEST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine14"
},
{
"type": "sign",
"x": 12,
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_WEST",
"script": "CeladonCity_GameCorner_EventScript_UnusableSlotMachine2"
},
{
"type": "sign",
"x": 12,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_WEST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine16"
},
{
"type": "sign",
"x": 12,
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_WEST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine17"
},
{
"type": "sign",
"x": 17,
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_EAST",
"script": "CeladonCity_GameCorner_EventScript_UnusableSlotMachine3"
},
{
"type": "sign",
"x": 17,
"y": 7,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_EAST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine19"
},
{
"type": "sign",
"x": 17,
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_EAST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine20"
},
{
"type": "sign",
"x": 17,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_EAST",
"script": "CeladonCity_GameCorner_EventScript_SlotMachine21"
},
{
"type": "sign",
"x": 11,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_GameCorner_EventScript_Poster"
},
{
"type": "sign",
"x": 17,
"y": 13,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_EAST",
"script": "CeladonCity_GameCorner_EventScript_PhotoPrinter"
}
]
}

View File

@ -1,4 +1,4 @@
CeladonCity_GameCorner_MapScripts:: CeladonCity_GameCorner_Frlg_MapScripts::
map_script MAP_SCRIPT_ON_LOAD, CeladonCity_GameCorner_OnLoad map_script MAP_SCRIPT_ON_LOAD, CeladonCity_GameCorner_OnLoad
.byte 0 .byte 0

View File

@ -0,0 +1,115 @@
{
"id": "MAP_CELADON_CITY_GAME_CORNER_PRIZE_ROOM",
"name": "CeladonCity_GameCorner_PrizeRoom_Frlg",
"layout": "LAYOUT_CELADON_CITY_GAME_CORNER_PRIZE_ROOM",
"music": "MUS_RG_CELADON",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BALDING_MAN",
"x": 2,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_PrizeRoom_EventScript_BaldingMan",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_OLD_MAN_2",
"x": 6,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_PrizeRoom_EventScript_OldMan",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WORKER_M",
"x": 4,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkMons",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WORKER_M",
"x": 6,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkTMs",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WORKER_M",
"x": 2,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_GameCorner_PrizeRoom_EventScript_PrizeClerkItems",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 9,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "5"
},
{
"x": 4,
"y": 8,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "5"
},
{
"x": 5,
"y": 9,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "5"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,4 +1,4 @@
CeladonCity_GameCorner_PrizeRoom_MapScripts:: CeladonCity_GameCorner_PrizeRoom_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_GameCorner_PrizeRoom_EventScript_BaldingMan:: CeladonCity_GameCorner_PrizeRoom_EventScript_BaldingMan::

View File

@ -0,0 +1,216 @@
{
"id": "MAP_CELADON_CITY_GYM",
"name": "CeladonCity_Gym_Frlg",
"layout": "LAYOUT_CELADON_CITY_GYM",
"music": "MUS_GYM",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_GYM",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_LASS_FRLG",
"x": 3,
"y": 11,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "CeladonCity_Gym_EventScript_Kay",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BEAUTY_FRLG",
"x": 9,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "CeladonCity_Gym_EventScript_Bridget",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_PICNICKER_FRLG",
"x": 10,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "CeladonCity_Gym_EventScript_Tina",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BEAUTY_FRLG",
"x": 2,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "CeladonCity_Gym_EventScript_Tamia",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BEAUTY_FRLG",
"x": 5,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "CeladonCity_Gym_EventScript_Lori",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_LASS_FRLG",
"x": 7,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "CeladonCity_Gym_EventScript_Lisa",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ERIKA",
"x": 6,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Gym_EventScript_Erika",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_F",
"x": 8,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "CeladonCity_Gym_EventScript_Mary",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE_FRLG",
"x": 6,
"y": 8,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
"flag": "FLAG_TEMP_12"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE_FRLG",
"x": 3,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
"flag": "FLAG_TEMP_13"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE_FRLG",
"x": 9,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
"flag": "FLAG_TEMP_14"
}
],
"warp_events": [
{
"x": 5,
"y": 18,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "6"
},
{
"x": 6,
"y": 18,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "6"
},
{
"x": 7,
"y": 18,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "6"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 4,
"y": 16,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_Gym_EventScript_GymStatue"
},
{
"type": "sign",
"x": 8,
"y": 16,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeladonCity_Gym_EventScript_GymStatue"
}
]
}

View File

@ -1,4 +1,4 @@
CeladonCity_Gym_MapScripts:: CeladonCity_Gym_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_Gym_EventScript_Erika:: CeladonCity_Gym_EventScript_Erika::

View File

@ -0,0 +1,101 @@
{
"id": "MAP_CELADON_CITY_HOTEL",
"name": "CeladonCity_Hotel_Frlg",
"layout": "LAYOUT_CELADON_CITY_HOTEL",
"music": "MUS_RG_CELADON",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_OLD_WOMAN_FRLG",
"x": 5,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Hotel_EventScript_Receptionist",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BEAUTY_FRLG",
"x": 3,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Hotel_EventScript_Beauty",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_MAN",
"x": 9,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Hotel_EventScript_BeautyBoyfriend",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_LITTLE_BOY_FRLG",
"x": 2,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Hotel_EventScript_BeautyBrother",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 10,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "9"
},
{
"x": 4,
"y": 9,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "9"
},
{
"x": 5,
"y": 10,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "9"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,4 +1,4 @@
CeladonCity_Hotel_MapScripts:: CeladonCity_Hotel_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_Hotel_EventScript_Receptionist:: CeladonCity_Hotel_EventScript_Receptionist::

View File

@ -0,0 +1,87 @@
{
"id": "MAP_CELADON_CITY_HOUSE1",
"name": "CeladonCity_House1_Frlg",
"layout": "LAYOUT_HOUSE5_FRLG",
"music": "MUS_RG_CELADON",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_OLD_MAN_2",
"x": 5,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_House1_EventScript_RocketChief",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ROCKET_M",
"x": 2,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 1,
"movement_range_y": 5,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_House1_EventScript_Rocket1",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ROCKET_M",
"x": 8,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 1,
"movement_range_y": 5,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_House1_EventScript_Rocket2",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "8"
},
{
"x": 4,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "8"
},
{
"x": 5,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "8"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,4 +1,4 @@
CeladonCity_House1_MapScripts:: CeladonCity_House1_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_House1_EventScript_RocketChief:: CeladonCity_House1_EventScript_RocketChief::

View File

@ -0,0 +1,109 @@
{
"id": "MAP_CELADON_CITY_POKEMON_CENTER_1F",
"name": "CeladonCity_PokemonCenter_1F_Frlg",
"layout": "LAYOUT_POKEMON_CENTER_1F_FRLG",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"local_id": "LOCALID_CELADON_NURSE",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_NURSE_FRLG",
"x": 7,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_GENTLEMAN_FRLG",
"x": 4,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_PokemonCenter_1F_EventScript_Gentleman",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_F",
"x": 10,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 2,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_PokemonCenter_1F_EventScript_CooltrainerF",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_YOUNGSTER_FRLG",
"x": 12,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_PokemonCenter_1F_EventScript_Youngster",
"flag": "0"
}
],
"warp_events": [
{
"x": 6,
"y": 8,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "4"
},
{
"x": 7,
"y": 8,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "4"
},
{
"x": 8,
"y": 8,
"elevation": 3,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "4"
},
{
"x": 1,
"y": 6,
"elevation": 4,
"dest_map": "MAP_CELADON_CITY_POKEMON_CENTER_2F",
"dest_warp_id": "0"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,4 +1,4 @@
CeladonCity_PokemonCenter_1F_MapScripts:: CeladonCity_PokemonCenter_1F_Frlg_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CeladonCity_PokemonCenter_1F_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, CeladonCity_PokemonCenter_1F_OnTransition
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
.byte 0 .byte 0
@ -10,7 +10,7 @@ CeladonCity_PokemonCenter_1F_OnTransition::
CeladonCity_PokemonCenter_1F_EventScript_Nurse:: CeladonCity_PokemonCenter_1F_EventScript_Nurse::
lock lock
faceplayer faceplayer
call Common_EventScript_PkmnCenterNurse call EventScript_PkmnCenterNurse_Frlg
release release
end end

View File

@ -0,0 +1,101 @@
{
"id": "MAP_CELADON_CITY_POKEMON_CENTER_2F",
"name": "CeladonCity_PokemonCenter_2F_Frlg",
"layout": "LAYOUT_POKEMON_CENTER_2F_FRLG",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CABLE_CLUB_RECEPTIONIST",
"x": 6,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Common_EventScript_UnionRoomAttendant",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CABLE_CLUB_RECEPTIONIST",
"x": 2,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Common_EventScript_WirelessClubAttendant",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CABLE_CLUB_RECEPTIONIST",
"x": 10,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Common_EventScript_DirectCornerAttendant",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_MG_DELIVERYMAN",
"x": 1,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CableClub_EventScript_MysteryGiftMan_Frlg",
"flag": "FLAG_HIDE_MG_DELIVERYMEN"
}
],
"warp_events": [
{
"x": 1,
"y": 6,
"elevation": 4,
"dest_map": "MAP_CELADON_CITY_POKEMON_CENTER_1F",
"dest_warp_id": "3"
},
{
"x": 5,
"y": 1,
"elevation": 0,
"dest_map": "MAP_UNION_ROOM_FRLG",
"dest_warp_id": "0"
},
{
"x": 9,
"y": 1,
"elevation": 0,
"dest_map": "MAP_TRADE_CENTER_FRLG",
"dest_warp_id": "0"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,19 +1,19 @@
CeladonCity_PokemonCenter_2F_MapScripts:: CeladonCity_PokemonCenter_2F_Frlg_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, CableClub_OnFrame map_script MAP_SCRIPT_ON_FRAME_TABLE, CableClub_OnFrame_Frlg
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, CableClub_OnWarp map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, CableClub_OnWarp_Frlg
map_script MAP_SCRIPT_ON_LOAD, CableClub_OnLoad map_script MAP_SCRIPT_ON_LOAD, CableClub_OnLoad_Frlg
map_script MAP_SCRIPT_ON_TRANSITION, CableClub_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, CableClub_OnTransition_Frlg
.byte 0 .byte 0
@ The below 3 are unused and leftover from RS @ The below 3 are unused and leftover from RS
CeladonCity_PokemonCenter_2F_EventScript_Colosseum:: CeladonCity_PokemonCenter_2F_EventScript_Colosseum::
call CableClub_EventScript_Colosseum call CableClub_EventScript_Colosseum_Frlg
end end
CeladonCity_PokemonCenter_2F_EventScript_TradeCenter:: CeladonCity_PokemonCenter_2F_EventScript_TradeCenter::
call CableClub_EventScript_TradeCenter call CableClub_EventScript_TradeCenter_Frlg
end end
CeladonCity_PokemonCenter_2F_EventScript_RecordCorner:: CeladonCity_PokemonCenter_2F_EventScript_RecordCorner::
call CableClub_EventScript_RecordCorner call CableClub_EventScript_RecordCorner_Frlg
end end

View File

@ -0,0 +1,115 @@
{
"id": "MAP_CELADON_CITY_RESTAURANT",
"name": "CeladonCity_Restaurant_Frlg",
"layout": "LAYOUT_CELADON_CITY_RESTAURANT",
"music": "MUS_RG_CELADON",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CELADON_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CHEF",
"x": 12,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 2,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Restaurant_EventScript_Chef",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WOMAN_2_FRLG",
"x": 11,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 1,
"movement_range_y": 2,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Restaurant_EventScript_Woman",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_FAT_MAN_FRLG",
"x": 9,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Restaurant_EventScript_FatMan",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BALDING_MAN",
"x": 1,
"y": 2,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Restaurant_EventScript_CoinCaseMan",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WORKER_M",
"x": 3,
"y": 7,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeladonCity_Restaurant_EventScript_WorkerM",
"flag": "0"
}
],
"warp_events": [
{
"x": 5,
"y": 9,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "7"
},
{
"x": 6,
"y": 9,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "7"
},
{
"x": 7,
"y": 9,
"elevation": 0,
"dest_map": "MAP_CELADON_CITY",
"dest_warp_id": "7"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,4 +1,4 @@
CeladonCity_Restaurant_MapScripts:: CeladonCity_Restaurant_Frlg_MapScripts::
.byte 0 .byte 0
CeladonCity_Restaurant_EventScript_Chef:: CeladonCity_Restaurant_EventScript_Chef::

View File

@ -0,0 +1,219 @@
{
"id": "MAP_CERULEAN_CAVE_1F",
"name": "CeruleanCave_1F_Frlg",
"layout": "LAYOUT_CERULEAN_CAVE_1F",
"music": "MUS_RG_ROCKET_HIDEOUT",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CERULEAN_CAVE",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_UNDERGROUND",
"allow_cycling": true,
"allow_escaping": true,
"allow_running": true,
"show_map_name": true,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": 0,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 7,
"y": 3,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCave_1F_EventScript_ItemNugget",
"flag": "FLAG_HIDE_CERULEAN_CAVE_1F_NUGGET"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 11,
"y": 16,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCave_1F_EventScript_ItemFullRestore",
"flag": "FLAG_HIDE_CERULEAN_CAVE_1F_FULL_RESTORE"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 25,
"y": 5,
"elevation": 4,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCave_1F_EventScript_ItemMaxElixir",
"flag": "FLAG_HIDE_CERULEAN_CAVE_1F_MAX_ELIXIR"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 7,
"y": 21,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_12"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 13,
"y": 21,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_13"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 5,
"y": 20,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_14"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 14,
"y": 20,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_15"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 11,
"y": 21,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_16"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 9,
"y": 18,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_17"
}
],
"warp_events": [
{
"x": 33,
"y": 21,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "7"
},
{
"x": 34,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CAVE_2F",
"dest_warp_id": "0"
},
{
"x": 1,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CAVE_B1F",
"dest_warp_id": "0"
},
{
"x": 10,
"y": 2,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CAVE_2F",
"dest_warp_id": "1"
},
{
"x": 5,
"y": 15,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CAVE_2F",
"dest_warp_id": "2"
},
{
"x": 30,
"y": 10,
"elevation": 4,
"dest_map": "MAP_CERULEAN_CAVE_2F",
"dest_warp_id": "3"
},
{
"x": 24,
"y": 11,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CAVE_2F",
"dest_warp_id": "4"
},
{
"x": 2,
"y": 4,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CAVE_2F",
"dest_warp_id": "5"
}
],
"coord_events": [
],
"bg_events": [
{
"type": "hidden_item",
"x": 12,
"y": 2,
"elevation": 3,
"item": "ITEM_ULTRA_BALL",
"flag": "FLAG_HIDDEN_ITEM_CERULEAN_CAVE_1F_ULTRA_BALL",
"quantity": 1,
"underfoot": false
}
]
}

View File

@ -1,4 +1,4 @@
CeruleanCave_1F_MapScripts:: CeruleanCave_1F_Frlg_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CeruleanCave_1F_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, CeruleanCave_1F_OnTransition
.byte 0 .byte 0

View File

@ -0,0 +1,248 @@
{
"id": "MAP_CERULEAN_CAVE_2F",
"name": "CeruleanCave_2F_Frlg",
"layout": "LAYOUT_CERULEAN_CAVE_2F",
"music": "MUS_RG_ROCKET_HIDEOUT",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CERULEAN_CAVE",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_UNDERGROUND",
"allow_cycling": true,
"allow_escaping": true,
"allow_running": true,
"show_map_name": true,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 9,
"y": 18,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCave_2F_EventScript_ItemPPUp",
"flag": "FLAG_HIDE_CERULEAN_CAVE_2F_PP_UP"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 29,
"y": 16,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCave_2F_EventScript_ItemUltraBall",
"flag": "FLAG_HIDE_CERULEAN_CAVE_2F_ULTRA_BALL"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 33,
"y": 12,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCave_2F_EventScript_ItemFullRestore",
"flag": "FLAG_HIDE_CERULEAN_CAVE_2F_FULL_RESTORE"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 33,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_12"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 33,
"y": 9,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_13"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 25,
"y": 11,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_14"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 28,
"y": 20,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_15"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 30,
"y": 20,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_16"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 9,
"y": 13,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_17"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 23,
"y": 16,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_18"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 13,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_19"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 4,
"y": 12,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_1A"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 10,
"y": 20,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_1B"
}
],
"warp_events": [
{
"x": 33,
"y": 4,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CAVE_1F",
"dest_warp_id": "1"
},
{
"x": 13,
"y": 4,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CAVE_1F",
"dest_warp_id": "3"
},
{
"x": 7,
"y": 14,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CAVE_1F",
"dest_warp_id": "4"
},
{
"x": 26,
"y": 9,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CAVE_1F",
"dest_warp_id": "5"
},
{
"x": 23,
"y": 10,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CAVE_1F",
"dest_warp_id": "6"
},
{
"x": 5,
"y": 6,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CAVE_1F",
"dest_warp_id": "7"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,2 +1,2 @@
CeruleanCave_2F_MapScripts:: CeruleanCave_2F_Frlg_MapScripts::
.byte 0 .byte 0

View File

@ -0,0 +1,199 @@
{
"id": "MAP_CERULEAN_CAVE_B1F",
"name": "CeruleanCave_B1F_Frlg",
"layout": "LAYOUT_CERULEAN_CAVE_B1F",
"music": "MUS_RG_ROCKET_HIDEOUT",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CERULEAN_CAVE",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_UNDERGROUND",
"allow_cycling": true,
"allow_escaping": true,
"allow_running": true,
"show_map_name": true,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 31,
"y": 9,
"elevation": 4,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCave_B1F_EventScript_ItemUltraBall",
"flag": "FLAG_HIDE_CERULEAN_CAVE_B1F_ULTRA_BALL"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 32,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCave_B1F_EventScript_ItemMaxRevive",
"flag": "FLAG_HIDE_CERULEAN_CAVE_B1F_MAX_REVIVE"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_MEWTWO",
"x": 7,
"y": 12,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCave_B1F_EventScript_Mewtwo",
"flag": "FLAG_HIDE_MEWTWO"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 37,
"y": 1,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_12"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 38,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_13"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 35,
"y": 1,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_14"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 37,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_15"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 35,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_16"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 2,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_17"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 4,
"y": 1,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_18"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 6,
"y": 1,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_19"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BREAKABLE_ROCK_FRLG",
"x": 3,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_RockSmash",
"flag": "FLAG_TEMP_1A"
}
],
"warp_events": [
{
"x": 5,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CAVE_1F",
"dest_warp_id": "2"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,4 +1,4 @@
CeruleanCave_B1F_MapScripts:: CeruleanCave_B1F_Frlg_MapScripts::
map_script MAP_SCRIPT_ON_RESUME, CeruleanCave_B1F_OnResume map_script MAP_SCRIPT_ON_RESUME, CeruleanCave_B1F_OnResume
map_script MAP_SCRIPT_ON_TRANSITION, CeruleanCave_B1F_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, CeruleanCave_B1F_OnTransition
.byte 0 .byte 0

View File

@ -0,0 +1,152 @@
{
"id": "MAP_CERULEAN_CITY_BIKE_SHOP",
"name": "CeruleanCity_BikeShop_Frlg",
"layout": "LAYOUT_CERULEAN_CITY_BIKE_SHOP",
"music": "MUS_RG_FUCHSIA",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CERULEAN_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_MAN",
"x": 9,
"y": 3,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_BikeShop_EventScript_Clerk",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_YOUNGSTER_FRLG",
"x": 9,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_BikeShop_EventScript_Youngster",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WOMAN_2_FRLG",
"x": 5,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_BikeShop_EventScript_Woman",
"flag": "0"
}
],
"warp_events": [
{
"x": 4,
"y": 9,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "5"
},
{
"x": 5,
"y": 8,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "5"
},
{
"x": 6,
"y": 9,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "5"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 4,
"y": 3,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_BikeShop_EventScript_Bicycle"
},
{
"type": "sign",
"x": 4,
"y": 4,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_BikeShop_EventScript_Bicycle"
},
{
"type": "sign",
"x": 4,
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_BikeShop_EventScript_Bicycle"
},
{
"type": "sign",
"x": 2,
"y": 3,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_BikeShop_EventScript_Bicycle"
},
{
"type": "sign",
"x": 1,
"y": 4,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_BikeShop_EventScript_Bicycle"
},
{
"type": "sign",
"x": 2,
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_BikeShop_EventScript_Bicycle"
},
{
"type": "sign",
"x": 2,
"y": 7,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_BikeShop_EventScript_Bicycle"
},
{
"type": "sign",
"x": 2,
"y": 8,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_BikeShop_EventScript_Bicycle"
}
]
}

View File

@ -1,4 +1,4 @@
CeruleanCity_BikeShop_MapScripts:: CeruleanCity_BikeShop_Frlg_MapScripts::
.byte 0 .byte 0
CeruleanCity_BikeShop_EventScript_Clerk:: CeruleanCity_BikeShop_EventScript_Clerk::

View File

@ -0,0 +1,425 @@
{
"id": "MAP_CERULEAN_CITY",
"name": "CeruleanCity_Frlg",
"layout": "LAYOUT_CERULEAN_CITY",
"music": "MUS_RG_FUCHSIA",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CERULEAN_CITY",
"requires_flash": false,
"weather": "WEATHER_SUNNY",
"map_type": "MAP_TYPE_TOWN",
"allow_cycling": true,
"allow_escaping": false,
"allow_running": true,
"show_map_name": true,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [
{
"map": "MAP_ROUTE24",
"offset": 12,
"direction": "up"
},
{
"map": "MAP_ROUTE5",
"offset": 0,
"direction": "down"
},
{
"map": "MAP_ROUTE4",
"offset": 10,
"direction": "left"
},
{
"map": "MAP_ROUTE9",
"offset": 10,
"direction": "right"
}
],
"object_events": [
{
"local_id": "LOCALID_CERULEAN_POLICEMAN",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_POLICEMAN",
"x": 31,
"y": 12,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_EventScript_Policeman",
"flag": "0"
},
{
"local_id": "LOCALID_CERULEAN_GRUNT",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ROCKET_M",
"x": 33,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_EventScript_Grunt",
"flag": "FLAG_HIDE_CERULEAN_ROCKET"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_LITTLE_BOY_FRLG",
"x": 16,
"y": 21,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 1,
"movement_range_y": 3,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_EventScript_LittleBoy",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BALDING_MAN",
"x": 9,
"y": 23,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_EventScript_BaldingMan",
"flag": "0"
},
{
"local_id": "LOCALID_CERULEAN_SLOWBRO",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SLOWBRO",
"x": 32,
"y": 29,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_EventScript_Slowbro",
"flag": "0"
},
{
"local_id": "LOCALID_CERULEAN_LASS",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_LASS_FRLG",
"x": 33,
"y": 29,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_EventScript_Lass",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_YOUNGSTER_FRLG",
"x": 34,
"y": 22,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_EventScript_Youngster",
"flag": "0"
},
{
"local_id": "LOCALID_CERULEAN_RIVAL",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BLUE",
"x": 22,
"y": 0,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_CERULEAN_RIVAL"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE_FRLG",
"x": 26,
"y": 32,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
"flag": "FLAG_TEMP_13"
},
{
"type": "clone",
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE_FRLG",
"x": 50,
"y": 18,
"target_local_id": "LOCALID_ROUTE9_CUT_TREE",
"target_map": "MAP_ROUTE9"
},
{
"local_id": "LOCALID_CERULEAN_WOMAN",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WOMAN_1_FRLG",
"x": 12,
"y": 30,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_EventScript_Woman",
"flag": "0"
},
{
"local_id": "LOCALID_CERULEAN_CAVE_GUARD",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_M",
"x": 1,
"y": 13,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_EventScript_CeruleanCaveGuard",
"flag": "FLAG_HIDE_CERULEAN_CAVE_GUARD"
}
],
"warp_events": [
{
"x": 10,
"y": 11,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY_HOUSE1",
"dest_warp_id": "1"
},
{
"x": 30,
"y": 11,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY_HOUSE2",
"dest_warp_id": "1"
},
{
"x": 15,
"y": 17,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY_HOUSE3",
"dest_warp_id": "1"
},
{
"x": 22,
"y": 19,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY_POKEMON_CENTER_1F",
"dest_warp_id": "1"
},
{
"x": 31,
"y": 21,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY_GYM",
"dest_warp_id": "1"
},
{
"x": 13,
"y": 28,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY_BIKE_SHOP",
"dest_warp_id": "1"
},
{
"x": 29,
"y": 28,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY_MART",
"dest_warp_id": "1"
},
{
"x": 1,
"y": 12,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CAVE_1F",
"dest_warp_id": "0"
},
{
"x": 10,
"y": 8,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY_HOUSE1",
"dest_warp_id": "3"
},
{
"x": 31,
"y": 8,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY_HOUSE2",
"dest_warp_id": "3"
},
{
"x": 31,
"y": 9,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY_HOUSE2",
"dest_warp_id": "3"
},
{
"x": 14,
"y": 28,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY_BIKE_SHOP",
"dest_warp_id": "1"
},
{
"x": 23,
"y": 28,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY_HOUSE4",
"dest_warp_id": "0"
},
{
"x": 17,
"y": 11,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY_HOUSE5",
"dest_warp_id": "0"
}
],
"coord_events": [
{
"type": "trigger",
"x": 22,
"y": 6,
"elevation": 3,
"var": "VAR_MAP_SCENE_CERULEAN_CITY_RIVAL",
"var_value": "0",
"script": "CeruleanCity_EventScript_RivalTriggerLeft"
},
{
"type": "trigger",
"x": 23,
"y": 6,
"elevation": 3,
"var": "VAR_MAP_SCENE_CERULEAN_CITY_RIVAL",
"var_value": "0",
"script": "CeruleanCity_EventScript_RivalTriggerMid"
},
{
"type": "trigger",
"x": 24,
"y": 6,
"elevation": 3,
"var": "VAR_MAP_SCENE_CERULEAN_CITY_RIVAL",
"var_value": "0",
"script": "CeruleanCity_EventScript_RivalTriggerRight"
},
{
"type": "trigger",
"x": 33,
"y": 5,
"elevation": 3,
"var": "VAR_MAP_SCENE_CERULEAN_CITY_ROCKET",
"var_value": "0",
"script": "CeruleanCity_EventScript_GruntTriggerTop"
},
{
"type": "trigger",
"x": 33,
"y": 7,
"elevation": 3,
"var": "VAR_MAP_SCENE_CERULEAN_CITY_ROCKET",
"var_value": "0",
"script": "CeruleanCity_EventScript_GruntTriggerBottom"
}
],
"bg_events": [
{
"type": "sign",
"x": 20,
"y": 25,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_EventScript_CitySign"
},
{
"type": "sign",
"x": 27,
"y": 21,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_EventScript_GymSign"
},
{
"type": "sign",
"x": 11,
"y": 28,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_EventScript_BikeShopSign"
},
{
"type": "sign",
"x": 19,
"y": 32,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_EventScript_TrainerTips"
},
{
"type": "hidden_item",
"x": 18,
"y": 7,
"elevation": 3,
"item": "ITEM_RARE_CANDY",
"flag": "FLAG_HIDDEN_ITEM_CERULEAN_CITY_RARE_CANDY",
"quantity": 1,
"underfoot": false
},
{
"type": "sign",
"x": 11,
"y": 25,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_BikeShop_EventScript_Bicycle"
},
{
"type": "sign",
"x": 11,
"y": 27,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_BikeShop_EventScript_Bicycle"
},
{
"type": "sign",
"x": 11,
"y": 26,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_BikeShop_EventScript_Bicycle"
}
]
}

View File

@ -1,4 +1,4 @@
CeruleanCity_MapScripts:: CeruleanCity_Frlg_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CeruleanCity_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, CeruleanCity_OnTransition
.byte 0 .byte 0

View File

@ -0,0 +1,118 @@
{
"id": "MAP_CERULEAN_CITY_GYM",
"name": "CeruleanCity_Gym_Frlg",
"layout": "LAYOUT_CERULEAN_CITY_GYM",
"music": "MUS_GYM",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CERULEAN_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_GYM",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SWIMMER_M_WATER",
"x": 10,
"y": 12,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "CeruleanCity_Gym_EventScript_Luis",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_PICNICKER_FRLG",
"x": 4,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "CeruleanCity_Gym_EventScript_Diana",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_MISTY",
"x": 8,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_Gym_EventScript_Misty",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_GYM_GUY",
"x": 7,
"y": 16,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_Gym_EventScript_GymGuy",
"flag": "0"
}
],
"warp_events": [
{
"x": 7,
"y": 18,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "4"
},
{
"x": 8,
"y": 18,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "4"
},
{
"x": 9,
"y": 18,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "4"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 6,
"y": 17,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_Gym_EventScript_GymStatue"
},
{
"type": "sign",
"x": 10,
"y": 17,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_Gym_EventScript_GymStatue"
}
]
}

View File

@ -1,4 +1,4 @@
CeruleanCity_Gym_MapScripts:: CeruleanCity_Gym_Frlg_MapScripts::
.byte 0 .byte 0
CeruleanCity_Gym_EventScript_Misty:: CeruleanCity_Gym_EventScript_Misty::

View File

@ -0,0 +1,66 @@
{
"id": "MAP_CERULEAN_CITY_HOUSE1",
"name": "CeruleanCity_House1_Frlg",
"layout": "LAYOUT_CERULEAN_CITY_HOUSE1",
"music": "MUS_RG_FUCHSIA",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CERULEAN_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_GENTLEMAN_FRLG",
"x": 6,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_House1_EventScript_BadgeGuy",
"flag": "0"
}
],
"warp_events": [
{
"x": 2,
"y": 9,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "0"
},
{
"x": 3,
"y": 8,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "0"
},
{
"x": 4,
"y": 9,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "0"
},
{
"x": 3,
"y": 1,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "8"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,4 +1,4 @@
CeruleanCity_House1_MapScripts:: CeruleanCity_House1_Frlg_MapScripts::
.byte 0 .byte 0
CeruleanCity_House1_EventScript_BadgeGuy:: CeruleanCity_House1_EventScript_BadgeGuy::

View File

@ -0,0 +1,89 @@
{
"id": "MAP_CERULEAN_CITY_HOUSE2",
"name": "CeruleanCity_House2_Frlg",
"layout": "LAYOUT_CERULEAN_CITY_HOUSE2",
"music": "MUS_RG_FUCHSIA",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CERULEAN_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_HIKER_FRLG",
"x": 1,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_House2_EventScript_Hiker",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_LASS_FRLG",
"x": 7,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_House2_EventScript_Lass",
"flag": "0"
}
],
"warp_events": [
{
"x": 2,
"y": 7,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "1"
},
{
"x": 3,
"y": 7,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "1"
},
{
"x": 4,
"y": 7,
"elevation": 1,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "1"
},
{
"x": 4,
"y": 1,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "9"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 4,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_House2_EventScript_WallHole"
}
]
}

View File

@ -1,4 +1,4 @@
CeruleanCity_House2_MapScripts:: CeruleanCity_House2_Frlg_MapScripts::
.byte 0 .byte 0
CeruleanCity_House2_EventScript_Hiker:: CeruleanCity_House2_EventScript_Hiker::

View File

@ -0,0 +1,73 @@
{
"id": "MAP_CERULEAN_CITY_HOUSE3",
"name": "CeruleanCity_House3_Frlg",
"layout": "LAYOUT_HOUSE1_FRLG",
"music": "MUS_RG_FUCHSIA",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CERULEAN_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_OLD_MAN_1",
"x": 2,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_House3_EventScript_Dontae",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_OLD_WOMAN_FRLG",
"x": 7,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_House3_EventScript_OldWoman",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 7,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "2"
},
{
"x": 4,
"y": 7,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "2"
},
{
"x": 5,
"y": 7,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "2"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,4 +1,4 @@
CeruleanCity_House3_MapScripts:: CeruleanCity_House3_Frlg_MapScripts::
.byte 0 .byte 0
CeruleanCity_House3_EventScript_OldWoman:: CeruleanCity_House3_EventScript_OldWoman::

View File

@ -0,0 +1,46 @@
{
"id": "MAP_CERULEAN_CITY_HOUSE4",
"name": "CeruleanCity_House4_Frlg",
"layout": "LAYOUT_HOUSE1_FRLG",
"music": "MUS_RG_FUCHSIA",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CERULEAN_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"local_id": "LOCALID_WONDER_NEWS_BERRY_MAN",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_OLD_MAN_1",
"x": 5,
"y": 3,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_House4_EventScript_WonderNewsBerryMan",
"flag": "0"
}
],
"warp_events": [
{
"x": 4,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "12"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,7 +1,7 @@
.set REWARD_TYPE, VAR_0x8004 .set REWARD_TYPE, VAR_0x8004
.set REWARD_ITEM, VAR_0x8008 .set REWARD_ITEM, VAR_0x8008
CeruleanCity_House4_MapScripts:: CeruleanCity_House4_Frlg_MapScripts::
.byte 0 .byte 0
CeruleanCity_House4_EventScript_WonderNewsBerryMan:: CeruleanCity_House4_EventScript_WonderNewsBerryMan::

View File

@ -0,0 +1,54 @@
{
"id": "MAP_CERULEAN_CITY_HOUSE5",
"name": "CeruleanCity_House5_Frlg",
"layout": "LAYOUT_CERULEAN_CITY_HOUSE5",
"music": "MUS_RG_FUCHSIA",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CERULEAN_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_OLD_MAN_2",
"x": 7,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_House5_EventScript_BerryPowderMan",
"flag": "0"
}
],
"warp_events": [
{
"x": 4,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "13"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 3,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CeruleanCity_House5_EventScript_BerryCrushRankings"
}
]
}

View File

@ -1,4 +1,4 @@
CeruleanCity_House5_MapScripts:: CeruleanCity_House5_Frlg_MapScripts::
.byte 0 .byte 0
CeruleanCity_House5_EventScript_BerryPowderMan:: CeruleanCity_House5_EventScript_BerryPowderMan::

View File

@ -0,0 +1,87 @@
{
"id": "MAP_CERULEAN_CITY_MART",
"name": "CeruleanCity_Mart_Frlg",
"layout": "LAYOUT_MART_FRLG",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CERULEAN_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CLERK",
"x": 2,
"y": 3,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_Mart_EventScript_Clerk",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WOMAN_1_FRLG",
"x": 9,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 4,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_Mart_EventScript_Woman",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_YOUNGSTER_FRLG",
"x": 1,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_Mart_EventScript_Youngster",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "6"
},
{
"x": 4,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "6"
},
{
"x": 5,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "6"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,4 +1,4 @@
CeruleanCity_Mart_MapScripts:: CeruleanCity_Mart_Frlg_MapScripts::
.byte 0 .byte 0
CeruleanCity_Mart_EventScript_Youngster:: CeruleanCity_Mart_EventScript_Youngster::

View File

@ -0,0 +1,151 @@
{
"id": "MAP_CERULEAN_CITY_POKEMON_CENTER_1F",
"name": "CeruleanCity_PokemonCenter_1F_Frlg",
"layout": "LAYOUT_POKEMON_CENTER_1F_FRLG",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CERULEAN_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"local_id": "LOCALID_CERULEAN_NURSE",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_NURSE_FRLG",
"x": 7,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_GENTLEMAN_FRLG",
"x": 12,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_PokemonCenter_1F_EventScript_Gentleman",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_ROCKER",
"x": 5,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_PokemonCenter_1F_EventScript_Rocker",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_YOUNGSTER_FRLG",
"x": 4,
"y": 8,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_PokemonCenter_1F_EventScript_Youngster",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_LASS_FRLG",
"x": 3,
"y": 3,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_PokemonCenter_1F_EventScript_Lass",
"flag": "0"
},
{
"type": "object",
"graphics_id": "0",
"x": 2,
"y": 1,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_PokemonCenter_1F_EventScript_PokemonJournalMisty",
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
},
{
"type": "object",
"graphics_id": "0",
"x": 3,
"y": 1,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CeruleanCity_PokemonCenter_1F_EventScript_PokemonJournalMisty",
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
}
],
"warp_events": [
{
"x": 6,
"y": 8,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "3"
},
{
"x": 7,
"y": 8,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "3"
},
{
"x": 8,
"y": 8,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": "3"
},
{
"x": 1,
"y": 6,
"elevation": 4,
"dest_map": "MAP_CERULEAN_CITY_POKEMON_CENTER_2F",
"dest_warp_id": "0"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,4 +1,4 @@
CeruleanCity_PokemonCenter_1F_MapScripts:: CeruleanCity_PokemonCenter_1F_Frlg_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CeruleanCity_PokemonCenter_1F_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, CeruleanCity_PokemonCenter_1F_OnTransition
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
.byte 0 .byte 0
@ -10,7 +10,7 @@ CeruleanCity_PokemonCenter_1F_OnTransition::
CeruleanCity_PokemonCenter_1F_EventScript_Nurse:: CeruleanCity_PokemonCenter_1F_EventScript_Nurse::
lock lock
faceplayer faceplayer
call Common_EventScript_PkmnCenterNurse call EventScript_PkmnCenterNurse_Frlg
release release
end end

View File

@ -0,0 +1,101 @@
{
"id": "MAP_CERULEAN_CITY_POKEMON_CENTER_2F",
"name": "CeruleanCity_PokemonCenter_2F_Frlg",
"layout": "LAYOUT_POKEMON_CENTER_2F_FRLG",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CERULEAN_CITY",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CABLE_CLUB_RECEPTIONIST",
"x": 6,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Common_EventScript_UnionRoomAttendant",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CABLE_CLUB_RECEPTIONIST",
"x": 2,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Common_EventScript_WirelessClubAttendant",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CABLE_CLUB_RECEPTIONIST",
"x": 10,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Common_EventScript_DirectCornerAttendant",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_MG_DELIVERYMAN",
"x": 1,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CableClub_EventScript_MysteryGiftMan_Frlg",
"flag": "FLAG_HIDE_MG_DELIVERYMEN"
}
],
"warp_events": [
{
"x": 1,
"y": 6,
"elevation": 4,
"dest_map": "MAP_CERULEAN_CITY_POKEMON_CENTER_1F",
"dest_warp_id": "3"
},
{
"x": 5,
"y": 1,
"elevation": 0,
"dest_map": "MAP_UNION_ROOM_FRLG",
"dest_warp_id": "0"
},
{
"x": 9,
"y": 1,
"elevation": 0,
"dest_map": "MAP_TRADE_CENTER_FRLG",
"dest_warp_id": "0"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,19 +1,19 @@
CeruleanCity_PokemonCenter_2F_MapScripts:: CeruleanCity_PokemonCenter_2F_Frlg_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, CableClub_OnFrame map_script MAP_SCRIPT_ON_FRAME_TABLE, CableClub_OnFrame_Frlg
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, CableClub_OnWarp map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, CableClub_OnWarp_Frlg
map_script MAP_SCRIPT_ON_LOAD, CableClub_OnLoad map_script MAP_SCRIPT_ON_LOAD, CableClub_OnLoad_Frlg
map_script MAP_SCRIPT_ON_TRANSITION, CableClub_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, CableClub_OnTransition_Frlg
.byte 0 .byte 0
@ The below 3 are unused and leftover from RS @ The below 3 are unused and leftover from RS
CeruleanCity_PokemonCenter_2F_EventScript_Colosseum:: CeruleanCity_PokemonCenter_2F_EventScript_Colosseum::
call CableClub_EventScript_Colosseum call CableClub_EventScript_Colosseum_Frlg
end end
CeruleanCity_PokemonCenter_2F_EventScript_TradeCenter:: CeruleanCity_PokemonCenter_2F_EventScript_TradeCenter::
call CableClub_EventScript_TradeCenter call CableClub_EventScript_TradeCenter_Frlg
end end
CeruleanCity_PokemonCenter_2F_EventScript_RecordCorner:: CeruleanCity_PokemonCenter_2F_EventScript_RecordCorner::
call CableClub_EventScript_RecordCorner call CableClub_EventScript_RecordCorner_Frlg
end end

View File

@ -0,0 +1,171 @@
{
"id": "MAP_CINNABAR_ISLAND",
"name": "CinnabarIsland_Frlg",
"layout": "LAYOUT_CINNABAR_ISLAND",
"music": "MUS_RG_CINNABAR",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CINNABAR_ISLAND",
"requires_flash": false,
"weather": "WEATHER_SUNNY",
"map_type": "MAP_TYPE_TOWN",
"allow_cycling": true,
"allow_escaping": false,
"allow_running": true,
"show_map_name": true,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [
{
"map": "MAP_ROUTE21_SOUTH",
"offset": 0,
"direction": "up"
},
{
"map": "MAP_ROUTE20",
"offset": 0,
"direction": "right"
}
],
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WOMAN_2_FRLG",
"x": 14,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_EventScript_Woman",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_OLD_MAN_1",
"x": 11,
"y": 11,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_EventScript_OldMan",
"flag": "0"
},
{
"local_id": "LOCALID_CINNABAR_BILL",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BILL",
"x": 20,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_CINNABAR_BILL"
},
{
"local_id": "LOCALID_CINNABAR_SEAGALLOP",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SEAGALLOP",
"x": 23,
"y": 7,
"elevation": 1,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_CINNABAR_SEAGALLOP"
}
],
"warp_events": [
{
"x": 8,
"y": 3,
"elevation": 0,
"dest_map": "MAP_POKEMON_MANSION_1F",
"dest_warp_id": "1"
},
{
"x": 20,
"y": 4,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND_GYM",
"dest_warp_id": "1"
},
{
"x": 8,
"y": 9,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE",
"dest_warp_id": "1"
},
{
"x": 14,
"y": 11,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND_POKEMON_CENTER_1F",
"dest_warp_id": "0"
},
{
"x": 19,
"y": 11,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND_MART",
"dest_warp_id": "1"
}
],
"coord_events": [
{
"type": "trigger",
"x": 20,
"y": 5,
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "CinnabarIsland_EventScript_GymDoorLocked"
}
],
"bg_events": [
{
"type": "sign",
"x": 12,
"y": 3,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CinnabarIsland_EventScript_IslandSign"
},
{
"type": "sign",
"x": 9,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CinnabarIsland_EventScript_PokemonLabSign"
},
{
"type": "sign",
"x": 22,
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CinnabarIsland_EventScript_GymSign"
},
{
"type": "sign",
"x": 10,
"y": 9,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CinnabarIsland_EventScript_PokemonLabSign"
}
]
}

View File

@ -1,4 +1,4 @@
CinnabarIsland_MapScripts:: CinnabarIsland_Frlg_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CinnabarIsland_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, CinnabarIsland_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, CinnabarIsland_OnFrame map_script MAP_SCRIPT_ON_FRAME_TABLE, CinnabarIsland_OnFrame
.byte 0 .byte 0

View File

@ -0,0 +1,298 @@
{
"id": "MAP_CINNABAR_ISLAND_GYM",
"name": "CinnabarIsland_Gym_Frlg",
"layout": "LAYOUT_CINNABAR_ISLAND_GYM",
"music": "MUS_GYM",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CINNABAR_ISLAND",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_GYM",
"connections": null,
"object_events": [
{
"local_id": "LOCALID_QUINN",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SUPER_NERD",
"x": 25,
"y": 11,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_Gym_EventScript_Quinn",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SCIENTIST",
"x": 25,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_Gym_EventScript_Erik",
"flag": "0"
},
{
"local_id": "LOCALID_AVERY",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SCIENTIST",
"x": 17,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_Gym_EventScript_Avery",
"flag": "0"
},
{
"local_id": "LOCALID_RAMON",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SUPER_NERD",
"x": 16,
"y": 11,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_Gym_EventScript_Ramon",
"flag": "0"
},
{
"local_id": "LOCALID_DEREK",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SCIENTIST",
"x": 16,
"y": 18,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_Gym_EventScript_Derek",
"flag": "0"
},
{
"local_id": "LOCALID_DUSTY",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SUPER_NERD",
"x": 4,
"y": 19,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_Gym_EventScript_Dusty",
"flag": "0"
},
{
"local_id": "LOCALID_ZAC",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SCIENTIST",
"x": 4,
"y": 11,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_Gym_EventScript_Zac",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BLAINE",
"x": 5,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_Gym_EventScript_Blaine",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_GYM_GUY",
"x": 24,
"y": 20,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_Gym_EventScript_GymGuy",
"flag": "0"
}
],
"warp_events": [
{
"x": 24,
"y": 23,
"elevation": 3,
"dest_map": "MAP_CINNABAR_ISLAND",
"dest_warp_id": "1"
},
{
"x": 25,
"y": 23,
"elevation": 3,
"dest_map": "MAP_CINNABAR_ISLAND",
"dest_warp_id": "1"
},
{
"x": 26,
"y": 23,
"elevation": 3,
"dest_map": "MAP_CINNABAR_ISLAND",
"dest_warp_id": "1"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 23,
"y": 20,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CinnabarIsland_Gym_EventScript_GymStatue"
},
{
"type": "sign",
"x": 27,
"y": 20,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CinnabarIsland_Gym_EventScript_GymStatue"
},
{
"type": "sign",
"x": 22,
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CinnabarIsland_Gym_EventScript_Quz1Left"
},
{
"type": "sign",
"x": 23,
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CinnabarIsland_Gym_EventScript_Quz1Right"
},
{
"type": "sign",
"x": 15,
"y": 2,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CinnabarIsland_Gym_EventScript_Quiz2Left"
},
{
"type": "sign",
"x": 16,
"y": 2,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CinnabarIsland_Gym_EventScript_Quiz2Right"
},
{
"type": "sign",
"x": 13,
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CinnabarIsland_Gym_EventScript_Quiz3Left"
},
{
"type": "sign",
"x": 14,
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CinnabarIsland_Gym_EventScript_Quiz3Right"
},
{
"type": "sign",
"x": 13,
"y": 17,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CinnabarIsland_Gym_EventScript_Quiz4Left"
},
{
"type": "sign",
"x": 14,
"y": 17,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CinnabarIsland_Gym_EventScript_Quiz4Right"
},
{
"type": "sign",
"x": 1,
"y": 18,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CinnabarIsland_Gym_EventScript_Quiz5Left"
},
{
"type": "sign",
"x": 2,
"y": 18,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CinnabarIsland_Gym_EventScript_Quiz5Right"
},
{
"type": "sign",
"x": 1,
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CinnabarIsland_Gym_EventScript_Quiz6Left"
},
{
"type": "sign",
"x": 2,
"y": 10,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CinnabarIsland_Gym_EventScript_Quiz6Right"
},
{
"type": "sign",
"x": 3,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_NORTH",
"script": "CinnabarIsland_Gym_EventScript_BlaineFujiPhoto"
}
]
}

View File

@ -1,4 +1,4 @@
CinnabarIsland_Gym_MapScripts:: CinnabarIsland_Gym_Frlg_MapScripts::
map_script MAP_SCRIPT_ON_LOAD, CinnabarIsland_Gym_OnLoad map_script MAP_SCRIPT_ON_LOAD, CinnabarIsland_Gym_OnLoad
.byte 0 .byte 0

View File

@ -0,0 +1,87 @@
{
"id": "MAP_CINNABAR_ISLAND_MART",
"name": "CinnabarIsland_Mart_Frlg",
"layout": "LAYOUT_MART_FRLG",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CINNABAR_ISLAND",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CLERK",
"x": 2,
"y": 3,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_Mart_EventScript_Clerk",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_WOMAN_2_FRLG",
"x": 6,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_Mart_EventScript_Woman",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SCIENTIST",
"x": 8,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_Mart_EventScript_Scientist",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CINNABAR_ISLAND",
"dest_warp_id": "4"
},
{
"x": 4,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CINNABAR_ISLAND",
"dest_warp_id": "4"
},
{
"x": 5,
"y": 7,
"elevation": 3,
"dest_map": "MAP_CINNABAR_ISLAND",
"dest_warp_id": "4"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,4 +1,4 @@
CinnabarIsland_Mart_MapScripts:: CinnabarIsland_Mart_Frlg_MapScripts::
.byte 0 .byte 0
CinnabarIsland_Mart_EventScript_Woman:: CinnabarIsland_Mart_EventScript_Woman::

View File

@ -0,0 +1,152 @@
{
"id": "MAP_CINNABAR_ISLAND_POKEMON_CENTER_1F",
"name": "CinnabarIsland_PokemonCenter_1F_Frlg",
"layout": "LAYOUT_POKEMON_CENTER_1F_FRLG",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CINNABAR_ISLAND",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"local_id": "LOCALID_CINNABAR_NURSE",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_NURSE_FRLG",
"x": 7,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_PokemonCenter_1F_EventScript_Nurse",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_COOLTRAINER_F",
"x": 2,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_PokemonCenter_1F_EventScript_CooltrainerF",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_GENTLEMAN_FRLG",
"x": 9,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_PokemonCenter_1F_EventScript_Gentleman",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_YOUNGSTER_FRLG",
"x": 14,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_PokemonCenter_1F_EventScript_Youngster",
"flag": "0"
},
{
"type": "object",
"graphics_id": "0",
"x": 2,
"y": 1,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_PokemonCenter_1F_EventScript_PokemonJournalMrFuji",
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
},
{
"type": "object",
"graphics_id": "0",
"x": 3,
"y": 1,
"elevation": 0,
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_PokemonCenter_1F_EventScript_PokemonJournalMrFuji",
"flag": "FLAG_HIDE_POSTGAME_GOSSIPERS"
},
{
"local_id": "LOCALID_CINNABAR_POKEMON_CENTER_BILL",
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BILL",
"x": 11,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_PokemonCenter_1F_EventScript_Bill",
"flag": "FLAG_HIDE_CINNABAR_POKECENTER_BILL"
}
],
"warp_events": [
{
"x": 7,
"y": 8,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND",
"dest_warp_id": "3"
},
{
"x": 6,
"y": 8,
"elevation": 3,
"dest_map": "MAP_CINNABAR_ISLAND",
"dest_warp_id": "3"
},
{
"x": 8,
"y": 8,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND",
"dest_warp_id": "3"
},
{
"x": 1,
"y": 6,
"elevation": 4,
"dest_map": "MAP_CINNABAR_ISLAND_POKEMON_CENTER_2F",
"dest_warp_id": "0"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,4 +1,4 @@
CinnabarIsland_PokemonCenter_1F_MapScripts:: CinnabarIsland_PokemonCenter_1F_Frlg_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CinnabarIsland_PokemonCenter_1F_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, CinnabarIsland_PokemonCenter_1F_OnTransition
map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume map_script MAP_SCRIPT_ON_RESUME, CableClub_OnResume
.byte 0 .byte 0
@ -10,7 +10,7 @@ CinnabarIsland_PokemonCenter_1F_OnTransition::
CinnabarIsland_PokemonCenter_1F_EventScript_Nurse:: CinnabarIsland_PokemonCenter_1F_EventScript_Nurse::
lock lock
faceplayer faceplayer
call Common_EventScript_PkmnCenterNurse call EventScript_PkmnCenterNurse_Frlg
release release
end end

View File

@ -0,0 +1,101 @@
{
"id": "MAP_CINNABAR_ISLAND_POKEMON_CENTER_2F",
"name": "CinnabarIsland_PokemonCenter_2F_Frlg",
"layout": "LAYOUT_POKEMON_CENTER_2F_FRLG",
"music": "MUS_POKE_CENTER",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CINNABAR_ISLAND",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CABLE_CLUB_RECEPTIONIST",
"x": 6,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Common_EventScript_UnionRoomAttendant",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CABLE_CLUB_RECEPTIONIST",
"x": 2,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Common_EventScript_WirelessClubAttendant",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_CABLE_CLUB_RECEPTIONIST",
"x": 10,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Common_EventScript_DirectCornerAttendant",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_MG_DELIVERYMAN",
"x": 1,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CableClub_EventScript_MysteryGiftMan_Frlg",
"flag": "FLAG_HIDE_MG_DELIVERYMEN"
}
],
"warp_events": [
{
"x": 1,
"y": 6,
"elevation": 4,
"dest_map": "MAP_CINNABAR_ISLAND_POKEMON_CENTER_1F",
"dest_warp_id": "3"
},
{
"x": 5,
"y": 1,
"elevation": 0,
"dest_map": "MAP_UNION_ROOM_FRLG",
"dest_warp_id": "0"
},
{
"x": 9,
"y": 1,
"elevation": 0,
"dest_map": "MAP_TRADE_CENTER_FRLG",
"dest_warp_id": "0"
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -1,19 +1,19 @@
CinnabarIsland_PokemonCenter_2F_MapScripts:: CinnabarIsland_PokemonCenter_2F_Frlg_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, CableClub_OnFrame map_script MAP_SCRIPT_ON_FRAME_TABLE, CableClub_OnFrame_Frlg
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, CableClub_OnWarp map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, CableClub_OnWarp_Frlg
map_script MAP_SCRIPT_ON_LOAD, CableClub_OnLoad map_script MAP_SCRIPT_ON_LOAD, CableClub_OnLoad_Frlg
map_script MAP_SCRIPT_ON_TRANSITION, CableClub_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, CableClub_OnTransition_Frlg
.byte 0 .byte 0
@ The below 3 are unused and leftover from RS @ The below 3 are unused and leftover from RS
CinnabarIsland_PokemonCenter_2F_EventScript_Colosseum:: CinnabarIsland_PokemonCenter_2F_EventScript_Colosseum::
call CableClub_EventScript_Colosseum call CableClub_EventScript_Colosseum_Frlg
end end
CinnabarIsland_PokemonCenter_2F_EventScript_TradeCenter:: CinnabarIsland_PokemonCenter_2F_EventScript_TradeCenter::
call CableClub_EventScript_TradeCenter call CableClub_EventScript_TradeCenter_Frlg
end end
CinnabarIsland_PokemonCenter_2F_EventScript_RecordCorner:: CinnabarIsland_PokemonCenter_2F_EventScript_RecordCorner::
call CableClub_EventScript_RecordCorner call CableClub_EventScript_RecordCorner_Frlg
end end

View File

@ -0,0 +1,113 @@
{
"id": "MAP_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE",
"name": "CinnabarIsland_PokemonLab_Entrance_Frlg",
"layout": "LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE",
"music": "MUS_RG_CINNABAR",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CINNABAR_ISLAND",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SCIENTIST",
"x": 2,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_PokemonLab_Entrance_EventScript_Scientist",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 9,
"elevation": 3,
"dest_map": "MAP_CINNABAR_ISLAND",
"dest_warp_id": "2"
},
{
"x": 4,
"y": 9,
"elevation": 3,
"dest_map": "MAP_CINNABAR_ISLAND",
"dest_warp_id": "2"
},
{
"x": 5,
"y": 9,
"elevation": 3,
"dest_map": "MAP_CINNABAR_ISLAND",
"dest_warp_id": "2"
},
{
"x": 13,
"y": 5,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_LOUNGE",
"dest_warp_id": "0"
},
{
"x": 19,
"y": 5,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_RESEARCH_ROOM",
"dest_warp_id": "0"
},
{
"x": 25,
"y": 5,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_EXPERIMENT_ROOM",
"dest_warp_id": "0"
}
],
"coord_events": [],
"bg_events": [
{
"type": "sign",
"x": 4,
"y": 1,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CinnabarIsland_PokemonLab_Entrance_EventScript_DrFujiPhoto"
},
{
"type": "sign",
"x": 12,
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CinnabarIsland_PokemonLab_Entrance_EventScript_MeetingRoomSign"
},
{
"type": "sign",
"x": 18,
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CinnabarIsland_PokemonLab_Entrance_EventScript_RAndDRoomSign"
},
{
"type": "sign",
"x": 24,
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "CinnabarIsland_PokemonLab_Entrance_EventScript_TestingRoomSign"
}
]
}

View File

@ -1,4 +1,4 @@
CinnabarIsland_PokemonLab_Entrance_MapScripts:: CinnabarIsland_PokemonLab_Entrance_Frlg_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, CinnabarIsland_PokemonLab_Entrance_OnTransition map_script MAP_SCRIPT_ON_TRANSITION, CinnabarIsland_PokemonLab_Entrance_OnTransition
.byte 0 .byte 0

View File

@ -0,0 +1,59 @@
{
"id": "MAP_CINNABAR_ISLAND_POKEMON_LAB_EXPERIMENT_ROOM",
"name": "CinnabarIsland_PokemonLab_ExperimentRoom_Frlg",
"layout": "LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_EXPERIMENT_ROOM",
"music": "MUS_RG_CINNABAR",
"region": "REGION_KANTO",
"region_map_section": "MAPSEC_CINNABAR_ISLAND",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_INDOOR",
"allow_cycling": false,
"allow_escaping": false,
"allow_running": false,
"show_map_name": false,
"floor_number": 0,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_BOY",
"x": 11,
"y": 8,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_PokemonLab_ExperimentRoom_EventScript_Garett",
"flag": "0"
},
{
"type": "object",
"graphics_id": "OBJ_EVENT_GFX_SCIENTIST",
"x": 12,
"y": 3,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "CinnabarIsland_PokemonLab_ExperimentRoom_EventScript_FossilScientist",
"flag": "0"
}
],
"warp_events": [
{
"x": 7,
"y": 9,
"elevation": 3,
"dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE",
"dest_warp_id": "5"
}
],
"coord_events": [],
"bg_events": []
}

Some files were not shown because too many files have changed in this diff Show More