Merge branch 'master' of https://github.com/pret/pokecrystal
# Conflicts: # constants/map_constants.asm # constants/wram_constants.asm # data/radio/oaks_pkmn_talk_routes.asm # data/radio/pnp_hidden_places.asm # engine/battle/core.asm # engine/breeding.asm # engine/phone/phone_scripts.asm # engine/radio.asm # maps/BattleTower1F.asm # maps/OlivineLighthouse2F.asm # maps/OlivineLighthouse6F.asm # maps/PokemonFanClub.asm # maps/RadioTower1F.asm # maps/RadioTower2F.asm # maps/Route30BerryHouse.asm # maps/Route34IlexForestGate.asm # maps/Route36NationalParkGate.asm # maps/RuinsOfAlphKabutoChamber.asm # maps/RuinsOfAlphResearchCenter.asm # maps/VermilionPort.asm # maps/VictoryRoad.asm
2
Makefile
@ -238,8 +238,6 @@ gfx/unknown/unknown_egg.2bpp: rgbgfx += -h
|
|||||||
$(if $(tools/gfx),\
|
$(if $(tools/gfx),\
|
||||||
tools/gfx $(tools/gfx) -d1 -o $@ $@)
|
tools/gfx $(tools/gfx) -d1 -o $@ $@)
|
||||||
|
|
||||||
%.tilemap: %.png
|
|
||||||
$(RGBGFX) -t $@ $<
|
|
||||||
%.gbcpal: %.png
|
%.gbcpal: %.png
|
||||||
$(RGBGFX) -p $@ $<
|
$(RGBGFX) -p $@ $<
|
||||||
%.dimensions: %.png
|
%.dimensions: %.png
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
BATTLETOWER_PARTY_LENGTH EQU 3
|
BATTLETOWER_PARTY_LENGTH EQU 3
|
||||||
BATTLETOWER_STREAK_LENGTH EQU 7
|
BATTLETOWER_STREAK_LENGTH EQU 7
|
||||||
|
|
||||||
BATTLETOWER_NUM_UNIQUE_PKMN EQU 21
|
BATTLETOWER_NUM_UNIQUE_MON EQU 21
|
||||||
BATTLETOWER_NUM_UNIQUE_TRAINERS EQU 70
|
BATTLETOWER_NUM_UNIQUE_TRAINERS EQU 70
|
||||||
|
|
||||||
BATTLETOWER_TRAINERDATALENGTH EQU $24
|
BATTLETOWER_TRAINERDATALENGTH EQU $24
|
||||||
|
@ -3,14 +3,14 @@ const_value = const_value + 1
|
|||||||
enum_start 1
|
enum_start 1
|
||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
mapconst: MACRO
|
map_const: MACRO
|
||||||
;\1: map id
|
;\1: map id
|
||||||
;\2: height: in blocks
|
;\2: height: in blocks
|
||||||
;\3: width: in blocks
|
;\3: width: in blocks
|
||||||
GROUP_\1 EQU const_value
|
GROUP_\1 EQU const_value
|
||||||
enum MAP_\1
|
enum MAP_\1
|
||||||
\1_HEIGHT EQU \2
|
\1_WIDTH EQU \2
|
||||||
\1_WIDTH EQU \3
|
\1_HEIGHT EQU \3
|
||||||
ENDM
|
ENDM
|
||||||
|
|
||||||
; map group ids
|
; map group ids
|
||||||
@ -19,471 +19,471 @@ ENDM
|
|||||||
; - MapGroupRoofs (see data/maps/roofs.asm)
|
; - MapGroupRoofs (see data/maps/roofs.asm)
|
||||||
; - OutdoorSprites (see data/maps/outdoor_sprites.asm)
|
; - OutdoorSprites (see data/maps/outdoor_sprites.asm)
|
||||||
; - RoofPals (see gfx/tilesets/roofs.pal)
|
; - RoofPals (see gfx/tilesets/roofs.pal)
|
||||||
; `mapconst` indexes are for the sub-tables of MapGroupPointers (see data/maps/definitions.asm)
|
; `map_const` indexes are for the sub-tables of MapGroupPointers (see data/maps/definitions.asm)
|
||||||
const_def
|
const_def
|
||||||
|
|
||||||
newgroup ; 1
|
newgroup ; 1
|
||||||
|
|
||||||
mapconst OLIVINE_POKECENTER_1F, 4, 5 ; 1
|
map_const OLIVINE_POKECENTER_1F, 5, 4 ; 1
|
||||||
mapconst OLIVINE_GYM, 8, 5 ; 2
|
map_const OLIVINE_GYM, 5, 8 ; 2
|
||||||
mapconst OLIVINE_TIMS_HOUSE, 4, 4 ; 3
|
map_const OLIVINE_TIMS_HOUSE, 4, 4 ; 3
|
||||||
mapconst OLIVINE_HOUSE_BETA, 4, 4 ; 4
|
map_const OLIVINE_HOUSE_BETA, 4, 4 ; 4
|
||||||
mapconst OLIVINE_PUNISHMENT_SPEECH_HOUSE, 4, 4 ; 5
|
map_const OLIVINE_PUNISHMENT_SPEECH_HOUSE, 4, 4 ; 5
|
||||||
mapconst OLIVINE_GOOD_ROD_HOUSE, 4, 4 ; 6
|
map_const OLIVINE_GOOD_ROD_HOUSE, 4, 4 ; 6
|
||||||
mapconst OLIVINE_CAFE, 4, 4 ; 7
|
map_const OLIVINE_CAFE, 4, 4 ; 7
|
||||||
mapconst OLIVINE_MART, 4, 6 ; 8
|
map_const OLIVINE_MART, 6, 4 ; 8
|
||||||
mapconst ROUTE_38_ECRUTEAK_GATE, 4, 5 ; 9
|
map_const ROUTE_38_ECRUTEAK_GATE, 5, 4 ; 9
|
||||||
mapconst ROUTE_39_BARN, 4, 4 ; 10
|
map_const ROUTE_39_BARN, 4, 4 ; 10
|
||||||
mapconst ROUTE_39_FARMHOUSE, 4, 4 ; 11
|
map_const ROUTE_39_FARMHOUSE, 4, 4 ; 11
|
||||||
mapconst ROUTE_38, 9, 20 ; 12
|
map_const ROUTE_38, 20, 9 ; 12
|
||||||
mapconst ROUTE_39, 18, 10 ; 13
|
map_const ROUTE_39, 10, 18 ; 13
|
||||||
mapconst OLIVINE_CITY, 18, 20 ; 14
|
map_const OLIVINE_CITY, 20, 18 ; 14
|
||||||
|
|
||||||
newgroup ; 2
|
newgroup ; 2
|
||||||
|
|
||||||
mapconst MAHOGANY_RED_GYARADOS_SPEECH_HOUSE, 4, 4 ; 1
|
map_const MAHOGANY_RED_GYARADOS_SPEECH_HOUSE, 4, 4 ; 1
|
||||||
mapconst MAHOGANY_GYM, 9, 5 ; 2
|
map_const MAHOGANY_GYM, 5, 9 ; 2
|
||||||
mapconst MAHOGANY_POKECENTER_1F, 4, 5 ; 3
|
map_const MAHOGANY_POKECENTER_1F, 5, 4 ; 3
|
||||||
mapconst ROUTE_42_ECRUTEAK_GATE, 4, 5 ; 4
|
map_const ROUTE_42_ECRUTEAK_GATE, 5, 4 ; 4
|
||||||
mapconst ROUTE_42, 9, 30 ; 5
|
map_const ROUTE_42, 30, 9 ; 5
|
||||||
mapconst ROUTE_44, 9, 30 ; 6
|
map_const ROUTE_44, 30, 9 ; 6
|
||||||
mapconst MAHOGANY_TOWN, 9, 10 ; 7
|
map_const MAHOGANY_TOWN, 10, 9 ; 7
|
||||||
|
|
||||||
newgroup ; 3
|
newgroup ; 3
|
||||||
|
|
||||||
mapconst SPROUT_TOWER_1F, 8, 10 ; 1
|
map_const SPROUT_TOWER_1F, 10, 8 ; 1
|
||||||
mapconst SPROUT_TOWER_2F, 8, 10 ; 2
|
map_const SPROUT_TOWER_2F, 10, 8 ; 2
|
||||||
mapconst SPROUT_TOWER_3F, 8, 10 ; 3
|
map_const SPROUT_TOWER_3F, 10, 8 ; 3
|
||||||
mapconst TIN_TOWER_1F, 9, 10 ; 4
|
map_const TIN_TOWER_1F, 10, 9 ; 4
|
||||||
mapconst TIN_TOWER_2F, 9, 10 ; 5
|
map_const TIN_TOWER_2F, 10, 9 ; 5
|
||||||
mapconst TIN_TOWER_3F, 9, 10 ; 6
|
map_const TIN_TOWER_3F, 10, 9 ; 6
|
||||||
mapconst TIN_TOWER_4F, 9, 10 ; 7
|
map_const TIN_TOWER_4F, 10, 9 ; 7
|
||||||
mapconst TIN_TOWER_5F, 9, 10 ; 8
|
map_const TIN_TOWER_5F, 10, 9 ; 8
|
||||||
mapconst TIN_TOWER_6F, 9, 10 ; 9
|
map_const TIN_TOWER_6F, 10, 9 ; 9
|
||||||
mapconst TIN_TOWER_7F, 9, 10 ; 10
|
map_const TIN_TOWER_7F, 10, 9 ; 10
|
||||||
mapconst TIN_TOWER_8F, 9, 10 ; 11
|
map_const TIN_TOWER_8F, 10, 9 ; 11
|
||||||
mapconst TIN_TOWER_9F, 9, 10 ; 12
|
map_const TIN_TOWER_9F, 10, 9 ; 12
|
||||||
mapconst BURNED_TOWER_1F, 9, 10 ; 13
|
map_const BURNED_TOWER_1F, 10, 9 ; 13
|
||||||
mapconst BURNED_TOWER_B1F, 9, 10 ; 14
|
map_const BURNED_TOWER_B1F, 10, 9 ; 14
|
||||||
mapconst NATIONAL_PARK, 27, 20 ; 15
|
map_const NATIONAL_PARK, 20, 27 ; 15
|
||||||
mapconst NATIONAL_PARK_BUG_CONTEST, 27, 20 ; 16
|
map_const NATIONAL_PARK_BUG_CONTEST, 20, 27 ; 16
|
||||||
mapconst RADIO_TOWER_1F, 4, 9 ; 17
|
map_const RADIO_TOWER_1F, 9, 4 ; 17
|
||||||
mapconst RADIO_TOWER_2F, 4, 9 ; 18
|
map_const RADIO_TOWER_2F, 9, 4 ; 18
|
||||||
mapconst RADIO_TOWER_3F, 4, 9 ; 19
|
map_const RADIO_TOWER_3F, 9, 4 ; 19
|
||||||
mapconst RADIO_TOWER_4F, 4, 9 ; 20
|
map_const RADIO_TOWER_4F, 9, 4 ; 20
|
||||||
mapconst RADIO_TOWER_5F, 4, 9 ; 21
|
map_const RADIO_TOWER_5F, 9, 4 ; 21
|
||||||
mapconst RUINS_OF_ALPH_OUTSIDE, 18, 10 ; 22
|
map_const RUINS_OF_ALPH_OUTSIDE, 10, 18 ; 22
|
||||||
mapconst RUINS_OF_ALPH_HO_OH_CHAMBER, 5, 4 ; 23
|
map_const RUINS_OF_ALPH_HO_OH_CHAMBER, 4, 5 ; 23
|
||||||
mapconst RUINS_OF_ALPH_KABUTO_CHAMBER, 5, 4 ; 24
|
map_const RUINS_OF_ALPH_KABUTO_CHAMBER, 4, 5 ; 24
|
||||||
mapconst RUINS_OF_ALPH_OMANYTE_CHAMBER, 5, 4 ; 25
|
map_const RUINS_OF_ALPH_OMANYTE_CHAMBER, 4, 5 ; 25
|
||||||
mapconst RUINS_OF_ALPH_AERODACTYL_CHAMBER, 5, 4 ; 26
|
map_const RUINS_OF_ALPH_AERODACTYL_CHAMBER, 4, 5 ; 26
|
||||||
mapconst RUINS_OF_ALPH_INNER_CHAMBER, 14, 10 ; 27
|
map_const RUINS_OF_ALPH_INNER_CHAMBER, 10, 14 ; 27
|
||||||
mapconst RUINS_OF_ALPH_RESEARCH_CENTER, 4, 4 ; 28
|
map_const RUINS_OF_ALPH_RESEARCH_CENTER, 4, 4 ; 28
|
||||||
mapconst RUINS_OF_ALPH_HO_OH_ITEM_ROOM, 5, 4 ; 29
|
map_const RUINS_OF_ALPH_HO_OH_ITEM_ROOM, 4, 5 ; 29
|
||||||
mapconst RUINS_OF_ALPH_KABUTO_ITEM_ROOM, 5, 4 ; 30
|
map_const RUINS_OF_ALPH_KABUTO_ITEM_ROOM, 4, 5 ; 30
|
||||||
mapconst RUINS_OF_ALPH_OMANYTE_ITEM_ROOM, 5, 4 ; 31
|
map_const RUINS_OF_ALPH_OMANYTE_ITEM_ROOM, 4, 5 ; 31
|
||||||
mapconst RUINS_OF_ALPH_AERODACTYL_ITEM_ROOM, 5, 4 ; 32
|
map_const RUINS_OF_ALPH_AERODACTYL_ITEM_ROOM, 4, 5 ; 32
|
||||||
mapconst RUINS_OF_ALPH_HO_OH_WORD_ROOM, 12, 10 ; 33
|
map_const RUINS_OF_ALPH_HO_OH_WORD_ROOM, 10, 12 ; 33
|
||||||
mapconst RUINS_OF_ALPH_KABUTO_WORD_ROOM, 7, 10 ; 34
|
map_const RUINS_OF_ALPH_KABUTO_WORD_ROOM, 10, 7 ; 34
|
||||||
mapconst RUINS_OF_ALPH_OMANYTE_WORD_ROOM, 8, 10 ; 35
|
map_const RUINS_OF_ALPH_OMANYTE_WORD_ROOM, 10, 8 ; 35
|
||||||
mapconst RUINS_OF_ALPH_AERODACTYL_WORD_ROOM, 7, 10 ; 36
|
map_const RUINS_OF_ALPH_AERODACTYL_WORD_ROOM, 10, 7 ; 36
|
||||||
mapconst UNION_CAVE_1F, 18, 10 ; 37
|
map_const UNION_CAVE_1F, 10, 18 ; 37
|
||||||
mapconst UNION_CAVE_B1F, 18, 10 ; 38
|
map_const UNION_CAVE_B1F, 10, 18 ; 38
|
||||||
mapconst UNION_CAVE_B2F, 18, 10 ; 39
|
map_const UNION_CAVE_B2F, 10, 18 ; 39
|
||||||
mapconst SLOWPOKE_WELL_B1F, 9, 10 ; 40
|
map_const SLOWPOKE_WELL_B1F, 10, 9 ; 40
|
||||||
mapconst SLOWPOKE_WELL_B2F, 9, 10 ; 41
|
map_const SLOWPOKE_WELL_B2F, 10, 9 ; 41
|
||||||
mapconst OLIVINE_LIGHTHOUSE_1F, 9, 10 ; 42
|
map_const OLIVINE_LIGHTHOUSE_1F, 10, 9 ; 42
|
||||||
mapconst OLIVINE_LIGHTHOUSE_2F, 9, 10 ; 43
|
map_const OLIVINE_LIGHTHOUSE_2F, 10, 9 ; 43
|
||||||
mapconst OLIVINE_LIGHTHOUSE_3F, 9, 10 ; 44
|
map_const OLIVINE_LIGHTHOUSE_3F, 10, 9 ; 44
|
||||||
mapconst OLIVINE_LIGHTHOUSE_4F, 9, 10 ; 45
|
map_const OLIVINE_LIGHTHOUSE_4F, 10, 9 ; 45
|
||||||
mapconst OLIVINE_LIGHTHOUSE_5F, 9, 10 ; 46
|
map_const OLIVINE_LIGHTHOUSE_5F, 10, 9 ; 46
|
||||||
mapconst OLIVINE_LIGHTHOUSE_6F, 9, 10 ; 47
|
map_const OLIVINE_LIGHTHOUSE_6F, 10, 9 ; 47
|
||||||
mapconst MAHOGANY_MART_1F, 4, 4 ; 48
|
map_const MAHOGANY_MART_1F, 4, 4 ; 48
|
||||||
mapconst TEAM_ROCKET_BASE_B1F, 9, 15 ; 49
|
map_const TEAM_ROCKET_BASE_B1F, 15, 9 ; 49
|
||||||
mapconst TEAM_ROCKET_BASE_B2F, 9, 15 ; 50
|
map_const TEAM_ROCKET_BASE_B2F, 15, 9 ; 50
|
||||||
mapconst TEAM_ROCKET_BASE_B3F, 9, 15 ; 51
|
map_const TEAM_ROCKET_BASE_B3F, 15, 9 ; 51
|
||||||
mapconst ILEX_FOREST, 27, 15 ; 52
|
map_const ILEX_FOREST, 15, 27 ; 52
|
||||||
mapconst GOLDENROD_UNDERGROUND, 18, 15 ; 53
|
map_const GOLDENROD_UNDERGROUND, 15, 18 ; 53
|
||||||
mapconst GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES, 18, 15 ; 54
|
map_const GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES, 15, 18 ; 54
|
||||||
mapconst GOLDENROD_DEPT_STORE_B1F, 9, 10 ; 55
|
map_const GOLDENROD_DEPT_STORE_B1F, 10, 9 ; 55
|
||||||
mapconst GOLDENROD_UNDERGROUND_WAREHOUSE, 9, 10 ; 56
|
map_const GOLDENROD_UNDERGROUND_WAREHOUSE, 10, 9 ; 56
|
||||||
mapconst MOUNT_MORTAR_1F_OUTSIDE, 18, 20 ; 57
|
map_const MOUNT_MORTAR_1F_OUTSIDE, 20, 18 ; 57
|
||||||
mapconst MOUNT_MORTAR_1F_INSIDE, 27, 20 ; 58
|
map_const MOUNT_MORTAR_1F_INSIDE, 20, 27 ; 58
|
||||||
mapconst MOUNT_MORTAR_2F_INSIDE, 18, 20 ; 59
|
map_const MOUNT_MORTAR_2F_INSIDE, 20, 18 ; 59
|
||||||
mapconst MOUNT_MORTAR_B1F, 18, 20 ; 60
|
map_const MOUNT_MORTAR_B1F, 20, 18 ; 60
|
||||||
mapconst ICE_PATH_1F, 18, 20 ; 61
|
map_const ICE_PATH_1F, 20, 18 ; 61
|
||||||
mapconst ICE_PATH_B1F, 18, 10 ; 62
|
map_const ICE_PATH_B1F, 10, 18 ; 62
|
||||||
mapconst ICE_PATH_B2F_MAHOGANY_SIDE, 9, 10 ; 63
|
map_const ICE_PATH_B2F_MAHOGANY_SIDE, 10, 9 ; 63
|
||||||
mapconst ICE_PATH_B2F_BLACKTHORN_SIDE, 9, 5 ; 64
|
map_const ICE_PATH_B2F_BLACKTHORN_SIDE, 5, 9 ; 64
|
||||||
mapconst ICE_PATH_B3F, 9, 10 ; 65
|
map_const ICE_PATH_B3F, 10, 9 ; 65
|
||||||
mapconst WHIRL_ISLAND_NW, 9, 5 ; 66
|
map_const WHIRL_ISLAND_NW, 5, 9 ; 66
|
||||||
mapconst WHIRL_ISLAND_NE, 9, 10 ; 67
|
map_const WHIRL_ISLAND_NE, 10, 9 ; 67
|
||||||
mapconst WHIRL_ISLAND_SW, 9, 10 ; 68
|
map_const WHIRL_ISLAND_SW, 10, 9 ; 68
|
||||||
mapconst WHIRL_ISLAND_CAVE, 9, 5 ; 69
|
map_const WHIRL_ISLAND_CAVE, 5, 9 ; 69
|
||||||
mapconst WHIRL_ISLAND_SE, 9, 5 ; 70
|
map_const WHIRL_ISLAND_SE, 5, 9 ; 70
|
||||||
mapconst WHIRL_ISLAND_B1F, 18, 20 ; 71
|
map_const WHIRL_ISLAND_B1F, 20, 18 ; 71
|
||||||
mapconst WHIRL_ISLAND_B2F, 18, 10 ; 72
|
map_const WHIRL_ISLAND_B2F, 10, 18 ; 72
|
||||||
mapconst WHIRL_ISLAND_LUGIA_CHAMBER, 9, 10 ; 73
|
map_const WHIRL_ISLAND_LUGIA_CHAMBER, 10, 9 ; 73
|
||||||
mapconst SILVER_CAVE_ROOM_1, 18, 10 ; 74
|
map_const SILVER_CAVE_ROOM_1, 10, 18 ; 74
|
||||||
mapconst SILVER_CAVE_ROOM_2, 18, 15 ; 75
|
map_const SILVER_CAVE_ROOM_2, 15, 18 ; 75
|
||||||
mapconst SILVER_CAVE_ROOM_3, 18, 10 ; 76
|
map_const SILVER_CAVE_ROOM_3, 10, 18 ; 76
|
||||||
mapconst SILVER_CAVE_ITEM_ROOMS, 9, 10 ; 77
|
map_const SILVER_CAVE_ITEM_ROOMS, 10, 9 ; 77
|
||||||
mapconst DARK_CAVE_VIOLET_ENTRANCE, 18, 20 ; 78
|
map_const DARK_CAVE_VIOLET_ENTRANCE, 20, 18 ; 78
|
||||||
mapconst DARK_CAVE_BLACKTHORN_ENTRANCE, 18, 15 ; 79
|
map_const DARK_CAVE_BLACKTHORN_ENTRANCE, 15, 18 ; 79
|
||||||
mapconst DRAGONS_DEN_1F, 9, 5 ; 80
|
map_const DRAGONS_DEN_1F, 5, 9 ; 80
|
||||||
mapconst DRAGONS_DEN_B1F, 18, 20 ; 81
|
map_const DRAGONS_DEN_B1F, 20, 18 ; 81
|
||||||
mapconst DRAGON_SHRINE, 5, 5 ; 82
|
map_const DRAGON_SHRINE, 5, 5 ; 82
|
||||||
mapconst TOHJO_FALLS, 9, 15 ; 83
|
map_const TOHJO_FALLS, 15, 9 ; 83
|
||||||
mapconst DIGLETTS_CAVE, 18, 10 ; 84
|
map_const DIGLETTS_CAVE, 10, 18 ; 84
|
||||||
mapconst MOUNT_MOON, 9, 15 ; 85
|
map_const MOUNT_MOON, 15, 9 ; 85
|
||||||
mapconst UNDERGROUND_PATH, 14, 3 ; 86
|
map_const UNDERGROUND_PATH, 3, 14 ; 86
|
||||||
mapconst ROCK_TUNNEL_1F, 18, 15 ; 87
|
map_const ROCK_TUNNEL_1F, 15, 18 ; 87
|
||||||
mapconst ROCK_TUNNEL_B1F, 18, 15 ; 88
|
map_const ROCK_TUNNEL_B1F, 15, 18 ; 88
|
||||||
mapconst SAFARI_ZONE_FUCHSIA_GATE_BETA, 4, 5 ; 89
|
map_const SAFARI_ZONE_FUCHSIA_GATE_BETA, 5, 4 ; 89
|
||||||
mapconst SAFARI_ZONE_BETA, 18, 10 ; 90
|
map_const SAFARI_ZONE_BETA, 10, 18 ; 90
|
||||||
mapconst VICTORY_ROAD, 36, 10 ; 91
|
map_const VICTORY_ROAD, 10, 36 ; 91
|
||||||
|
|
||||||
newgroup ; 4
|
newgroup ; 4
|
||||||
|
|
||||||
mapconst ECRUTEAK_TIN_TOWER_ENTRANCE, 9, 10 ; 1
|
map_const ECRUTEAK_TIN_TOWER_ENTRANCE, 10, 9 ; 1
|
||||||
mapconst WISE_TRIOS_ROOM, 4, 4 ; 2
|
map_const WISE_TRIOS_ROOM, 4, 4 ; 2
|
||||||
mapconst ECRUTEAK_POKECENTER_1F, 4, 5 ; 3
|
map_const ECRUTEAK_POKECENTER_1F, 5, 4 ; 3
|
||||||
mapconst ECRUTEAK_LUGIA_SPEECH_HOUSE, 4, 4 ; 4
|
map_const ECRUTEAK_LUGIA_SPEECH_HOUSE, 4, 4 ; 4
|
||||||
mapconst DANCE_THEATRE, 7, 6 ; 5
|
map_const DANCE_THEATRE, 6, 7 ; 5
|
||||||
mapconst ECRUTEAK_MART, 4, 6 ; 6
|
map_const ECRUTEAK_MART, 6, 4 ; 6
|
||||||
mapconst ECRUTEAK_GYM, 9, 5 ; 7
|
map_const ECRUTEAK_GYM, 5, 9 ; 7
|
||||||
mapconst ECRUTEAK_ITEMFINDER_HOUSE, 4, 4 ; 8
|
map_const ECRUTEAK_ITEMFINDER_HOUSE, 4, 4 ; 8
|
||||||
mapconst ECRUTEAK_CITY, 18, 20 ; 9
|
map_const ECRUTEAK_CITY, 20, 18 ; 9
|
||||||
|
|
||||||
newgroup ; 5
|
newgroup ; 5
|
||||||
|
|
||||||
mapconst BLACKTHORN_GYM_1F, 9, 5 ; 1
|
map_const BLACKTHORN_GYM_1F, 5, 9 ; 1
|
||||||
mapconst BLACKTHORN_GYM_2F, 9, 5 ; 2
|
map_const BLACKTHORN_GYM_2F, 5, 9 ; 2
|
||||||
mapconst BLACKTHORN_DRAGON_SPEECH_HOUSE, 4, 4 ; 3
|
map_const BLACKTHORN_DRAGON_SPEECH_HOUSE, 4, 4 ; 3
|
||||||
mapconst BLACKTHORN_EMYS_HOUSE, 4, 4 ; 4
|
map_const BLACKTHORN_EMYS_HOUSE, 4, 4 ; 4
|
||||||
mapconst BLACKTHORN_MART, 4, 6 ; 5
|
map_const BLACKTHORN_MART, 6, 4 ; 5
|
||||||
mapconst BLACKTHORN_POKECENTER_1F, 4, 5 ; 6
|
map_const BLACKTHORN_POKECENTER_1F, 5, 4 ; 6
|
||||||
mapconst MOVE_DELETERS_HOUSE, 4, 4 ; 7
|
map_const MOVE_DELETERS_HOUSE, 4, 4 ; 7
|
||||||
mapconst ROUTE_45, 45, 10 ; 8
|
map_const ROUTE_45, 10, 45 ; 8
|
||||||
mapconst ROUTE_46, 18, 10 ; 9
|
map_const ROUTE_46, 10, 18 ; 9
|
||||||
mapconst BLACKTHORN_CITY, 18, 20 ; 10
|
map_const BLACKTHORN_CITY, 20, 18 ; 10
|
||||||
|
|
||||||
newgroup ; 6
|
newgroup ; 6
|
||||||
|
|
||||||
mapconst CINNABAR_POKECENTER_1F, 4, 5 ; 1
|
map_const CINNABAR_POKECENTER_1F, 5, 4 ; 1
|
||||||
mapconst CINNABAR_POKECENTER_2F_BETA, 4, 8 ; 2
|
map_const CINNABAR_POKECENTER_2F_BETA, 8, 4 ; 2
|
||||||
mapconst ROUTE_19_FUCHSIA_GATE, 4, 5 ; 3
|
map_const ROUTE_19_FUCHSIA_GATE, 5, 4 ; 3
|
||||||
mapconst SEAFOAM_GYM, 4, 5 ; 4
|
map_const SEAFOAM_GYM, 5, 4 ; 4
|
||||||
mapconst ROUTE_19, 18, 10 ; 5
|
map_const ROUTE_19, 10, 18 ; 5
|
||||||
mapconst ROUTE_20, 9, 30 ; 6
|
map_const ROUTE_20, 30, 9 ; 6
|
||||||
mapconst ROUTE_21, 18, 10 ; 7
|
map_const ROUTE_21, 10, 18 ; 7
|
||||||
mapconst CINNABAR_ISLAND, 9, 10 ; 8
|
map_const CINNABAR_ISLAND, 10, 9 ; 8
|
||||||
|
|
||||||
newgroup ; 7
|
newgroup ; 7
|
||||||
|
|
||||||
mapconst CERULEAN_GYM_BADGE_SPEECH_HOUSE, 4, 4 ; 1
|
map_const CERULEAN_GYM_BADGE_SPEECH_HOUSE, 4, 4 ; 1
|
||||||
mapconst CERULEAN_POLICE_STATION, 4, 4 ; 2
|
map_const CERULEAN_POLICE_STATION, 4, 4 ; 2
|
||||||
mapconst CERULEAN_TRADE_SPEECH_HOUSE, 4, 4 ; 3
|
map_const CERULEAN_TRADE_SPEECH_HOUSE, 4, 4 ; 3
|
||||||
mapconst CERULEAN_POKECENTER_1F, 4, 5 ; 4
|
map_const CERULEAN_POKECENTER_1F, 5, 4 ; 4
|
||||||
mapconst CERULEAN_POKECENTER_2F_BETA, 4, 8 ; 5
|
map_const CERULEAN_POKECENTER_2F_BETA, 8, 4 ; 5
|
||||||
mapconst CERULEAN_GYM, 8, 5 ; 6
|
map_const CERULEAN_GYM, 5, 8 ; 6
|
||||||
mapconst CERULEAN_MART, 4, 6 ; 7
|
map_const CERULEAN_MART, 6, 4 ; 7
|
||||||
mapconst ROUTE_10_POKECENTER_1F, 4, 5 ; 8
|
map_const ROUTE_10_POKECENTER_1F, 5, 4 ; 8
|
||||||
mapconst ROUTE_10_POKECENTER_2F_BETA, 4, 8 ; 9
|
map_const ROUTE_10_POKECENTER_2F_BETA, 8, 4 ; 9
|
||||||
mapconst POWER_PLANT, 9, 10 ; 10
|
map_const POWER_PLANT, 10, 9 ; 10
|
||||||
mapconst BILLS_HOUSE, 4, 4 ; 11
|
map_const BILLS_HOUSE, 4, 4 ; 11
|
||||||
mapconst ROUTE_4, 9, 20 ; 12
|
map_const ROUTE_4, 20, 9 ; 12
|
||||||
mapconst ROUTE_9, 9, 30 ; 13
|
map_const ROUTE_9, 30, 9 ; 13
|
||||||
mapconst ROUTE_10_NORTH, 9, 10 ; 14
|
map_const ROUTE_10_NORTH, 10, 9 ; 14
|
||||||
mapconst ROUTE_24, 9, 10 ; 15
|
map_const ROUTE_24, 10, 9 ; 15
|
||||||
mapconst ROUTE_25, 9, 30 ; 16
|
map_const ROUTE_25, 30, 9 ; 16
|
||||||
mapconst CERULEAN_CITY, 18, 20 ; 17
|
map_const CERULEAN_CITY, 20, 18 ; 17
|
||||||
|
|
||||||
newgroup ; 8
|
newgroup ; 8
|
||||||
|
|
||||||
mapconst AZALEA_POKECENTER_1F, 4, 5 ; 1
|
map_const AZALEA_POKECENTER_1F, 5, 4 ; 1
|
||||||
mapconst CHARCOAL_KILN, 4, 4 ; 2
|
map_const CHARCOAL_KILN, 4, 4 ; 2
|
||||||
mapconst AZALEA_MART, 4, 6 ; 3
|
map_const AZALEA_MART, 6, 4 ; 3
|
||||||
mapconst KURTS_HOUSE, 4, 8 ; 4
|
map_const KURTS_HOUSE, 8, 4 ; 4
|
||||||
mapconst AZALEA_GYM, 8, 5 ; 5
|
map_const AZALEA_GYM, 5, 8 ; 5
|
||||||
mapconst ROUTE_33, 9, 10 ; 6
|
map_const ROUTE_33, 10, 9 ; 6
|
||||||
mapconst AZALEA_TOWN, 9, 20 ; 7
|
map_const AZALEA_TOWN, 20, 9 ; 7
|
||||||
|
|
||||||
newgroup ; 9
|
newgroup ; 9
|
||||||
|
|
||||||
mapconst LAKE_OF_RAGE_HIDDEN_POWER_HOUSE, 4, 4 ; 1
|
map_const LAKE_OF_RAGE_HIDDEN_POWER_HOUSE, 4, 4 ; 1
|
||||||
mapconst LAKE_OF_RAGE_MAGIKARP_HOUSE, 4, 4 ; 2
|
map_const LAKE_OF_RAGE_MAGIKARP_HOUSE, 4, 4 ; 2
|
||||||
mapconst ROUTE_43_MAHOGANY_GATE, 4, 5 ; 3
|
map_const ROUTE_43_MAHOGANY_GATE, 5, 4 ; 3
|
||||||
mapconst ROUTE_43_GATE, 4, 5 ; 4
|
map_const ROUTE_43_GATE, 5, 4 ; 4
|
||||||
mapconst ROUTE_43, 27, 10 ; 5
|
map_const ROUTE_43, 10, 27 ; 5
|
||||||
mapconst LAKE_OF_RAGE, 18, 20 ; 6
|
map_const LAKE_OF_RAGE, 20, 18 ; 6
|
||||||
|
|
||||||
newgroup ; 10
|
newgroup ; 10
|
||||||
|
|
||||||
mapconst ROUTE_32, 45, 10 ; 1
|
map_const ROUTE_32, 10, 45 ; 1
|
||||||
mapconst ROUTE_35, 18, 10 ; 2
|
map_const ROUTE_35, 10, 18 ; 2
|
||||||
mapconst ROUTE_36, 9, 30 ; 3
|
map_const ROUTE_36, 30, 9 ; 3
|
||||||
mapconst ROUTE_37, 9, 10 ; 4
|
map_const ROUTE_37, 10, 9 ; 4
|
||||||
mapconst VIOLET_CITY, 18, 20 ; 5
|
map_const VIOLET_CITY, 20, 18 ; 5
|
||||||
mapconst VIOLET_MART, 4, 6 ; 6
|
map_const VIOLET_MART, 6, 4 ; 6
|
||||||
mapconst VIOLET_GYM, 8, 5 ; 7
|
map_const VIOLET_GYM, 5, 8 ; 7
|
||||||
mapconst EARLS_POKEMON_ACADEMY, 8, 4 ; 8
|
map_const EARLS_POKEMON_ACADEMY, 4, 8 ; 8
|
||||||
mapconst VIOLET_NICKNAME_SPEECH_HOUSE, 4, 4 ; 9
|
map_const VIOLET_NICKNAME_SPEECH_HOUSE, 4, 4 ; 9
|
||||||
mapconst VIOLET_POKECENTER_1F, 4, 5 ; 10
|
map_const VIOLET_POKECENTER_1F, 5, 4 ; 10
|
||||||
mapconst VIOLET_KYLES_HOUSE, 4, 4 ; 11
|
map_const VIOLET_KYLES_HOUSE, 4, 4 ; 11
|
||||||
mapconst ROUTE_32_RUINS_OF_ALPH_GATE, 4, 5 ; 12
|
map_const ROUTE_32_RUINS_OF_ALPH_GATE, 5, 4 ; 12
|
||||||
mapconst ROUTE_32_POKECENTER_1F, 4, 5 ; 13
|
map_const ROUTE_32_POKECENTER_1F, 5, 4 ; 13
|
||||||
mapconst ROUTE_35_GOLDENROD_GATE, 4, 5 ; 14
|
map_const ROUTE_35_GOLDENROD_GATE, 5, 4 ; 14
|
||||||
mapconst ROUTE_35_NATIONAL_PARK_GATE, 4, 4 ; 15
|
map_const ROUTE_35_NATIONAL_PARK_GATE, 4, 4 ; 15
|
||||||
mapconst ROUTE_36_RUINS_OF_ALPH_GATE, 4, 5 ; 16
|
map_const ROUTE_36_RUINS_OF_ALPH_GATE, 5, 4 ; 16
|
||||||
mapconst ROUTE_36_NATIONAL_PARK_GATE, 4, 5 ; 17
|
map_const ROUTE_36_NATIONAL_PARK_GATE, 5, 4 ; 17
|
||||||
|
|
||||||
newgroup ; 11
|
newgroup ; 11
|
||||||
|
|
||||||
mapconst ROUTE_34, 27, 10 ; 1
|
map_const ROUTE_34, 10, 27 ; 1
|
||||||
mapconst GOLDENROD_CITY, 18, 20 ; 2
|
map_const GOLDENROD_CITY, 20, 18 ; 2
|
||||||
mapconst GOLDENROD_GYM, 9, 10 ; 3
|
map_const GOLDENROD_GYM, 10, 9 ; 3
|
||||||
mapconst GOLDENROD_BIKE_SHOP, 4, 4 ; 4
|
map_const GOLDENROD_BIKE_SHOP, 4, 4 ; 4
|
||||||
mapconst GOLDENROD_HAPPINESS_RATER, 4, 4 ; 5
|
map_const GOLDENROD_HAPPINESS_RATER, 4, 4 ; 5
|
||||||
mapconst BILLS_FAMILYS_HOUSE, 4, 4 ; 6
|
map_const BILLS_FAMILYS_HOUSE, 4, 4 ; 6
|
||||||
mapconst GOLDENROD_MAGNET_TRAIN_STATION, 9, 10 ; 7
|
map_const GOLDENROD_MAGNET_TRAIN_STATION, 10, 9 ; 7
|
||||||
mapconst GOLDENROD_FLOWER_SHOP, 4, 4 ; 8
|
map_const GOLDENROD_FLOWER_SHOP, 4, 4 ; 8
|
||||||
mapconst GOLDENROD_PP_SPEECH_HOUSE, 4, 4 ; 9
|
map_const GOLDENROD_PP_SPEECH_HOUSE, 4, 4 ; 9
|
||||||
mapconst GOLDENROD_NAME_RATER, 4, 4 ; 10
|
map_const GOLDENROD_NAME_RATER, 4, 4 ; 10
|
||||||
mapconst GOLDENROD_DEPT_STORE_1F, 4, 8 ; 11
|
map_const GOLDENROD_DEPT_STORE_1F, 8, 4 ; 11
|
||||||
mapconst GOLDENROD_DEPT_STORE_2F, 4, 8 ; 12
|
map_const GOLDENROD_DEPT_STORE_2F, 8, 4 ; 12
|
||||||
mapconst GOLDENROD_DEPT_STORE_3F, 4, 8 ; 13
|
map_const GOLDENROD_DEPT_STORE_3F, 8, 4 ; 13
|
||||||
mapconst GOLDENROD_DEPT_STORE_4F, 4, 8 ; 14
|
map_const GOLDENROD_DEPT_STORE_4F, 8, 4 ; 14
|
||||||
mapconst GOLDENROD_DEPT_STORE_5F, 4, 8 ; 15
|
map_const GOLDENROD_DEPT_STORE_5F, 8, 4 ; 15
|
||||||
mapconst GOLDENROD_DEPT_STORE_6F, 4, 8 ; 16
|
map_const GOLDENROD_DEPT_STORE_6F, 8, 4 ; 16
|
||||||
mapconst GOLDENROD_DEPT_STORE_ELEVATOR, 2, 2 ; 17
|
map_const GOLDENROD_DEPT_STORE_ELEVATOR, 2, 2 ; 17
|
||||||
mapconst GOLDENROD_DEPT_STORE_ROOF, 4, 8 ; 18
|
map_const GOLDENROD_DEPT_STORE_ROOF, 8, 4 ; 18
|
||||||
mapconst GOLDENROD_GAME_CORNER, 7, 10 ; 19
|
map_const GOLDENROD_GAME_CORNER, 10, 7 ; 19
|
||||||
mapconst GOLDENROD_POKECENTER_1F, 4, 5 ; 20
|
map_const GOLDENROD_POKECENTER_1F, 5, 4 ; 20
|
||||||
mapconst POKECOM_CENTER_ADMIN_ROOM_MOBILE, 16, 16 ; 21
|
map_const POKECOM_CENTER_ADMIN_ROOM_MOBILE, 16, 16 ; 21
|
||||||
mapconst ILEX_FOREST_AZALEA_GATE, 4, 5 ; 22
|
map_const ILEX_FOREST_AZALEA_GATE, 5, 4 ; 22
|
||||||
mapconst ROUTE_34_ILEX_FOREST_GATE, 4, 5 ; 23
|
map_const ROUTE_34_ILEX_FOREST_GATE, 5, 4 ; 23
|
||||||
mapconst DAY_CARE, 4, 5 ; 24
|
map_const DAY_CARE, 5, 4 ; 24
|
||||||
|
|
||||||
newgroup ; 12
|
newgroup ; 12
|
||||||
|
|
||||||
mapconst ROUTE_6, 9, 10 ; 1
|
map_const ROUTE_6, 10, 9 ; 1
|
||||||
mapconst ROUTE_11, 9, 20 ; 2
|
map_const ROUTE_11, 20, 9 ; 2
|
||||||
mapconst VERMILION_CITY, 18, 20 ; 3
|
map_const VERMILION_CITY, 20, 18 ; 3
|
||||||
mapconst VERMILION_FISHING_SPEECH_HOUSE, 4, 4 ; 4
|
map_const VERMILION_FISHING_SPEECH_HOUSE, 4, 4 ; 4
|
||||||
mapconst VERMILION_POKECENTER_1F, 4, 5 ; 5
|
map_const VERMILION_POKECENTER_1F, 5, 4 ; 5
|
||||||
mapconst VERMILION_POKECENTER_2F_BETA, 4, 8 ; 6
|
map_const VERMILION_POKECENTER_2F_BETA, 8, 4 ; 6
|
||||||
mapconst POKEMON_FAN_CLUB, 4, 5 ; 7
|
map_const POKEMON_FAN_CLUB, 5, 4 ; 7
|
||||||
mapconst VERMILION_MAGNET_TRAIN_SPEECH_HOUSE, 4, 4 ; 8
|
map_const VERMILION_MAGNET_TRAIN_SPEECH_HOUSE, 4, 4 ; 8
|
||||||
mapconst VERMILION_MART, 4, 6 ; 9
|
map_const VERMILION_MART, 6, 4 ; 9
|
||||||
mapconst VERMILION_DIGLETTS_CAVE_SPEECH_HOUSE, 4, 4 ; 10
|
map_const VERMILION_DIGLETTS_CAVE_SPEECH_HOUSE, 4, 4 ; 10
|
||||||
mapconst VERMILION_GYM, 9, 5 ; 11
|
map_const VERMILION_GYM, 5, 9 ; 11
|
||||||
mapconst ROUTE_6_SAFFRON_GATE, 4, 5 ; 12
|
map_const ROUTE_6_SAFFRON_GATE, 5, 4 ; 12
|
||||||
mapconst ROUTE_6_UNDERGROUND_PATH_ENTRANCE, 4, 4 ; 13
|
map_const ROUTE_6_UNDERGROUND_PATH_ENTRANCE, 4, 4 ; 13
|
||||||
|
|
||||||
newgroup ; 13
|
newgroup ; 13
|
||||||
|
|
||||||
mapconst ROUTE_1, 18, 10 ; 1
|
map_const ROUTE_1, 10, 18 ; 1
|
||||||
mapconst PALLET_TOWN, 9, 10 ; 2
|
map_const PALLET_TOWN, 10, 9 ; 2
|
||||||
mapconst REDS_HOUSE_1F, 4, 4 ; 3
|
map_const REDS_HOUSE_1F, 4, 4 ; 3
|
||||||
mapconst REDS_HOUSE_2F, 4, 4 ; 4
|
map_const REDS_HOUSE_2F, 4, 4 ; 4
|
||||||
mapconst BLUES_HOUSE, 4, 4 ; 5
|
map_const BLUES_HOUSE, 4, 4 ; 5
|
||||||
mapconst OAKS_LAB, 6, 5 ; 6
|
map_const OAKS_LAB, 5, 6 ; 6
|
||||||
|
|
||||||
newgroup ; 14
|
newgroup ; 14
|
||||||
|
|
||||||
mapconst ROUTE_3, 9, 30 ; 1
|
map_const ROUTE_3, 30, 9 ; 1
|
||||||
mapconst PEWTER_CITY, 18, 20 ; 2
|
map_const PEWTER_CITY, 20, 18 ; 2
|
||||||
mapconst PEWTER_NIDORAN_SPEECH_HOUSE, 4, 4 ; 3
|
map_const PEWTER_NIDORAN_SPEECH_HOUSE, 4, 4 ; 3
|
||||||
mapconst PEWTER_GYM, 7, 5 ; 4
|
map_const PEWTER_GYM, 5, 7 ; 4
|
||||||
mapconst PEWTER_MART, 4, 6 ; 5
|
map_const PEWTER_MART, 6, 4 ; 5
|
||||||
mapconst PEWTER_POKECENTER_1F, 4, 5 ; 6
|
map_const PEWTER_POKECENTER_1F, 5, 4 ; 6
|
||||||
mapconst PEWTER_POKECENTER_2F_BETA, 4, 8 ; 7
|
map_const PEWTER_POKECENTER_2F_BETA, 8, 4 ; 7
|
||||||
mapconst PEWTER_SNOOZE_SPEECH_HOUSE, 4, 4 ; 8
|
map_const PEWTER_SNOOZE_SPEECH_HOUSE, 4, 4 ; 8
|
||||||
|
|
||||||
newgroup ; 15
|
newgroup ; 15
|
||||||
|
|
||||||
mapconst OLIVINE_PORT, 18, 10 ; 1
|
map_const OLIVINE_PORT, 10, 18 ; 1
|
||||||
mapconst VERMILION_PORT, 18, 10 ; 2
|
map_const VERMILION_PORT, 10, 18 ; 2
|
||||||
mapconst FAST_SHIP_1F, 9, 16 ; 3
|
map_const FAST_SHIP_1F, 16, 9 ; 3
|
||||||
mapconst FAST_SHIP_CABINS_NNW_NNE_NE, 16, 4 ; 4
|
map_const FAST_SHIP_CABINS_NNW_NNE_NE, 4, 16 ; 4
|
||||||
mapconst FAST_SHIP_CABINS_SW_SSW_NW, 16, 4 ; 5
|
map_const FAST_SHIP_CABINS_SW_SSW_NW, 4, 16 ; 5
|
||||||
mapconst FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN, 17, 5 ; 6
|
map_const FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN, 5, 17 ; 6
|
||||||
mapconst FAST_SHIP_B1F, 8, 16 ; 7
|
map_const FAST_SHIP_B1F, 16, 8 ; 7
|
||||||
mapconst OLIVINE_PORT_PASSAGE, 9, 10 ; 8
|
map_const OLIVINE_PORT_PASSAGE, 10, 9 ; 8
|
||||||
mapconst VERMILION_PORT_PASSAGE, 9, 10 ; 9
|
map_const VERMILION_PORT_PASSAGE, 10, 9 ; 9
|
||||||
mapconst MOUNT_MOON_SQUARE, 9, 15 ; 10
|
map_const MOUNT_MOON_SQUARE, 15, 9 ; 10
|
||||||
mapconst MOUNT_MOON_GIFT_SHOP, 4, 4 ; 11
|
map_const MOUNT_MOON_GIFT_SHOP, 4, 4 ; 11
|
||||||
mapconst TIN_TOWER_ROOF, 9, 10 ; 12
|
map_const TIN_TOWER_ROOF, 10, 9 ; 12
|
||||||
|
|
||||||
newgroup ; 16
|
newgroup ; 16
|
||||||
|
|
||||||
mapconst ROUTE_23, 9, 10 ; 1
|
map_const ROUTE_23, 10, 9 ; 1
|
||||||
mapconst INDIGO_PLATEAU_POKECENTER_1F, 7, 9 ; 2
|
map_const INDIGO_PLATEAU_POKECENTER_1F, 9, 7 ; 2
|
||||||
mapconst WILLS_ROOM, 9, 5 ; 3
|
map_const WILLS_ROOM, 5, 9 ; 3
|
||||||
mapconst KOGAS_ROOM, 9, 5 ; 4
|
map_const KOGAS_ROOM, 5, 9 ; 4
|
||||||
mapconst BRUNOS_ROOM, 9, 5 ; 5
|
map_const BRUNOS_ROOM, 5, 9 ; 5
|
||||||
mapconst KARENS_ROOM, 9, 5 ; 6
|
map_const KARENS_ROOM, 5, 9 ; 6
|
||||||
mapconst LANCES_ROOM, 12, 5 ; 7
|
map_const LANCES_ROOM, 5, 12 ; 7
|
||||||
mapconst HALL_OF_FAME, 7, 5 ; 8
|
map_const HALL_OF_FAME, 5, 7 ; 8
|
||||||
|
|
||||||
newgroup ; 17
|
newgroup ; 17
|
||||||
|
|
||||||
mapconst ROUTE_13, 9, 30 ; 1
|
map_const ROUTE_13, 30, 9 ; 1
|
||||||
mapconst ROUTE_14, 18, 10 ; 2
|
map_const ROUTE_14, 10, 18 ; 2
|
||||||
mapconst ROUTE_15, 9, 20 ; 3
|
map_const ROUTE_15, 20, 9 ; 3
|
||||||
mapconst ROUTE_18, 9, 10 ; 4
|
map_const ROUTE_18, 10, 9 ; 4
|
||||||
mapconst FUCHSIA_CITY, 18, 20 ; 5
|
map_const FUCHSIA_CITY, 20, 18 ; 5
|
||||||
mapconst FUCHSIA_MART, 4, 6 ; 6
|
map_const FUCHSIA_MART, 6, 4 ; 6
|
||||||
mapconst SAFARI_ZONE_MAIN_OFFICE, 4, 4 ; 7
|
map_const SAFARI_ZONE_MAIN_OFFICE, 4, 4 ; 7
|
||||||
mapconst FUCHSIA_GYM, 9, 5 ; 8
|
map_const FUCHSIA_GYM, 5, 9 ; 8
|
||||||
mapconst BILLS_BROTHERS_HOUSE, 4, 4 ; 9
|
map_const BILLS_BROTHERS_HOUSE, 4, 4 ; 9
|
||||||
mapconst FUCHSIA_POKECENTER_1F, 4, 5 ; 10
|
map_const FUCHSIA_POKECENTER_1F, 5, 4 ; 10
|
||||||
mapconst FUCHSIA_POKECENTER_2F_BETA, 4, 8 ; 11
|
map_const FUCHSIA_POKECENTER_2F_BETA, 8, 4 ; 11
|
||||||
mapconst SAFARI_ZONE_WARDENS_HOME, 4, 5 ; 12
|
map_const SAFARI_ZONE_WARDENS_HOME, 5, 4 ; 12
|
||||||
mapconst ROUTE_15_FUCHSIA_GATE, 4, 5 ; 13
|
map_const ROUTE_15_FUCHSIA_GATE, 5, 4 ; 13
|
||||||
|
|
||||||
newgroup ; 18
|
newgroup ; 18
|
||||||
|
|
||||||
mapconst ROUTE_8, 9, 20 ; 1
|
map_const ROUTE_8, 20, 9 ; 1
|
||||||
mapconst ROUTE_12, 27, 10 ; 2
|
map_const ROUTE_12, 10, 27 ; 2
|
||||||
mapconst ROUTE_10_SOUTH, 9, 10 ; 3
|
map_const ROUTE_10_SOUTH, 10, 9 ; 3
|
||||||
mapconst LAVENDER_TOWN, 9, 10 ; 4
|
map_const LAVENDER_TOWN, 10, 9 ; 4
|
||||||
mapconst LAVENDER_POKECENTER_1F, 4, 5 ; 5
|
map_const LAVENDER_POKECENTER_1F, 5, 4 ; 5
|
||||||
mapconst LAVENDER_POKECENTER_2F_BETA, 4, 8 ; 6
|
map_const LAVENDER_POKECENTER_2F_BETA, 8, 4 ; 6
|
||||||
mapconst MR_FUJIS_HOUSE, 4, 5 ; 7
|
map_const MR_FUJIS_HOUSE, 5, 4 ; 7
|
||||||
mapconst LAVENDER_SPEECH_HOUSE, 4, 4 ; 8
|
map_const LAVENDER_SPEECH_HOUSE, 4, 4 ; 8
|
||||||
mapconst LAVENDER_NAME_RATER, 4, 4 ; 9
|
map_const LAVENDER_NAME_RATER, 4, 4 ; 9
|
||||||
mapconst LAVENDER_MART, 4, 6 ; 10
|
map_const LAVENDER_MART, 6, 4 ; 10
|
||||||
mapconst SOUL_HOUSE, 4, 5 ; 11
|
map_const SOUL_HOUSE, 5, 4 ; 11
|
||||||
mapconst LAV_RADIO_TOWER_1F, 4, 10 ; 12
|
map_const LAV_RADIO_TOWER_1F, 10, 4 ; 12
|
||||||
mapconst ROUTE_8_SAFFRON_GATE, 4, 5 ; 13
|
map_const ROUTE_8_SAFFRON_GATE, 5, 4 ; 13
|
||||||
mapconst ROUTE_12_SUPER_ROD_HOUSE, 4, 4 ; 14
|
map_const ROUTE_12_SUPER_ROD_HOUSE, 4, 4 ; 14
|
||||||
|
|
||||||
newgroup ; 19
|
newgroup ; 19
|
||||||
|
|
||||||
mapconst ROUTE_28, 9, 20 ; 1
|
map_const ROUTE_28, 20, 9 ; 1
|
||||||
mapconst SILVER_CAVE_OUTSIDE, 18, 20 ; 2
|
map_const SILVER_CAVE_OUTSIDE, 20, 18 ; 2
|
||||||
mapconst SILVER_CAVE_POKECENTER_1F, 4, 5 ; 3
|
map_const SILVER_CAVE_POKECENTER_1F, 5, 4 ; 3
|
||||||
mapconst ROUTE_28_STEEL_WING_HOUSE, 4, 4 ; 4
|
map_const ROUTE_28_STEEL_WING_HOUSE, 4, 4 ; 4
|
||||||
|
|
||||||
newgroup ; 20
|
newgroup ; 20
|
||||||
|
|
||||||
mapconst POKECENTER_2F, 4, 8 ; 1
|
map_const POKECENTER_2F, 8, 4 ; 1
|
||||||
mapconst TRADE_CENTER, 4, 5 ; 2
|
map_const TRADE_CENTER, 5, 4 ; 2
|
||||||
mapconst COLOSSEUM, 4, 5 ; 3
|
map_const COLOSSEUM, 5, 4 ; 3
|
||||||
mapconst TIME_CAPSULE, 4, 5 ; 4
|
map_const TIME_CAPSULE, 5, 4 ; 4
|
||||||
mapconst MOBILE_TRADE_ROOM, 4, 5 ; 5
|
map_const MOBILE_TRADE_ROOM, 5, 4 ; 5
|
||||||
mapconst MOBILE_BATTLE_ROOM, 4, 5 ; 6
|
map_const MOBILE_BATTLE_ROOM, 5, 4 ; 6
|
||||||
|
|
||||||
newgroup ; 21
|
newgroup ; 21
|
||||||
|
|
||||||
mapconst ROUTE_7, 9, 10 ; 1
|
map_const ROUTE_7, 10, 9 ; 1
|
||||||
mapconst ROUTE_16, 9, 10 ; 2
|
map_const ROUTE_16, 10, 9 ; 2
|
||||||
mapconst ROUTE_17, 45, 10 ; 3
|
map_const ROUTE_17, 10, 45 ; 3
|
||||||
mapconst CELADON_CITY, 18, 20 ; 4
|
map_const CELADON_CITY, 20, 18 ; 4
|
||||||
mapconst CELADON_DEPT_STORE_1F, 4, 8 ; 5
|
map_const CELADON_DEPT_STORE_1F, 8, 4 ; 5
|
||||||
mapconst CELADON_DEPT_STORE_2F, 4, 8 ; 6
|
map_const CELADON_DEPT_STORE_2F, 8, 4 ; 6
|
||||||
mapconst CELADON_DEPT_STORE_3F, 4, 8 ; 7
|
map_const CELADON_DEPT_STORE_3F, 8, 4 ; 7
|
||||||
mapconst CELADON_DEPT_STORE_4F, 4, 8 ; 8
|
map_const CELADON_DEPT_STORE_4F, 8, 4 ; 8
|
||||||
mapconst CELADON_DEPT_STORE_5F, 4, 8 ; 9
|
map_const CELADON_DEPT_STORE_5F, 8, 4 ; 9
|
||||||
mapconst CELADON_DEPT_STORE_6F, 4, 8 ; 10
|
map_const CELADON_DEPT_STORE_6F, 8, 4 ; 10
|
||||||
mapconst CELADON_DEPT_STORE_ELEVATOR, 2, 2 ; 11
|
map_const CELADON_DEPT_STORE_ELEVATOR, 2, 2 ; 11
|
||||||
mapconst CELADON_MANSION_1F, 5, 4 ; 12
|
map_const CELADON_MANSION_1F, 4, 5 ; 12
|
||||||
mapconst CELADON_MANSION_2F, 5, 4 ; 13
|
map_const CELADON_MANSION_2F, 4, 5 ; 13
|
||||||
mapconst CELADON_MANSION_3F, 5, 4 ; 14
|
map_const CELADON_MANSION_3F, 4, 5 ; 14
|
||||||
mapconst CELADON_MANSION_ROOF, 5, 4 ; 15
|
map_const CELADON_MANSION_ROOF, 4, 5 ; 15
|
||||||
mapconst CELADON_MANSION_ROOF_HOUSE, 4, 4 ; 16
|
map_const CELADON_MANSION_ROOF_HOUSE, 4, 4 ; 16
|
||||||
mapconst CELADON_POKECENTER_1F, 4, 5 ; 17
|
map_const CELADON_POKECENTER_1F, 5, 4 ; 17
|
||||||
mapconst CELADON_POKECENTER_2F_BETA, 4, 8 ; 18
|
map_const CELADON_POKECENTER_2F_BETA, 8, 4 ; 18
|
||||||
mapconst CELADON_GAME_CORNER, 7, 10 ; 19
|
map_const CELADON_GAME_CORNER, 10, 7 ; 19
|
||||||
mapconst CELADON_GAME_CORNER_PRIZE_ROOM, 3, 3 ; 20
|
map_const CELADON_GAME_CORNER_PRIZE_ROOM, 3, 3 ; 20
|
||||||
mapconst CELADON_GYM, 9, 5 ; 21
|
map_const CELADON_GYM, 5, 9 ; 21
|
||||||
mapconst CELADON_CAFE, 4, 6 ; 22
|
map_const CELADON_CAFE, 6, 4 ; 22
|
||||||
mapconst ROUTE_16_FUCHSIA_SPEECH_HOUSE, 4, 4 ; 23
|
map_const ROUTE_16_FUCHSIA_SPEECH_HOUSE, 4, 4 ; 23
|
||||||
mapconst ROUTE_16_GATE, 4, 5 ; 24
|
map_const ROUTE_16_GATE, 5, 4 ; 24
|
||||||
mapconst ROUTE_7_SAFFRON_GATE, 4, 5 ; 25
|
map_const ROUTE_7_SAFFRON_GATE, 5, 4 ; 25
|
||||||
mapconst ROUTE_17_ROUTE_18_GATE, 4, 5 ; 26
|
map_const ROUTE_17_ROUTE_18_GATE, 5, 4 ; 26
|
||||||
|
|
||||||
newgroup ; 22
|
newgroup ; 22
|
||||||
|
|
||||||
mapconst ROUTE_40, 18, 10 ; 1
|
map_const ROUTE_40, 10, 18 ; 1
|
||||||
mapconst ROUTE_41, 27, 25 ; 2
|
map_const ROUTE_41, 25, 27 ; 2
|
||||||
mapconst CIANWOOD_CITY, 27, 15 ; 3
|
map_const CIANWOOD_CITY, 15, 27 ; 3
|
||||||
mapconst MANIAS_HOUSE, 4, 4 ; 4
|
map_const MANIAS_HOUSE, 4, 4 ; 4
|
||||||
mapconst CIANWOOD_GYM, 9, 5 ; 5
|
map_const CIANWOOD_GYM, 5, 9 ; 5
|
||||||
mapconst CIANWOOD_POKECENTER_1F, 4, 5 ; 6
|
map_const CIANWOOD_POKECENTER_1F, 5, 4 ; 6
|
||||||
mapconst CIANWOOD_PHARMACY, 4, 4 ; 7
|
map_const CIANWOOD_PHARMACY, 4, 4 ; 7
|
||||||
mapconst CIANWOOD_PHOTO_STUDIO, 4, 4 ; 8
|
map_const CIANWOOD_PHOTO_STUDIO, 4, 4 ; 8
|
||||||
mapconst CIANWOOD_LUGIA_SPEECH_HOUSE, 4, 4 ; 9
|
map_const CIANWOOD_LUGIA_SPEECH_HOUSE, 4, 4 ; 9
|
||||||
mapconst POKE_SEERS_HOUSE, 4, 4 ; 10
|
map_const POKE_SEERS_HOUSE, 4, 4 ; 10
|
||||||
mapconst BATTLE_TOWER_1F, 5, 8 ; 11
|
map_const BATTLE_TOWER_1F, 8, 5 ; 11
|
||||||
mapconst BATTLE_TOWER_BATTLE_ROOM, 4, 4 ; 12
|
map_const BATTLE_TOWER_BATTLE_ROOM, 4, 4 ; 12
|
||||||
mapconst BATTLE_TOWER_ELEVATOR, 2, 2 ; 13
|
map_const BATTLE_TOWER_ELEVATOR, 2, 2 ; 13
|
||||||
mapconst BATTLE_TOWER_HALLWAY, 2, 11 ; 14
|
map_const BATTLE_TOWER_HALLWAY, 11, 2 ; 14
|
||||||
mapconst ROUTE_40_BATTLE_TOWER_GATE, 4, 5 ; 15
|
map_const ROUTE_40_BATTLE_TOWER_GATE, 5, 4 ; 15
|
||||||
mapconst BATTLE_TOWER_OUTSIDE, 14, 10 ; 16
|
map_const BATTLE_TOWER_OUTSIDE, 10, 14 ; 16
|
||||||
|
|
||||||
newgroup ; 23
|
newgroup ; 23
|
||||||
|
|
||||||
mapconst ROUTE_2, 27, 10 ; 1
|
map_const ROUTE_2, 10, 27 ; 1
|
||||||
mapconst ROUTE_22, 9, 20 ; 2
|
map_const ROUTE_22, 20, 9 ; 2
|
||||||
mapconst VIRIDIAN_CITY, 18, 20 ; 3
|
map_const VIRIDIAN_CITY, 20, 18 ; 3
|
||||||
mapconst VIRIDIAN_GYM, 9, 5 ; 4
|
map_const VIRIDIAN_GYM, 5, 9 ; 4
|
||||||
mapconst VIRIDIAN_NICKNAME_SPEECH_HOUSE, 4, 4 ; 5
|
map_const VIRIDIAN_NICKNAME_SPEECH_HOUSE, 4, 4 ; 5
|
||||||
mapconst TRAINER_HOUSE_1F, 7, 5 ; 6
|
map_const TRAINER_HOUSE_1F, 5, 7 ; 6
|
||||||
mapconst TRAINER_HOUSE_B1F, 8, 5 ; 7
|
map_const TRAINER_HOUSE_B1F, 5, 8 ; 7
|
||||||
mapconst VIRIDIAN_MART, 4, 6 ; 8
|
map_const VIRIDIAN_MART, 6, 4 ; 8
|
||||||
mapconst VIRIDIAN_POKECENTER_1F, 4, 5 ; 9
|
map_const VIRIDIAN_POKECENTER_1F, 5, 4 ; 9
|
||||||
mapconst VIRIDIAN_POKECENTER_2F_BETA, 4, 8 ; 10
|
map_const VIRIDIAN_POKECENTER_2F_BETA, 8, 4 ; 10
|
||||||
mapconst ROUTE_2_NUGGET_HOUSE, 4, 4 ; 11
|
map_const ROUTE_2_NUGGET_HOUSE, 4, 4 ; 11
|
||||||
mapconst ROUTE_2_GATE, 4, 5 ; 12
|
map_const ROUTE_2_GATE, 5, 4 ; 12
|
||||||
mapconst VICTORY_ROAD_GATE, 9, 10 ; 13
|
map_const VICTORY_ROAD_GATE, 10, 9 ; 13
|
||||||
|
|
||||||
newgroup ; 24
|
newgroup ; 24
|
||||||
|
|
||||||
mapconst ROUTE_26, 54, 10 ; 1
|
map_const ROUTE_26, 10, 54 ; 1
|
||||||
mapconst ROUTE_27, 9, 40 ; 2
|
map_const ROUTE_27, 40, 9 ; 2
|
||||||
mapconst ROUTE_29, 9, 30 ; 3
|
map_const ROUTE_29, 30, 9 ; 3
|
||||||
mapconst NEW_BARK_TOWN, 9, 10 ; 4
|
map_const NEW_BARK_TOWN, 10, 9 ; 4
|
||||||
mapconst ELMS_LAB, 6, 5 ; 5
|
map_const ELMS_LAB, 5, 6 ; 5
|
||||||
mapconst PLAYERS_HOUSE_1F, 4, 5 ; 6
|
map_const PLAYERS_HOUSE_1F, 5, 4 ; 6
|
||||||
mapconst PLAYERS_HOUSE_2F, 3, 4 ; 7
|
map_const PLAYERS_HOUSE_2F, 4, 3 ; 7
|
||||||
mapconst PLAYERS_NEIGHBORS_HOUSE, 4, 4 ; 8
|
map_const PLAYERS_NEIGHBORS_HOUSE, 4, 4 ; 8
|
||||||
mapconst ELMS_HOUSE, 4, 4 ; 9
|
map_const ELMS_HOUSE, 4, 4 ; 9
|
||||||
mapconst ROUTE_26_HEAL_HOUSE, 4, 4 ; 10
|
map_const ROUTE_26_HEAL_HOUSE, 4, 4 ; 10
|
||||||
mapconst DAY_OF_WEEK_SIBLINGS_HOUSE, 4, 4 ; 11
|
map_const DAY_OF_WEEK_SIBLINGS_HOUSE, 4, 4 ; 11
|
||||||
mapconst ROUTE_27_SANDSTORM_HOUSE, 4, 4 ; 12
|
map_const ROUTE_27_SANDSTORM_HOUSE, 4, 4 ; 12
|
||||||
mapconst ROUTE_29_ROUTE_46_GATE, 4, 5 ; 13
|
map_const ROUTE_29_ROUTE_46_GATE, 5, 4 ; 13
|
||||||
|
|
||||||
newgroup ; 25
|
newgroup ; 25
|
||||||
|
|
||||||
mapconst ROUTE_5, 9, 10 ; 1
|
map_const ROUTE_5, 10, 9 ; 1
|
||||||
mapconst SAFFRON_CITY, 18, 20 ; 2
|
map_const SAFFRON_CITY, 20, 18 ; 2
|
||||||
mapconst FIGHTING_DOJO, 6, 5 ; 3
|
map_const FIGHTING_DOJO, 5, 6 ; 3
|
||||||
mapconst SAFFRON_GYM, 9, 10 ; 4
|
map_const SAFFRON_GYM, 10, 9 ; 4
|
||||||
mapconst SAFFRON_MART, 4, 6 ; 5
|
map_const SAFFRON_MART, 6, 4 ; 5
|
||||||
mapconst SAFFRON_POKECENTER_1F, 4, 5 ; 6
|
map_const SAFFRON_POKECENTER_1F, 5, 4 ; 6
|
||||||
mapconst SAFFRON_POKECENTER_2F_BETA, 4, 8 ; 7
|
map_const SAFFRON_POKECENTER_2F_BETA, 8, 4 ; 7
|
||||||
mapconst MR_PSYCHICS_HOUSE, 4, 4 ; 8
|
map_const MR_PSYCHICS_HOUSE, 4, 4 ; 8
|
||||||
mapconst SAFFRON_MAGNET_TRAIN_STATION, 9, 10 ; 9
|
map_const SAFFRON_MAGNET_TRAIN_STATION, 10, 9 ; 9
|
||||||
mapconst SILPH_CO_1F, 4, 8 ; 10
|
map_const SILPH_CO_1F, 8, 4 ; 10
|
||||||
mapconst COPYCATS_HOUSE_1F, 4, 4 ; 11
|
map_const COPYCATS_HOUSE_1F, 4, 4 ; 11
|
||||||
mapconst COPYCATS_HOUSE_2F, 3, 5 ; 12
|
map_const COPYCATS_HOUSE_2F, 5, 3 ; 12
|
||||||
mapconst ROUTE_5_UNDERGROUND_PATH_ENTRANCE, 4, 4 ; 13
|
map_const ROUTE_5_UNDERGROUND_PATH_ENTRANCE, 4, 4 ; 13
|
||||||
mapconst ROUTE_5_SAFFRON_GATE, 4, 5 ; 14
|
map_const ROUTE_5_SAFFRON_GATE, 5, 4 ; 14
|
||||||
mapconst ROUTE_5_CLEANSE_TAG_HOUSE, 4, 4 ; 15
|
map_const ROUTE_5_CLEANSE_TAG_HOUSE, 4, 4 ; 15
|
||||||
|
|
||||||
newgroup ; 26
|
newgroup ; 26
|
||||||
|
|
||||||
mapconst ROUTE_30, 27, 10 ; 1
|
map_const ROUTE_30, 10, 27 ; 1
|
||||||
mapconst ROUTE_31, 9, 20 ; 2
|
map_const ROUTE_31, 20, 9 ; 2
|
||||||
mapconst CHERRYGROVE_CITY, 9, 20 ; 3
|
map_const CHERRYGROVE_CITY, 20, 9 ; 3
|
||||||
mapconst CHERRYGROVE_MART, 4, 6 ; 4
|
map_const CHERRYGROVE_MART, 6, 4 ; 4
|
||||||
mapconst CHERRYGROVE_POKECENTER_1F, 4, 5 ; 5
|
map_const CHERRYGROVE_POKECENTER_1F, 5, 4 ; 5
|
||||||
mapconst CHERRYGROVE_GYM_SPEECH_HOUSE, 4, 4 ; 6
|
map_const CHERRYGROVE_GYM_SPEECH_HOUSE, 4, 4 ; 6
|
||||||
mapconst GUIDE_GENTS_HOUSE, 4, 4 ; 7
|
map_const GUIDE_GENTS_HOUSE, 4, 4 ; 7
|
||||||
mapconst CHERRYGROVE_EVOLUTION_SPEECH_HOUSE, 4, 4 ; 8
|
map_const CHERRYGROVE_EVOLUTION_SPEECH_HOUSE, 4, 4 ; 8
|
||||||
mapconst ROUTE_30_BERRY_HOUSE, 4, 4 ; 9
|
map_const ROUTE_30_BERRY_HOUSE, 4, 4 ; 9
|
||||||
mapconst MR_POKEMONS_HOUSE, 4, 4 ; 10
|
map_const MR_POKEMONS_HOUSE, 4, 4 ; 10
|
||||||
mapconst ROUTE_31_VIOLET_GATE, 4, 5 ; 11
|
map_const ROUTE_31_VIOLET_GATE, 5, 4 ; 11
|
||||||
|
@ -97,7 +97,7 @@
|
|||||||
; PlayRadio.StationPointers indexes (see engine/pokegear.asm)
|
; PlayRadio.StationPointers indexes (see engine/pokegear.asm)
|
||||||
const_def
|
const_def
|
||||||
const MAPRADIO_POKEMON_CHANNEL
|
const MAPRADIO_POKEMON_CHANNEL
|
||||||
const MAPRADIO_OAKS_MON_TALK
|
const MAPRADIO_OAKS_POKEMON_TALK
|
||||||
const MAPRADIO_POKEDEX_SHOW
|
const MAPRADIO_POKEDEX_SHOW
|
||||||
const MAPRADIO_POKEMON_MUSIC
|
const MAPRADIO_POKEMON_MUSIC
|
||||||
const MAPRADIO_LUCKY_CHANNEL
|
const MAPRADIO_LUCKY_CHANNEL
|
||||||
@ -108,8 +108,8 @@
|
|||||||
|
|
||||||
; These tables in engine/radio.asm are all sized to a power of 2
|
; These tables in engine/radio.asm are all sized to a power of 2
|
||||||
; so there's no need for a rejection sampling loop
|
; so there's no need for a rejection sampling loop
|
||||||
NUM_OAKS_MON_TALK_ADVERBS EQU 16 ; OaksPkmnTalk8.Adverbs
|
NUM_OAKS_POKEMON_TALK_ADVERBS EQU 16 ; OaksPKMNTalk8.Adverbs
|
||||||
NUM_OAKS_MON_TALK_ADJECTIVES EQU 16 ; OaksPkmnTalk9.Adjectives
|
NUM_OAKS_POKEMON_TALK_ADJECTIVES EQU 16 ; OaksPKMNTalk9.Adjectives
|
||||||
NUM_PNP_PEOPLE_ADJECTIVES EQU 16 ; PeoplePlaces5.Adjectives
|
NUM_PNP_PEOPLE_ADJECTIVES EQU 16 ; PeoplePlaces5.Adjectives
|
||||||
NUM_PNP_PLACES_ADJECTIVES EQU 16 ; PeoplePlaces7.Adjectives
|
NUM_PNP_PLACES_ADJECTIVES EQU 16 ; PeoplePlaces7.Adjectives
|
||||||
|
|
||||||
|
@ -84,6 +84,8 @@ FACE_RIGHT EQU 1
|
|||||||
; wPokemonWithdrawDepositParameter:: ; d10b
|
; wPokemonWithdrawDepositParameter:: ; d10b
|
||||||
PC_WITHDRAW EQU 0
|
PC_WITHDRAW EQU 0
|
||||||
PC_DEPOSIT EQU 1
|
PC_DEPOSIT EQU 1
|
||||||
|
REMOVE_PARTY EQU 0
|
||||||
|
REMOVE_BOX EQU 1
|
||||||
DAY_CARE_WITHDRAW EQU 2
|
DAY_CARE_WITHDRAW EQU 2
|
||||||
DAY_CARE_DEPOSIT EQU 3
|
DAY_CARE_DEPOSIT EQU 3
|
||||||
|
|
||||||
|
@ -15,19 +15,19 @@ PredefPointers:: ; 856b
|
|||||||
add_predef FillPP
|
add_predef FillPP
|
||||||
add_predef TryAddMonToParty
|
add_predef TryAddMonToParty
|
||||||
add_predef AddTempmonToParty
|
add_predef AddTempmonToParty
|
||||||
add_predef SendGetPkmnIntoFromBox
|
add_predef SendGetMonIntoFromBox
|
||||||
add_predef SendPkmnIntoBox
|
add_predef SendMonIntoBox
|
||||||
add_predef GiveEgg
|
add_predef GiveEgg
|
||||||
add_predef AnimateHPBar
|
add_predef AnimateHPBar
|
||||||
add_predef CalcPkmnStats
|
add_predef CalcMonStats
|
||||||
add_predef CalcPkmnStatC
|
add_predef CalcMonStatC
|
||||||
add_predef CanLearnTMHMMove
|
add_predef CanLearnTMHMMove
|
||||||
add_predef GetTMHMMove
|
add_predef GetTMHMMove
|
||||||
add_predef LinkTextboxAtHL ; $ 10
|
add_predef LinkTextboxAtHL ; $ 10
|
||||||
add_predef PrintMoveDesc
|
add_predef PrintMoveDesc
|
||||||
add_predef UpdatePlayerHUD
|
add_predef UpdatePlayerHUD
|
||||||
add_predef PlaceGraphic
|
add_predef PlaceGraphic
|
||||||
add_predef CheckPlayerPartyForFitPkmn
|
add_predef CheckPlayerPartyForFitMon
|
||||||
add_predef UpdateEnemyHUD
|
add_predef UpdateEnemyHUD
|
||||||
add_predef StartBattle
|
add_predef StartBattle
|
||||||
add_predef FillInExpBar
|
add_predef FillInExpBar
|
||||||
@ -38,7 +38,7 @@ PredefPointers:: ; 856b
|
|||||||
add_predef EvolveAfterBattle
|
add_predef EvolveAfterBattle
|
||||||
add_predef TradeAnimationPlayer2
|
add_predef TradeAnimationPlayer2
|
||||||
add_predef TradeAnimation
|
add_predef TradeAnimation
|
||||||
add_predef CopyPkmnToTempMon
|
add_predef CopyMonToTempMon
|
||||||
add_predef ListMoves ; $20
|
add_predef ListMoves ; $20
|
||||||
add_predef PlaceNonFaintStatus
|
add_predef PlaceNonFaintStatus
|
||||||
add_predef Unused_PlaceEnemyHPLevel
|
add_predef Unused_PlaceEnemyHPLevel
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
; Oak's Pokémon Talk will list wild Pokémon on these maps.
|
; Oak's Pokémon Talk will list wild Pokémon on these maps.
|
||||||
|
|
||||||
OaksPkmnTalkRoutes:
|
OaksPKMNTalkRoutes:
|
||||||
map_id ROUTE_29
|
map_id ROUTE_29
|
||||||
map_id ROUTE_46
|
map_id ROUTE_46
|
||||||
map_id ROUTE_30
|
map_id ROUTE_30
|
||||||
|
@ -137,14 +137,14 @@ BattleText_SafeguardFaded: ; 0x808d2
|
|||||||
prompt
|
prompt
|
||||||
; 0x808e7
|
; 0x808e7
|
||||||
|
|
||||||
BattleText_PkmnLightScreenFell: ; 0x808e7
|
BattleText_MonsLightScreenFell: ; 0x808e7
|
||||||
text_from_ram wStringBuffer1
|
text_from_ram wStringBuffer1
|
||||||
text " #MON's"
|
text " #MON's"
|
||||||
line "LIGHT SCREEN fell!"
|
line "LIGHT SCREEN fell!"
|
||||||
prompt
|
prompt
|
||||||
; 0x80905
|
; 0x80905
|
||||||
|
|
||||||
BattleText_PkmnReflectFaded: ; 0x80905
|
BattleText_MonsReflectFaded: ; 0x80905
|
||||||
text_from_ram wStringBuffer1
|
text_from_ram wStringBuffer1
|
||||||
text " #MON's"
|
text " #MON's"
|
||||||
line "REFLECT faded!"
|
line "REFLECT faded!"
|
||||||
@ -186,7 +186,7 @@ BattleText_TheSandstormSubsided: ; 0x8098f
|
|||||||
prompt
|
prompt
|
||||||
; 0x809a8
|
; 0x809a8
|
||||||
|
|
||||||
BattleText_EnemyPkmnFainted: ; 0x809a8
|
BattleText_EnemyMonFainted: ; 0x809a8
|
||||||
text "Enemy @"
|
text "Enemy @"
|
||||||
text_from_ram wEnemyMonNick
|
text_from_ram wEnemyMonNick
|
||||||
text_start
|
text_start
|
||||||
@ -236,7 +236,7 @@ BattleText_0x80a4f: ; 0x80a4f
|
|||||||
prompt
|
prompt
|
||||||
; 0x80a75
|
; 0x80a75
|
||||||
|
|
||||||
BattleText_PkmnFainted: ; 0x80a75
|
BattleText_MonFainted: ; 0x80a75
|
||||||
text_from_ram wBattleMonNick
|
text_from_ram wBattleMonNick
|
||||||
text_start
|
text_start
|
||||||
line "fainted!"
|
line "fainted!"
|
||||||
@ -261,7 +261,7 @@ LostAgainstText: ; 0x80ab9
|
|||||||
prompt
|
prompt
|
||||||
; 0x80aca
|
; 0x80aca
|
||||||
|
|
||||||
BattleText_EnemyIsAboutToUseWillPlayerChangePkmn: ; 0x80aca
|
BattleText_EnemyIsAboutToUseWillPlayerChangeMon: ; 0x80aca
|
||||||
text "<ENEMY>"
|
text "<ENEMY>"
|
||||||
line "is about to use"
|
line "is about to use"
|
||||||
cont "@"
|
cont "@"
|
||||||
@ -353,14 +353,14 @@ BattleText_ItemsCantBeUsedHere: ; 0x80bf3
|
|||||||
prompt
|
prompt
|
||||||
; 0x80c0d
|
; 0x80c0d
|
||||||
|
|
||||||
BattleText_PkmnIsAlreadyOut: ; 0x80c0d
|
BattleText_MonIsAlreadyOut: ; 0x80c0d
|
||||||
text_from_ram wBattleMonNick
|
text_from_ram wBattleMonNick
|
||||||
text_start
|
text_start
|
||||||
line "is already out."
|
line "is already out."
|
||||||
prompt
|
prompt
|
||||||
; 0x80c22
|
; 0x80c22
|
||||||
|
|
||||||
BattleText_PkmnCantBeRecalled: ; 0x80c22
|
BattleText_MonCantBeRecalled: ; 0x80c22
|
||||||
text_from_ram wBattleMonNick
|
text_from_ram wBattleMonNick
|
||||||
text_start
|
text_start
|
||||||
line "can't be recalled!"
|
line "can't be recalled!"
|
||||||
@ -379,7 +379,7 @@ BattleText_TheMoveIsDisabled: ; 0x80c5b
|
|||||||
prompt
|
prompt
|
||||||
; 0x80c72
|
; 0x80c72
|
||||||
|
|
||||||
BattleText_PkmnHasNoMovesLeft: ; 0x80c72
|
BattleText_MonHasNoMovesLeft: ; 0x80c72
|
||||||
text_from_ram wBattleMonNick
|
text_from_ram wBattleMonNick
|
||||||
text_start
|
text_start
|
||||||
line "has no moves left!"
|
line "has no moves left!"
|
||||||
@ -402,7 +402,7 @@ BattleText_StringBuffer1GrewToLevel: ; 0x80c9c
|
|||||||
db "@@"
|
db "@@"
|
||||||
; 0x80cb9
|
; 0x80cb9
|
||||||
|
|
||||||
BattleText_WildPkmnIsEating: ; 0x80cba
|
BattleText_WildMonIsEating: ; 0x80cba
|
||||||
text "Wild @"
|
text "Wild @"
|
||||||
text_from_ram wEnemyMonNick
|
text_from_ram wEnemyMonNick
|
||||||
text_start
|
text_start
|
||||||
@ -410,7 +410,7 @@ BattleText_WildPkmnIsEating: ; 0x80cba
|
|||||||
prompt
|
prompt
|
||||||
; 0x80cd1
|
; 0x80cd1
|
||||||
|
|
||||||
BattleText_WildPkmnIsAngry: ; 0x80cd1
|
BattleText_WildMonIsAngry: ; 0x80cd1
|
||||||
text "Wild @"
|
text "Wild @"
|
||||||
text_from_ram wEnemyMonNick
|
text_from_ram wEnemyMonNick
|
||||||
text_start
|
text_start
|
||||||
|
@ -1121,7 +1121,7 @@ Text_RemainingTime::
|
|||||||
text "Remaining Time"
|
text "Remaining Time"
|
||||||
done
|
done
|
||||||
|
|
||||||
Text_YourPkmnsHPWasHealed::
|
Text_YourMonsHPWasHealed::
|
||||||
text "Your #MON's HP"
|
text "Your #MON's HP"
|
||||||
line "was healed."
|
line "was healed."
|
||||||
prompt
|
prompt
|
||||||
|
@ -113,17 +113,17 @@ Text_StringBuffer2ExpPoints::
|
|||||||
text " EXP. Points!"
|
text " EXP. Points!"
|
||||||
prompt
|
prompt
|
||||||
|
|
||||||
Text_GoPkmn::
|
Text_GoMon::
|
||||||
text "Go! @@"
|
text "Go! @@"
|
||||||
|
|
||||||
Text_DoItPkmn::
|
Text_DoItMon::
|
||||||
text "Do it! @@"
|
text "Do it! @@"
|
||||||
|
|
||||||
Text_GoForItPkmn::
|
Text_GoForItMon::
|
||||||
text "Go for it,"
|
text "Go for it,"
|
||||||
line "@@"
|
line "@@"
|
||||||
|
|
||||||
Text_YourFoesWeakGetmPkmn::
|
Text_YourFoesWeakGetmMon::
|
||||||
text "Your foe's weak!"
|
text "Your foe's weak!"
|
||||||
line "Get'm, @@"
|
line "Get'm, @@"
|
||||||
|
|
||||||
@ -618,7 +618,7 @@ UnknownText_0x1c0bee::
|
|||||||
cont "time to use that!"
|
cont "time to use that!"
|
||||||
prompt
|
prompt
|
||||||
|
|
||||||
Text_YouDontHaveAPkmn::
|
Text_YouDontHaveAMon::
|
||||||
text "You don't have a"
|
text "You don't have a"
|
||||||
line "#MON!"
|
line "#MON!"
|
||||||
prompt
|
prompt
|
||||||
|
@ -1139,14 +1139,14 @@ UnknownText_0x1c59a3::
|
|||||||
para ""
|
para ""
|
||||||
done
|
done
|
||||||
|
|
||||||
Text_OnlyThreePkmnMayBeEntered::
|
Text_OnlyThreeMonMayBeEntered::
|
||||||
text "Only three #MON"
|
text "Only three #MON"
|
||||||
line "may be entered."
|
line "may be entered."
|
||||||
|
|
||||||
para ""
|
para ""
|
||||||
done
|
done
|
||||||
|
|
||||||
Text_ThePkmnMustAllBeDifferentKinds::
|
Text_TheMonMustAllBeDifferentKinds::
|
||||||
text "The @"
|
text "The @"
|
||||||
text_from_ram wStringBuffer2
|
text_from_ram wStringBuffer2
|
||||||
text " #MON"
|
text " #MON"
|
||||||
@ -1156,7 +1156,7 @@ Text_ThePkmnMustAllBeDifferentKinds::
|
|||||||
para ""
|
para ""
|
||||||
done
|
done
|
||||||
|
|
||||||
Text_ThePkmnMustNotHoldTheSameItems::
|
Text_TheMonMustNotHoldTheSameItems::
|
||||||
text "The @"
|
text "The @"
|
||||||
text_from_ram wStringBuffer2
|
text_from_ram wStringBuffer2
|
||||||
text " #MON"
|
text " #MON"
|
||||||
|
@ -260,7 +260,7 @@ This is a bug with `CheckPlayerHasUsableMoves` in [engine/battle/core.asm](/engi
|
|||||||
ret nz
|
ret nz
|
||||||
|
|
||||||
.force_struggle
|
.force_struggle
|
||||||
ld hl, BattleText_PkmnHasNoMovesLeft
|
ld hl, BattleText_MonHasNoMovesLeft
|
||||||
call StdBattleTextBox
|
call StdBattleTextBox
|
||||||
ld c, 60
|
ld c, 60
|
||||||
call DelayFrames
|
call DelayFrames
|
||||||
|
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
@ -74,7 +74,7 @@ SwitchOften: ; 38045
|
|||||||
ld a, [wEnemySwitchMonParam]
|
ld a, [wEnemySwitchMonParam]
|
||||||
and $f
|
and $f
|
||||||
inc a
|
inc a
|
||||||
; In register 'a' is the number (1-6) of the Pkmn to switch to
|
; In register 'a' is the number (1-6) of the mon to switch to
|
||||||
ld [wEnemySwitchMonIndex], a
|
ld [wEnemySwitchMonIndex], a
|
||||||
jp AI_TrySwitch
|
jp AI_TrySwitch
|
||||||
; 38083
|
; 38083
|
||||||
|
@ -47,7 +47,7 @@ DoBattle: ; 3c000
|
|||||||
|
|
||||||
.player_2
|
.player_2
|
||||||
call LoadTileMapToTempTileMap
|
call LoadTileMapToTempTileMap
|
||||||
call CheckPlayerPartyForFitPkmn
|
call CheckPlayerPartyForFitMon
|
||||||
ld a, d
|
ld a, d
|
||||||
and a
|
and a
|
||||||
jp z, LostBattle
|
jp z, LostBattle
|
||||||
@ -86,7 +86,7 @@ DoBattle: ; 3c000
|
|||||||
call ResetBattleParticipants
|
call ResetBattleParticipants
|
||||||
call InitBattleMon
|
call InitBattleMon
|
||||||
call ResetPlayerStatLevels
|
call ResetPlayerStatLevels
|
||||||
call SendOutPkmnText
|
call SendOutMonText
|
||||||
call NewBattleMonStatus
|
call NewBattleMonStatus
|
||||||
call BreakAttraction
|
call BreakAttraction
|
||||||
call SendOutPlayerMon
|
call SendOutPlayerMon
|
||||||
@ -1697,7 +1697,7 @@ HandleScreens: ; 3cb36
|
|||||||
res SCREENS_LIGHT_SCREEN, [hl]
|
res SCREENS_LIGHT_SCREEN, [hl]
|
||||||
push hl
|
push hl
|
||||||
push de
|
push de
|
||||||
ld hl, BattleText_PkmnLightScreenFell
|
ld hl, BattleText_MonsLightScreenFell
|
||||||
call StdBattleTextBox
|
call StdBattleTextBox
|
||||||
pop de
|
pop de
|
||||||
pop hl
|
pop hl
|
||||||
@ -1711,7 +1711,7 @@ HandleScreens: ; 3cb36
|
|||||||
ld [de], a
|
ld [de], a
|
||||||
ret nz
|
ret nz
|
||||||
res SCREENS_REFLECT, [hl]
|
res SCREENS_REFLECT, [hl]
|
||||||
ld hl, BattleText_PkmnReflectFaded
|
ld hl, BattleText_MonsReflectFaded
|
||||||
jp StdBattleTextBox
|
jp StdBattleTextBox
|
||||||
; 3cb9e
|
; 3cb9e
|
||||||
|
|
||||||
@ -1825,7 +1825,7 @@ SubtractHPFromTarget: ; 3cc39
|
|||||||
; 3cc3f
|
; 3cc3f
|
||||||
|
|
||||||
SubtractHPFromUser: ; 3cc3f
|
SubtractHPFromUser: ; 3cc3f
|
||||||
; Subtract HP from Pkmn
|
; Subtract HP from mon
|
||||||
call SubtractHP
|
call SubtractHP
|
||||||
jp UpdateHPBarBattleHuds
|
jp UpdateHPBarBattleHuds
|
||||||
; 3cc45
|
; 3cc45
|
||||||
@ -2057,7 +2057,7 @@ HandleEnemyMonFaint: ; 3cd55
|
|||||||
xor a
|
xor a
|
||||||
ld [wWhichMonFaintedFirst], a
|
ld [wWhichMonFaintedFirst], a
|
||||||
call UpdateBattleStateAndExperienceAfterEnemyFaint
|
call UpdateBattleStateAndExperienceAfterEnemyFaint
|
||||||
call CheckPlayerPartyForFitPkmn
|
call CheckPlayerPartyForFitMon
|
||||||
ld a, d
|
ld a, d
|
||||||
and a
|
and a
|
||||||
jp z, LostBattle
|
jp z, LostBattle
|
||||||
@ -2189,7 +2189,7 @@ UpdateBattleStateAndExperienceAfterEnemyFaint: ; 3ce01
|
|||||||
call PlayerMonFaintHappinessMod
|
call PlayerMonFaintHappinessMod
|
||||||
|
|
||||||
.player_mon_did_not_faint
|
.player_mon_did_not_faint
|
||||||
call CheckPlayerPartyForFitPkmn
|
call CheckPlayerPartyForFitMon
|
||||||
ld a, d
|
ld a, d
|
||||||
and a
|
and a
|
||||||
ret z
|
ret z
|
||||||
@ -2311,7 +2311,7 @@ FaintYourPokemon: ; 3cef1
|
|||||||
hlcoord 9, 7
|
hlcoord 9, 7
|
||||||
lb bc, 5, 11
|
lb bc, 5, 11
|
||||||
call ClearBox
|
call ClearBox
|
||||||
ld hl, BattleText_PkmnFainted
|
ld hl, BattleText_MonFainted
|
||||||
jp StdBattleTextBox
|
jp StdBattleTextBox
|
||||||
; 3cf14
|
; 3cf14
|
||||||
|
|
||||||
@ -2325,7 +2325,7 @@ FaintEnemyPokemon: ; 3cf14
|
|||||||
hlcoord 1, 0
|
hlcoord 1, 0
|
||||||
lb bc, 4, 10
|
lb bc, 4, 10
|
||||||
call ClearBox
|
call ClearBox
|
||||||
ld hl, BattleText_EnemyPkmnFainted
|
ld hl, BattleText_EnemyMonFainted
|
||||||
jp StdBattleTextBox
|
jp StdBattleTextBox
|
||||||
; 3cf35
|
; 3cf35
|
||||||
|
|
||||||
@ -2674,7 +2674,7 @@ HandlePlayerMonFaint: ; 3d14e
|
|||||||
ld a, $1
|
ld a, $1
|
||||||
ld [wWhichMonFaintedFirst], a
|
ld [wWhichMonFaintedFirst], a
|
||||||
call PlayerMonFaintHappinessMod
|
call PlayerMonFaintHappinessMod
|
||||||
call CheckPlayerPartyForFitPkmn
|
call CheckPlayerPartyForFitMon
|
||||||
ld a, d
|
ld a, d
|
||||||
and a
|
and a
|
||||||
jp z, LostBattle
|
jp z, LostBattle
|
||||||
@ -2833,7 +2833,7 @@ ForcePlayerMonChoice: ; 3d227
|
|||||||
call CloseWindow
|
call CloseWindow
|
||||||
call GetMemSGBLayout
|
call GetMemSGBLayout
|
||||||
call SetPalettes
|
call SetPalettes
|
||||||
call SendOutPkmnText
|
call SendOutMonText
|
||||||
call NewBattleMonStatus
|
call NewBattleMonStatus
|
||||||
call BreakAttraction
|
call BreakAttraction
|
||||||
call SendOutPlayerMon
|
call SendOutPlayerMon
|
||||||
@ -2855,7 +2855,7 @@ PlayerPartyMonEntrance: ; 3d2b3
|
|||||||
call AddBattleParticipant
|
call AddBattleParticipant
|
||||||
call InitBattleMon
|
call InitBattleMon
|
||||||
call ResetPlayerStatLevels
|
call ResetPlayerStatLevels
|
||||||
call SendOutPkmnText
|
call SendOutMonText
|
||||||
call NewBattleMonStatus
|
call NewBattleMonStatus
|
||||||
call BreakAttraction
|
call BreakAttraction
|
||||||
call SendOutPlayerMon
|
call SendOutPlayerMon
|
||||||
@ -2938,7 +2938,7 @@ SwitchMonAlreadyOut: ; 3d34f
|
|||||||
cp [hl]
|
cp [hl]
|
||||||
jr nz, .notout
|
jr nz, .notout
|
||||||
|
|
||||||
ld hl, BattleText_PkmnIsAlreadyOut
|
ld hl, BattleText_MonIsAlreadyOut
|
||||||
call StdBattleTextBox
|
call StdBattleTextBox
|
||||||
scf
|
scf
|
||||||
ret
|
ret
|
||||||
@ -3201,11 +3201,11 @@ ForceEnemySwitch: ; 3d4c3
|
|||||||
ld a, [wEnemySwitchMonIndex]
|
ld a, [wEnemySwitchMonIndex]
|
||||||
dec a
|
dec a
|
||||||
ld b, a
|
ld b, a
|
||||||
call LoadEnemyPkmnToSwitchTo
|
call LoadEnemyMonToSwitchTo
|
||||||
call ClearEnemyMonBox
|
call ClearEnemyMonBox
|
||||||
call NewEnemyMonStatus
|
call NewEnemyMonStatus
|
||||||
call ResetEnemyStatLevels
|
call ResetEnemyStatLevels
|
||||||
call Function_SetEnemyPkmnAndSendOutAnimation
|
call Function_SetEnemyMonAndSendOutAnimation
|
||||||
call BreakAttraction
|
call BreakAttraction
|
||||||
call ResetBattleParticipants
|
call ResetBattleParticipants
|
||||||
ret
|
ret
|
||||||
@ -3218,15 +3218,15 @@ EnemySwitch: ; 3d4e1
|
|||||||
call ResetEnemyBattleVars
|
call ResetEnemyBattleVars
|
||||||
call CheckWhetherSwitchmonIsPredetermined
|
call CheckWhetherSwitchmonIsPredetermined
|
||||||
jr c, .skip
|
jr c, .skip
|
||||||
call FindPkmnInOTPartyToSwitchIntoBattle
|
call FindMonInOTPartyToSwitchIntoBattle
|
||||||
.skip
|
.skip
|
||||||
; 'b' contains the PartyNr of the Pkmn the AI will switch to
|
; 'b' contains the PartyNr of the mon the AI will switch to
|
||||||
call LoadEnemyPkmnToSwitchTo
|
call LoadEnemyMonToSwitchTo
|
||||||
call OfferSwitch
|
call OfferSwitch
|
||||||
push af
|
push af
|
||||||
call ClearEnemyMonBox
|
call ClearEnemyMonBox
|
||||||
call Function_BattleTextEnemySentOut
|
call Function_BattleTextEnemySentOut
|
||||||
call Function_SetEnemyPkmnAndSendOutAnimation
|
call Function_SetEnemyMonAndSendOutAnimation
|
||||||
pop af
|
pop af
|
||||||
ret c
|
ret c
|
||||||
; If we're here, then we're switching too
|
; If we're here, then we're switching too
|
||||||
@ -3244,15 +3244,15 @@ EnemySwitch_SetMode: ; 3d517
|
|||||||
call ResetEnemyBattleVars
|
call ResetEnemyBattleVars
|
||||||
call CheckWhetherSwitchmonIsPredetermined
|
call CheckWhetherSwitchmonIsPredetermined
|
||||||
jr c, .skip
|
jr c, .skip
|
||||||
call FindPkmnInOTPartyToSwitchIntoBattle
|
call FindMonInOTPartyToSwitchIntoBattle
|
||||||
.skip
|
.skip
|
||||||
; 'b' contains the PartyNr of the Pkmn the AI will switch to
|
; 'b' contains the PartyNr of the mon the AI will switch to
|
||||||
call LoadEnemyPkmnToSwitchTo
|
call LoadEnemyMonToSwitchTo
|
||||||
ld a, 1
|
ld a, 1
|
||||||
ld [wEnemyIsSwitching], a
|
ld [wEnemyIsSwitching], a
|
||||||
call ClearEnemyMonBox
|
call ClearEnemyMonBox
|
||||||
call Function_BattleTextEnemySentOut
|
call Function_BattleTextEnemySentOut
|
||||||
jp Function_SetEnemyPkmnAndSendOutAnimation
|
jp Function_SetEnemyMonAndSendOutAnimation
|
||||||
; 3d533
|
; 3d533
|
||||||
|
|
||||||
CheckWhetherSwitchmonIsPredetermined: ; 3d533
|
CheckWhetherSwitchmonIsPredetermined: ; 3d533
|
||||||
@ -3323,7 +3323,7 @@ AddBattleParticipant: ; 3d581
|
|||||||
predef_jump SmallFarFlagAction
|
predef_jump SmallFarFlagAction
|
||||||
; 3d599
|
; 3d599
|
||||||
|
|
||||||
FindPkmnInOTPartyToSwitchIntoBattle: ; 3d599
|
FindMonInOTPartyToSwitchIntoBattle: ; 3d599
|
||||||
ld b, -1
|
ld b, -1
|
||||||
ld a, $1
|
ld a, $1
|
||||||
ld [wBuffer1], a
|
ld [wBuffer1], a
|
||||||
@ -3351,7 +3351,7 @@ FindPkmnInOTPartyToSwitchIntoBattle: ; 3d599
|
|||||||
pop bc
|
pop bc
|
||||||
jr z, .discourage
|
jr z, .discourage
|
||||||
call LookUpTheEffectivenessOfEveryMove
|
call LookUpTheEffectivenessOfEveryMove
|
||||||
call IsThePlayerPkmnTypesEffectiveAgainstOTPkmn
|
call IsThePlayerMonTypesEffectiveAgainstOTMon
|
||||||
jr .loop
|
jr .loop
|
||||||
|
|
||||||
.discourage
|
.discourage
|
||||||
@ -3398,9 +3398,9 @@ LookUpTheEffectivenessOfEveryMove: ; 3d5d7
|
|||||||
ret
|
ret
|
||||||
; 3d618
|
; 3d618
|
||||||
|
|
||||||
IsThePlayerPkmnTypesEffectiveAgainstOTPkmn: ; 3d618
|
IsThePlayerMonTypesEffectiveAgainstOTMon: ; 3d618
|
||||||
; Calculates the effectiveness of the types of the PlayerPkmn
|
; Calculates the effectiveness of the types of the PlayerMon
|
||||||
; against the OTPkmn
|
; against the OTMon
|
||||||
push bc
|
push bc
|
||||||
ld hl, wOTPartyCount
|
ld hl, wOTPartyCount
|
||||||
ld a, b
|
ld a, b
|
||||||
@ -3512,8 +3512,8 @@ ScoreMonTypeMatchups: ; 3d672
|
|||||||
ret
|
ret
|
||||||
; 3d6ca
|
; 3d6ca
|
||||||
|
|
||||||
LoadEnemyPkmnToSwitchTo: ; 3d6ca
|
LoadEnemyMonToSwitchTo: ; 3d6ca
|
||||||
; 'b' contains the PartyNr of the Pkmn the AI will switch to
|
; 'b' contains the PartyNr of the mon the AI will switch to
|
||||||
ld a, b
|
ld a, b
|
||||||
ld [wCurPartyMon], a
|
ld [wCurPartyMon], a
|
||||||
ld hl, wOTPartyMon1Level
|
ld hl, wOTPartyMon1Level
|
||||||
@ -3585,7 +3585,7 @@ OfferSwitch: ; 3d74b
|
|||||||
ld a, [wCurPartyMon]
|
ld a, [wCurPartyMon]
|
||||||
push af
|
push af
|
||||||
callfar Battle_GetTrainerName
|
callfar Battle_GetTrainerName
|
||||||
ld hl, BattleText_EnemyIsAboutToUseWillPlayerChangePkmn
|
ld hl, BattleText_EnemyIsAboutToUseWillPlayerChangeMon
|
||||||
call StdBattleTextBox
|
call StdBattleTextBox
|
||||||
lb bc, 1, 7
|
lb bc, 1, 7
|
||||||
call PlaceYesNoBox
|
call PlaceYesNoBox
|
||||||
@ -3641,14 +3641,14 @@ Function_BattleTextEnemySentOut: ; 3d7b8
|
|||||||
jp WaitBGMap
|
jp WaitBGMap
|
||||||
; 3d7c7
|
; 3d7c7
|
||||||
|
|
||||||
Function_SetEnemyPkmnAndSendOutAnimation: ; 3d7c7
|
Function_SetEnemyMonAndSendOutAnimation: ; 3d7c7
|
||||||
ld a, [wTempEnemyMonSpecies]
|
ld a, [wTempEnemyMonSpecies]
|
||||||
ld [wCurPartySpecies], a
|
ld [wCurPartySpecies], a
|
||||||
ld [wCurSpecies], a
|
ld [wCurSpecies], a
|
||||||
call GetBaseData
|
call GetBaseData
|
||||||
ld a, OTPARTYMON
|
ld a, OTPARTYMON
|
||||||
ld [wMonType], a
|
ld [wMonType], a
|
||||||
predef CopyPkmnToTempMon
|
predef CopyMonToTempMon
|
||||||
call GetEnemyMonFrontpic
|
call GetEnemyMonFrontpic
|
||||||
|
|
||||||
xor a
|
xor a
|
||||||
@ -3725,8 +3725,8 @@ ResetEnemyStatLevels: ; 3d867
|
|||||||
ret
|
ret
|
||||||
; 3d873
|
; 3d873
|
||||||
|
|
||||||
CheckPlayerPartyForFitPkmn: ; 3d873
|
CheckPlayerPartyForFitMon: ; 3d873
|
||||||
; Has the player any Pkmn in his Party that can fight?
|
; Has the player any mon in his Party that can fight?
|
||||||
ld a, [wPartyCount]
|
ld a, [wPartyCount]
|
||||||
ld e, a
|
ld e, a
|
||||||
xor a
|
xor a
|
||||||
@ -4312,7 +4312,7 @@ PursuitSwitch: ; 3dc5b
|
|||||||
ld b, RESET_FLAG
|
ld b, RESET_FLAG
|
||||||
predef SmallFarFlagAction
|
predef SmallFarFlagAction
|
||||||
call PlayerMonFaintedAnimation
|
call PlayerMonFaintedAnimation
|
||||||
ld hl, BattleText_PkmnFainted
|
ld hl, BattleText_MonFainted
|
||||||
jr .done_fainted
|
jr .done_fainted
|
||||||
|
|
||||||
.check_enemy_fainted
|
.check_enemy_fainted
|
||||||
@ -4328,7 +4328,7 @@ PursuitSwitch: ; 3dc5b
|
|||||||
call PlaySFX
|
call PlaySFX
|
||||||
call WaitSFX
|
call WaitSFX
|
||||||
call EnemyMonFaintedAnimation
|
call EnemyMonFaintedAnimation
|
||||||
ld hl, BattleText_EnemyPkmnFainted
|
ld hl, BattleText_EnemyMonFainted
|
||||||
|
|
||||||
.done_fainted
|
.done_fainted
|
||||||
call StdBattleTextBox
|
call StdBattleTextBox
|
||||||
@ -5293,7 +5293,7 @@ TryPlayerSwitch: ; 3e358
|
|||||||
ld a, [wCurPartyMon]
|
ld a, [wCurPartyMon]
|
||||||
cp d
|
cp d
|
||||||
jr nz, .check_trapped
|
jr nz, .check_trapped
|
||||||
ld hl, BattleText_PkmnIsAlreadyOut
|
ld hl, BattleText_MonIsAlreadyOut
|
||||||
call StdBattleTextBox
|
call StdBattleTextBox
|
||||||
jp BattleMenuPKMN_Loop
|
jp BattleMenuPKMN_Loop
|
||||||
|
|
||||||
@ -5306,7 +5306,7 @@ TryPlayerSwitch: ; 3e358
|
|||||||
jr z, .try_switch
|
jr z, .try_switch
|
||||||
|
|
||||||
.trapped
|
.trapped
|
||||||
ld hl, BattleText_PkmnCantBeRecalled
|
ld hl, BattleText_MonCantBeRecalled
|
||||||
call StdBattleTextBox
|
call StdBattleTextBox
|
||||||
jp BattleMenuPKMN_Loop
|
jp BattleMenuPKMN_Loop
|
||||||
|
|
||||||
@ -5383,7 +5383,7 @@ EnemyMonEntrance: ; 3e3ff
|
|||||||
; 3e40b
|
; 3e40b
|
||||||
|
|
||||||
BattleMonEntrance: ; 3e40b
|
BattleMonEntrance: ; 3e40b
|
||||||
call WithdrawPkmnText
|
call WithdrawMonText
|
||||||
|
|
||||||
ld c, 50
|
ld c, 50
|
||||||
call DelayFrames
|
call DelayFrames
|
||||||
@ -5406,7 +5406,7 @@ BattleMonEntrance: ; 3e40b
|
|||||||
call AddBattleParticipant
|
call AddBattleParticipant
|
||||||
call InitBattleMon
|
call InitBattleMon
|
||||||
call ResetPlayerStatLevels
|
call ResetPlayerStatLevels
|
||||||
call SendOutPkmnText
|
call SendOutMonText
|
||||||
call NewBattleMonStatus
|
call NewBattleMonStatus
|
||||||
call BreakAttraction
|
call BreakAttraction
|
||||||
call SendOutPlayerMon
|
call SendOutPlayerMon
|
||||||
@ -5925,7 +5925,7 @@ CheckPlayerHasUsableMoves: ; 3e786
|
|||||||
ret nz
|
ret nz
|
||||||
|
|
||||||
.force_struggle
|
.force_struggle
|
||||||
ld hl, BattleText_PkmnHasNoMovesLeft
|
ld hl, BattleText_MonHasNoMovesLeft
|
||||||
call StdBattleTextBox
|
call StdBattleTextBox
|
||||||
ld c, 60
|
ld c, 60
|
||||||
call DelayFrames
|
call DelayFrames
|
||||||
@ -6395,7 +6395,7 @@ LoadEnemyMon: ; 3e8eb
|
|||||||
ld de, wEnemyMonMaxHP
|
ld de, wEnemyMonMaxHP
|
||||||
ld b, FALSE
|
ld b, FALSE
|
||||||
ld hl, wEnemyMonDVs - (MON_DVS - MON_STAT_EXP + 1) ; wLinkBattleRNs + 7 ; ?
|
ld hl, wEnemyMonDVs - (MON_DVS - MON_STAT_EXP + 1) ; wLinkBattleRNs + 7 ; ?
|
||||||
predef CalcPkmnStats
|
predef CalcMonStats
|
||||||
|
|
||||||
; If we're in a trainer battle,
|
; If we're in a trainer battle,
|
||||||
; get the rest of the parameters from the party struct
|
; get the rest of the parameters from the party struct
|
||||||
@ -7302,7 +7302,7 @@ GiveExperiencePoints: ; 3ee3b
|
|||||||
ld a, [wCurPartyMon]
|
ld a, [wCurPartyMon]
|
||||||
ld hl, wPartyMonNicknames
|
ld hl, wPartyMonNicknames
|
||||||
call GetNick
|
call GetNick
|
||||||
ld hl, Text_PkmnGainedExpPoint
|
ld hl, Text_MonGainedExpPoint
|
||||||
call BattleTextBox
|
call BattleTextBox
|
||||||
ld a, [wStringBuffer2 + 1]
|
ld a, [wStringBuffer2 + 1]
|
||||||
ld [hQuotient + 2], a
|
ld [hQuotient + 2], a
|
||||||
@ -7371,7 +7371,7 @@ GiveExperiencePoints: ; 3ee3b
|
|||||||
.not_max_exp
|
.not_max_exp
|
||||||
xor a ; PARTYMON
|
xor a ; PARTYMON
|
||||||
ld [wMonType], a
|
ld [wMonType], a
|
||||||
predef CopyPkmnToTempMon
|
predef CopyMonToTempMon
|
||||||
callfar CalcLevel
|
callfar CalcLevel
|
||||||
pop bc
|
pop bc
|
||||||
ld hl, MON_LEVEL
|
ld hl, MON_LEVEL
|
||||||
@ -7408,7 +7408,7 @@ GiveExperiencePoints: ; 3ee3b
|
|||||||
add hl, bc
|
add hl, bc
|
||||||
push bc
|
push bc
|
||||||
ld b, TRUE
|
ld b, TRUE
|
||||||
predef CalcPkmnStats
|
predef CalcMonStats
|
||||||
pop bc
|
pop bc
|
||||||
pop de
|
pop de
|
||||||
ld hl, MON_MAXHP + 1
|
ld hl, MON_MAXHP + 1
|
||||||
@ -7484,7 +7484,7 @@ GiveExperiencePoints: ; 3ee3b
|
|||||||
.skip_animation2
|
.skip_animation2
|
||||||
xor a ; PARTYMON
|
xor a ; PARTYMON
|
||||||
ld [wMonType], a
|
ld [wMonType], a
|
||||||
predef CopyPkmnToTempMon
|
predef CopyMonToTempMon
|
||||||
hlcoord 9, 0
|
hlcoord 9, 0
|
||||||
ld b, $a
|
ld b, $a
|
||||||
ld c, $9
|
ld c, $9
|
||||||
@ -7600,7 +7600,7 @@ BoostExp: ; 3f106
|
|||||||
ret
|
ret
|
||||||
; 3f11b
|
; 3f11b
|
||||||
|
|
||||||
Text_PkmnGainedExpPoint: ; 3f11b
|
Text_MonGainedExpPoint: ; 3f11b
|
||||||
text_jump Text_Gained
|
text_jump Text_Gained
|
||||||
start_asm
|
start_asm
|
||||||
ld hl, TextJump_StringBuffer2ExpPoints
|
ld hl, TextJump_StringBuffer2ExpPoints
|
||||||
@ -7644,7 +7644,7 @@ AnimateExpBar: ; 3f136
|
|||||||
ld [wd002], a
|
ld [wd002], a
|
||||||
xor a ; PARTYMON
|
xor a ; PARTYMON
|
||||||
ld [wMonType], a
|
ld [wMonType], a
|
||||||
predef CopyPkmnToTempMon
|
predef CopyMonToTempMon
|
||||||
ld a, [wTempMonLevel]
|
ld a, [wTempMonLevel]
|
||||||
ld b, a
|
ld b, a
|
||||||
ld e, a
|
ld e, a
|
||||||
@ -7808,23 +7808,23 @@ AnimateExpBar: ; 3f136
|
|||||||
ld [hBGMapMode], a
|
ld [hBGMapMode], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
SendOutPkmnText: ; 3f26d
|
SendOutMonText: ; 3f26d
|
||||||
ld a, [wLinkMode]
|
ld a, [wLinkMode]
|
||||||
and a
|
and a
|
||||||
jr z, .not_linked
|
jr z, .not_linked
|
||||||
|
|
||||||
ld hl, JumpText_GoPkmn ; If we're in a LinkBattle print just "Go <PlayerMon>"
|
ld hl, JumpText_GoMon ; If we're in a LinkBattle print just "Go <PlayerMon>"
|
||||||
|
|
||||||
ld a, [wBattleHasJustStarted] ; unless this (unidentified) variable is set
|
ld a, [wBattleHasJustStarted] ; unless this (unidentified) variable is set
|
||||||
and a
|
and a
|
||||||
jr nz, .skip_to_textbox
|
jr nz, .skip_to_textbox
|
||||||
|
|
||||||
.not_linked
|
.not_linked
|
||||||
; Depending on the HP of the enemy Pkmn, the game prints a different text
|
; Depending on the HP of the enemy mon, the game prints a different text
|
||||||
ld hl, wEnemyMonHP
|
ld hl, wEnemyMonHP
|
||||||
ld a, [hli]
|
ld a, [hli]
|
||||||
or [hl]
|
or [hl]
|
||||||
ld hl, JumpText_GoPkmn
|
ld hl, JumpText_GoMon
|
||||||
jr z, .skip_to_textbox
|
jr z, .skip_to_textbox
|
||||||
|
|
||||||
; compute enemy helth remaining as a percentage
|
; compute enemy helth remaining as a percentage
|
||||||
@ -7853,43 +7853,43 @@ SendOutPkmnText: ; 3f26d
|
|||||||
call Divide
|
call Divide
|
||||||
|
|
||||||
ld a, [hQuotient + 2]
|
ld a, [hQuotient + 2]
|
||||||
ld hl, JumpText_GoPkmn
|
ld hl, JumpText_GoMon
|
||||||
cp 70
|
cp 70
|
||||||
jr nc, .skip_to_textbox
|
jr nc, .skip_to_textbox
|
||||||
|
|
||||||
ld hl, JumpText_DoItPkmn
|
ld hl, JumpText_DoItMon
|
||||||
cp 40
|
cp 40
|
||||||
jr nc, .skip_to_textbox
|
jr nc, .skip_to_textbox
|
||||||
|
|
||||||
ld hl, JumpText_GoForItPkmn
|
ld hl, JumpText_GoForItMon
|
||||||
cp 10
|
cp 10
|
||||||
jr nc, .skip_to_textbox
|
jr nc, .skip_to_textbox
|
||||||
|
|
||||||
ld hl, JumpText_YourFoesWeakGetmPkmn
|
ld hl, JumpText_YourFoesWeakGetmMon
|
||||||
.skip_to_textbox
|
.skip_to_textbox
|
||||||
jp BattleTextBox
|
jp BattleTextBox
|
||||||
; 3f2d1
|
; 3f2d1
|
||||||
|
|
||||||
JumpText_GoPkmn: ; 3f2d1
|
JumpText_GoMon: ; 3f2d1
|
||||||
text_jump Text_GoPkmn
|
text_jump Text_GoMon
|
||||||
start_asm
|
start_asm
|
||||||
jr Function_TextJump_BattleMonNick01
|
jr Function_TextJump_BattleMonNick01
|
||||||
; 3f2d6
|
; 3f2d6
|
||||||
|
|
||||||
JumpText_DoItPkmn: ; 3f2d8
|
JumpText_DoItMon: ; 3f2d8
|
||||||
text_jump Text_DoItPkmn
|
text_jump Text_DoItMon
|
||||||
start_asm
|
start_asm
|
||||||
jr Function_TextJump_BattleMonNick01
|
jr Function_TextJump_BattleMonNick01
|
||||||
; 3f2dd
|
; 3f2dd
|
||||||
|
|
||||||
JumpText_GoForItPkmn: ; 3f2df
|
JumpText_GoForItMon: ; 3f2df
|
||||||
text_jump Text_GoForItPkmn
|
text_jump Text_GoForItMon
|
||||||
start_asm
|
start_asm
|
||||||
jr Function_TextJump_BattleMonNick01
|
jr Function_TextJump_BattleMonNick01
|
||||||
; 3f2e4
|
; 3f2e4
|
||||||
|
|
||||||
JumpText_YourFoesWeakGetmPkmn: ; 3f2e6
|
JumpText_YourFoesWeakGetmMon: ; 3f2e6
|
||||||
text_jump Text_YourFoesWeakGetmPkmn
|
text_jump Text_YourFoesWeakGetmMon
|
||||||
start_asm
|
start_asm
|
||||||
Function_TextJump_BattleMonNick01: ; 3f2eb
|
Function_TextJump_BattleMonNick01: ; 3f2eb
|
||||||
ld hl, TextJump_BattleMonNick01
|
ld hl, TextJump_BattleMonNick01
|
||||||
@ -7901,14 +7901,14 @@ TextJump_BattleMonNick01: ; 3f2ef
|
|||||||
db "@"
|
db "@"
|
||||||
; 3f2f4
|
; 3f2f4
|
||||||
|
|
||||||
WithdrawPkmnText: ; 3f2f4
|
WithdrawMonText: ; 3f2f4
|
||||||
ld hl, .WithdrawPkmnText
|
ld hl, .WithdrawMonText
|
||||||
jp BattleTextBox
|
jp BattleTextBox
|
||||||
|
|
||||||
.WithdrawPkmnText:
|
.WithdrawMonText:
|
||||||
text_jump Text_BattleMonNickComma
|
text_jump Text_BattleMonNickComma
|
||||||
start_asm
|
start_asm
|
||||||
; Print text to withdraw Pkmn
|
; Print text to withdraw mon
|
||||||
; depending on HP the message is different
|
; depending on HP the message is different
|
||||||
push de
|
push de
|
||||||
push bc
|
push bc
|
||||||
@ -7989,7 +7989,7 @@ Unreferenced_HandleSafariAngerEatingStatus:
|
|||||||
and a
|
and a
|
||||||
jr z, .angry
|
jr z, .angry
|
||||||
dec [hl]
|
dec [hl]
|
||||||
ld hl, BattleText_WildPkmnIsEating
|
ld hl, BattleText_WildMonIsEating
|
||||||
jr .finish
|
jr .finish
|
||||||
|
|
||||||
.angry
|
.angry
|
||||||
@ -7998,7 +7998,7 @@ Unreferenced_HandleSafariAngerEatingStatus:
|
|||||||
and a
|
and a
|
||||||
ret z
|
ret z
|
||||||
dec [hl]
|
dec [hl]
|
||||||
ld hl, BattleText_WildPkmnIsAngry
|
ld hl, BattleText_WildMonIsAngry
|
||||||
jr nz, .finish
|
jr nz, .finish
|
||||||
push hl
|
push hl
|
||||||
ld a, [wEnemyMonSpecies]
|
ld a, [wEnemyMonSpecies]
|
||||||
|
@ -203,7 +203,7 @@ BillsPCDepositFuncRelease: ; e24e0 (38:64e0)
|
|||||||
ld hl, wBillsPC_ScrollPosition
|
ld hl, wBillsPC_ScrollPosition
|
||||||
add [hl]
|
add [hl]
|
||||||
ld [wCurPartyMon], a
|
ld [wCurPartyMon], a
|
||||||
xor a
|
xor a ; REMOVE_PARTY
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
farcall RemoveMonFromPartyOrBox
|
farcall RemoveMonFromPartyOrBox
|
||||||
call ReleasePKMN_ByePKMN
|
call ReleasePKMN_ByePKMN
|
||||||
@ -463,7 +463,7 @@ BillsPC_Withdraw: ; e2675 (38:6675)
|
|||||||
ld hl, wBillsPC_ScrollPosition
|
ld hl, wBillsPC_ScrollPosition
|
||||||
add [hl]
|
add [hl]
|
||||||
ld [wCurPartyMon], a
|
ld [wCurPartyMon], a
|
||||||
ld a, PC_DEPOSIT
|
ld a, REMOVE_BOX
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
farcall RemoveMonFromPartyOrBox
|
farcall RemoveMonFromPartyOrBox
|
||||||
call ReleasePKMN_ByePKMN
|
call ReleasePKMN_ByePKMN
|
||||||
@ -591,7 +591,7 @@ _MovePKMNWithoutMail: ; e2759
|
|||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
and A_BUTTON
|
and A_BUTTON
|
||||||
jr nz, .a_button
|
jr nz, .a_button
|
||||||
call MovePkmnWithoutMail_DPad
|
call MoveMonWithoutMail_DPad
|
||||||
jr c, .d_pad
|
jr c, .d_pad
|
||||||
and a
|
and a
|
||||||
ret z
|
ret z
|
||||||
@ -750,7 +750,7 @@ _MovePKMNWithoutMail: ; e2759
|
|||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
and A_BUTTON
|
and A_BUTTON
|
||||||
jr nz, .a_button_2
|
jr nz, .a_button_2
|
||||||
call MovePkmnWithoutMail_DPad_2
|
call MoveMonWithoutMail_DPad_2
|
||||||
jr c, .dpad_2
|
jr c, .dpad_2
|
||||||
and a
|
and a
|
||||||
ret z
|
ret z
|
||||||
@ -862,7 +862,7 @@ Withdraw_UpDown: ; e29b5 (38:69b5)
|
|||||||
jp BillsPC_JoypadDidNothing
|
jp BillsPC_JoypadDidNothing
|
||||||
; e29d0 (38:69d0)
|
; e29d0 (38:69d0)
|
||||||
|
|
||||||
MovePkmnWithoutMail_DPad: ; e29d0
|
MoveMonWithoutMail_DPad: ; e29d0
|
||||||
ld hl, hJoyLast
|
ld hl, hJoyLast
|
||||||
ld a, [wBillsPC_NumMonsOnScreen]
|
ld a, [wBillsPC_NumMonsOnScreen]
|
||||||
ld d, a
|
ld d, a
|
||||||
@ -886,7 +886,7 @@ MovePkmnWithoutMail_DPad: ; e29d0
|
|||||||
jr nz, BillsPC_PressRight
|
jr nz, BillsPC_PressRight
|
||||||
jr BillsPC_JoypadDidNothing
|
jr BillsPC_JoypadDidNothing
|
||||||
|
|
||||||
MovePkmnWithoutMail_DPad_2: ; e29f4
|
MoveMonWithoutMail_DPad_2: ; e29f4
|
||||||
ld hl, hJoyLast
|
ld hl, hJoyLast
|
||||||
ld a, [wBillsPC_NumMonsOnScreen]
|
ld a, [wBillsPC_NumMonsOnScreen]
|
||||||
ld d, a
|
ld d, a
|
||||||
@ -1763,7 +1763,7 @@ BillsPC_CopyMon: ; e2fd6 (38:6fd6)
|
|||||||
ld bc, PARTYMON_STRUCT_LENGTH
|
ld bc, PARTYMON_STRUCT_LENGTH
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
call CloseSRAM
|
call CloseSRAM
|
||||||
farcall CalcwBufferMonStats
|
farcall CalcBufferMonStats
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.party
|
.party
|
||||||
@ -1806,7 +1806,7 @@ BillsPC_CopyMon: ; e2fd6 (38:6fd6)
|
|||||||
ld bc, BOXMON_STRUCT_LENGTH
|
ld bc, BOXMON_STRUCT_LENGTH
|
||||||
call CopyMonToTemp
|
call CopyMonToTemp
|
||||||
call CloseSRAM
|
call CloseSRAM
|
||||||
farcall CalcwBufferMonStats
|
farcall CalcBufferMonStats
|
||||||
ret
|
ret
|
||||||
|
|
||||||
DepositPokemon: ; e307c (38:707c)
|
DepositPokemon: ; e307c (38:707c)
|
||||||
@ -1819,9 +1819,9 @@ DepositPokemon: ; e307c (38:707c)
|
|||||||
call GetNick
|
call GetNick
|
||||||
ld a, PC_DEPOSIT
|
ld a, PC_DEPOSIT
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
predef SendGetPkmnIntoFromBox
|
predef SendGetMonIntoFromBox
|
||||||
jr c, .asm_boxisfull
|
jr c, .asm_boxisfull
|
||||||
xor a
|
xor a ; REMOVE_PARTY
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
farcall RemoveMonFromPartyOrBox
|
farcall RemoveMonFromPartyOrBox
|
||||||
ld a, [wCurPartySpecies]
|
ld a, [wCurPartySpecies]
|
||||||
@ -1874,9 +1874,9 @@ TryWithdrawPokemon: ; e30fa (38:70fa)
|
|||||||
call CloseSRAM
|
call CloseSRAM
|
||||||
xor a
|
xor a
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
predef SendGetPkmnIntoFromBox
|
predef SendGetMonIntoFromBox
|
||||||
jr c, .PartyFull
|
jr c, .PartyFull
|
||||||
ld a, PC_DEPOSIT
|
ld a, REMOVE_BOX
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
farcall RemoveMonFromPartyOrBox
|
farcall RemoveMonFromPartyOrBox
|
||||||
ld a, [wCurPartySpecies]
|
ld a, [wCurPartySpecies]
|
||||||
@ -2010,7 +2010,7 @@ MovePKMNWitoutMail_InsertMon: ; e31e7
|
|||||||
.dw_return ; e322a
|
.dw_return ; e322a
|
||||||
pop af
|
pop af
|
||||||
ld e, a
|
ld e, a
|
||||||
farcall MovePkmnWOMail_InsertMon_SaveGame
|
farcall MoveMonWOMail_InsertMon_SaveGame
|
||||||
ret
|
ret
|
||||||
; e3233
|
; e3233
|
||||||
|
|
||||||
@ -2095,7 +2095,7 @@ MovePKMNWitoutMail_InsertMon: ; e31e7
|
|||||||
ld a, [wBillsPC_BackupLoadedBox]
|
ld a, [wBillsPC_BackupLoadedBox]
|
||||||
dec a
|
dec a
|
||||||
ld e, a
|
ld e, a
|
||||||
farcall MovePkmnWOMail_SaveGame
|
farcall MoveMonWOMail_SaveGame
|
||||||
ld a, [wBillsPC_BackupCursorPosition]
|
ld a, [wBillsPC_BackupCursorPosition]
|
||||||
ld hl, wBillsPC_BackupScrollPosition
|
ld hl, wBillsPC_BackupScrollPosition
|
||||||
add [hl]
|
add [hl]
|
||||||
@ -2112,8 +2112,8 @@ MovePKMNWitoutMail_InsertMon: ; e31e7
|
|||||||
ld bc, BOXMON_STRUCT_LENGTH
|
ld bc, BOXMON_STRUCT_LENGTH
|
||||||
call CopyMonToTemp
|
call CopyMonToTemp
|
||||||
call CloseSRAM
|
call CloseSRAM
|
||||||
farcall CalcwBufferMonStats
|
farcall CalcBufferMonStats
|
||||||
ld a, PC_DEPOSIT
|
ld a, REMOVE_BOX
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
farcall RemoveMonFromPartyOrBox
|
farcall RemoveMonFromPartyOrBox
|
||||||
ret
|
ret
|
||||||
@ -2123,7 +2123,7 @@ MovePKMNWitoutMail_InsertMon: ; e31e7
|
|||||||
ld a, [wBillsPC_LoadedBox]
|
ld a, [wBillsPC_LoadedBox]
|
||||||
dec a
|
dec a
|
||||||
ld e, a
|
ld e, a
|
||||||
farcall MovePkmnWOMail_SaveGame
|
farcall MoveMonWOMail_SaveGame
|
||||||
ld a, [wBillsPC_CursorPosition]
|
ld a, [wBillsPC_CursorPosition]
|
||||||
ld hl, wBillsPC_ScrollPosition
|
ld hl, wBillsPC_ScrollPosition
|
||||||
add [hl]
|
add [hl]
|
||||||
@ -2146,7 +2146,7 @@ MovePKMNWitoutMail_InsertMon: ; e31e7
|
|||||||
ld hl, wPartyMon1Species
|
ld hl, wPartyMon1Species
|
||||||
ld bc, PARTYMON_STRUCT_LENGTH
|
ld bc, PARTYMON_STRUCT_LENGTH
|
||||||
call CopyMonToTemp
|
call CopyMonToTemp
|
||||||
xor a
|
xor a ; REMOVE_PARTY
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
farcall RemoveMonFromPartyOrBox
|
farcall RemoveMonFromPartyOrBox
|
||||||
ret
|
ret
|
||||||
|
@ -117,7 +117,7 @@ BillsPC_MovePKMNMenu: ; e4cd
|
|||||||
jr .quit
|
jr .quit
|
||||||
|
|
||||||
.no_mail
|
.no_mail
|
||||||
farcall StartMovePkmnWOMail_SaveGame
|
farcall StartMoveMonWOMail_SaveGame
|
||||||
jr c, .quit
|
jr c, .quit
|
||||||
farcall _MovePKMNWithoutMail
|
farcall _MovePKMNWithoutMail
|
||||||
call ReturnToMapFromSubmenu
|
call ReturnToMapFromSubmenu
|
||||||
@ -145,30 +145,30 @@ BillsPC_DepositMenu: ; e4fe (3:64fe)
|
|||||||
Unreferenced_Functione512:
|
Unreferenced_Functione512:
|
||||||
ld a, [wPartyCount]
|
ld a, [wPartyCount]
|
||||||
and a
|
and a
|
||||||
jr z, .no_pkmn
|
jr z, .no_mon
|
||||||
cp 2
|
cp 2
|
||||||
jr c, .only_one_pkmn
|
jr c, .only_one_mon
|
||||||
and a
|
and a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.no_pkmn
|
.no_mon
|
||||||
ld hl, .Text_NoPKMN
|
ld hl, .Text_NoMon
|
||||||
call MenuTextBoxBackup
|
call MenuTextBoxBackup
|
||||||
scf
|
scf
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.only_one_pkmn
|
.only_one_mon
|
||||||
ld hl, .Text_ItsYourLastPKMN
|
ld hl, .Text_ItsYourLastMon
|
||||||
call MenuTextBoxBackup
|
call MenuTextBoxBackup
|
||||||
scf
|
scf
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.Text_NoPKMN: ; 0xe52e
|
.Text_NoMon: ; 0xe52e
|
||||||
; You don't have a single #MON!
|
; You don't have a single #MON!
|
||||||
text_jump UnknownText_0x1c1062
|
text_jump UnknownText_0x1c1062
|
||||||
db "@"
|
db "@"
|
||||||
|
|
||||||
.Text_ItsYourLastPKMN: ; 0xe533
|
.Text_ItsYourLastMon: ; 0xe533
|
||||||
; You can't deposit your last #MON!
|
; You can't deposit your last #MON!
|
||||||
text_jump UnknownText_0x1c1080
|
text_jump UnknownText_0x1c1080
|
||||||
db "@"
|
db "@"
|
||||||
|
@ -289,7 +289,7 @@ HatchEggs: ; 16f70 (5:6f70)
|
|||||||
ld bc, MON_STAT_EXP - 1
|
ld bc, MON_STAT_EXP - 1
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld b, FALSE
|
ld b, FALSE
|
||||||
predef CalcPkmnStats
|
predef CalcMonStats
|
||||||
pop bc
|
pop bc
|
||||||
ld hl, MON_MAXHP
|
ld hl, MON_MAXHP
|
||||||
add hl, bc
|
add hl, bc
|
||||||
|
@ -95,7 +95,7 @@ Function170139: ; 170139
|
|||||||
ld [wMisc], a
|
ld [wMisc], a
|
||||||
ld a, l
|
ld a, l
|
||||||
ld [wMisc + 1], a
|
ld [wMisc + 1], a
|
||||||
ld hl, wBT_OTTempPkmn1DVs
|
ld hl, wBT_OTTempMon1DVs
|
||||||
ld a, [wPlayerID]
|
ld a, [wPlayerID]
|
||||||
ld [hli], a
|
ld [hli], a
|
||||||
ld a, [wPlayerID + 1]
|
ld a, [wPlayerID + 1]
|
||||||
@ -112,7 +112,7 @@ Function170139: ; 170139
|
|||||||
ld bc, wPlayerID
|
ld bc, wPlayerID
|
||||||
ld de, wPlayerGender
|
ld de, wPlayerGender
|
||||||
farcall GetMobileOTTrainerClass
|
farcall GetMobileOTTrainerClass
|
||||||
ld de, wBT_OTTempPkmn1CaughtGender
|
ld de, wBT_OTTempMon1CaughtGender
|
||||||
ld a, c
|
ld a, c
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
@ -279,59 +279,59 @@ RunBattleTowerTrainer: ; 17024d
|
|||||||
|
|
||||||
|
|
||||||
ReadBTTrainerParty: ; 1702b7
|
ReadBTTrainerParty: ; 1702b7
|
||||||
; Initialise the BattleTower-Trainer and his Pkmn
|
; Initialise the BattleTower-Trainer and his mon
|
||||||
call CopyBTTrainer_FromBT_OT_TowBT_OTTemp
|
call CopyBTTrainer_FromBT_OT_TowBT_OTTemp
|
||||||
|
|
||||||
; Check the nicknames for illegal characters, and replace bad nicknames
|
; Check the nicknames for illegal characters, and replace bad nicknames
|
||||||
; with their species names.
|
; with their species names.
|
||||||
ld de, wBT_OTTempPkmn1Name ; $c643
|
ld de, wBT_OTTempMon1Name ; $c643
|
||||||
ld c, MON_NAME_LENGTH
|
ld c, MON_NAME_LENGTH
|
||||||
farcall CheckStringForErrors
|
farcall CheckStringForErrors
|
||||||
jr nc, .skip_mon_1
|
jr nc, .skip_mon_1
|
||||||
|
|
||||||
ld a, [wBT_OTTempPkmn1]
|
ld a, [wBT_OTTempMon1]
|
||||||
ld [wNamedObjectIndexBuffer], a
|
ld [wNamedObjectIndexBuffer], a
|
||||||
call GetPokemonName
|
call GetPokemonName
|
||||||
ld l, e
|
ld l, e
|
||||||
ld h, d
|
ld h, d
|
||||||
ld de, wBT_OTTempPkmn1Name ; $c643
|
ld de, wBT_OTTempMon1Name ; $c643
|
||||||
ld bc, MON_NAME_LENGTH
|
ld bc, MON_NAME_LENGTH
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
|
|
||||||
.skip_mon_1
|
.skip_mon_1
|
||||||
ld de, wBT_OTTempPkmn2Name ; $c67e
|
ld de, wBT_OTTempMon2Name ; $c67e
|
||||||
ld c, MON_NAME_LENGTH
|
ld c, MON_NAME_LENGTH
|
||||||
farcall CheckStringForErrors
|
farcall CheckStringForErrors
|
||||||
jr nc, .skip_mon_2
|
jr nc, .skip_mon_2
|
||||||
ld a, [wBT_OTTempPkmn2] ; [$c64e]
|
ld a, [wBT_OTTempMon2] ; [$c64e]
|
||||||
ld [wNamedObjectIndexBuffer], a
|
ld [wNamedObjectIndexBuffer], a
|
||||||
call GetPokemonName
|
call GetPokemonName
|
||||||
ld l, e
|
ld l, e
|
||||||
ld h, d
|
ld h, d
|
||||||
ld de, wBT_OTTempPkmn2Name ; $c67e
|
ld de, wBT_OTTempMon2Name ; $c67e
|
||||||
ld bc, MON_NAME_LENGTH
|
ld bc, MON_NAME_LENGTH
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
|
|
||||||
.skip_mon_2
|
.skip_mon_2
|
||||||
ld de, wBT_OTTempPkmn3Name ; $c686 + 51 = $c6b9
|
ld de, wBT_OTTempMon3Name ; $c686 + 51 = $c6b9
|
||||||
ld c, MON_NAME_LENGTH
|
ld c, MON_NAME_LENGTH
|
||||||
farcall CheckStringForErrors
|
farcall CheckStringForErrors
|
||||||
jr nc, .skip_mon_3
|
jr nc, .skip_mon_3
|
||||||
ld a, [wBT_OTTempPkmn3] ; [$c689]
|
ld a, [wBT_OTTempMon3] ; [$c689]
|
||||||
ld [wNamedObjectIndexBuffer], a
|
ld [wNamedObjectIndexBuffer], a
|
||||||
call GetPokemonName
|
call GetPokemonName
|
||||||
ld l, e
|
ld l, e
|
||||||
ld h, d
|
ld h, d
|
||||||
ld de, wBT_OTTempPkmn3Name ; $c686 + 51 = $c6b9
|
ld de, wBT_OTTempMon3Name ; $c686 + 51 = $c6b9
|
||||||
ld bc, MON_NAME_LENGTH
|
ld bc, MON_NAME_LENGTH
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
|
|
||||||
.skip_mon_3
|
.skip_mon_3
|
||||||
; Add the terminator character to each of these names
|
; Add the terminator character to each of these names
|
||||||
ld a, "@"
|
ld a, "@"
|
||||||
ld [wBT_OTTempPkmn1NameEnd - 1], a ; $c64d
|
ld [wBT_OTTempMon1NameEnd - 1], a ; $c64d
|
||||||
ld [wBT_OTTempPkmn2NameEnd - 1], a ; $c688
|
ld [wBT_OTTempMon2NameEnd - 1], a ; $c688
|
||||||
ld [wBT_OTTempPkmn3NameEnd - 1], a ; $c68a + 57 = $c6c3
|
ld [wBT_OTTempMon3NameEnd - 1], a ; $c68a + 57 = $c6c3
|
||||||
; Fix errors in the movesets
|
; Fix errors in the movesets
|
||||||
call CheckBTMonMovesForErrors
|
call CheckBTMonMovesForErrors
|
||||||
; Repair the trainer name if needed, then copy it to wOTPlayerName
|
; Repair the trainer name if needed, then copy it to wOTPlayerName
|
||||||
@ -360,7 +360,7 @@ ReadBTTrainerParty: ; 1702b7
|
|||||||
ld a, HIGH(wOTPartyMonNicknames)
|
ld a, HIGH(wOTPartyMonNicknames)
|
||||||
ld [wBGMapBuffer + 1], a
|
ld [wBGMapBuffer + 1], a
|
||||||
|
|
||||||
; Copy Pkmn into Memory from the address in hl
|
; Copy mon into Memory from the address in hl
|
||||||
ld de, wOTPartyMon1Species
|
ld de, wOTPartyMon1Species
|
||||||
ld bc, wOTPartyCount
|
ld bc, wOTPartyCount
|
||||||
ld a, BATTLETOWER_PARTY_LENGTH
|
ld a, BATTLETOWER_PARTY_LENGTH
|
||||||
@ -398,7 +398,7 @@ ReadBTTrainerParty: ; 1702b7
|
|||||||
|
|
||||||
ValidateBTParty: ; 170394
|
ValidateBTParty: ; 170394
|
||||||
; Check for and fix errors in party data
|
; Check for and fix errors in party data
|
||||||
ld hl, wBT_OTTempPkmn1Species
|
ld hl, wBT_OTTempMon1Species
|
||||||
ld d, BATTLETOWER_PARTY_LENGTH
|
ld d, BATTLETOWER_PARTY_LENGTH
|
||||||
.pkmn_loop
|
.pkmn_loop
|
||||||
push de
|
push de
|
||||||
@ -483,8 +483,8 @@ endr
|
|||||||
push de
|
push de
|
||||||
ld hl, MON_STAT_EXP - 1
|
ld hl, MON_STAT_EXP - 1
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld b, $1
|
ld b, TRUE
|
||||||
predef CalcPkmnStats
|
predef CalcMonStats
|
||||||
pop de
|
pop de
|
||||||
pop hl
|
pop hl
|
||||||
dec de
|
dec de
|
||||||
|
@ -12,9 +12,9 @@ Function_LoadOpponentTrainerAndPokemons: ; 1f8000
|
|||||||
|
|
||||||
; Write $ff into the Item-Slots
|
; Write $ff into the Item-Slots
|
||||||
ld a, $ff
|
ld a, $ff
|
||||||
ld [wBT_OTPkmn1Item], a
|
ld [wBT_OTMon1Item], a
|
||||||
ld [wBT_OTPkmn2Item], a
|
ld [wBT_OTMon2Item], a
|
||||||
ld [wBT_OTPkmn3Item], a
|
ld [wBT_OTMon3Item], a
|
||||||
|
|
||||||
; Set wBT_OTTrainer as start address to write the following data to
|
; Set wBT_OTTrainer as start address to write the following data to
|
||||||
ld de, wBT_OTTrainer
|
ld de, wBT_OTTrainer
|
||||||
@ -32,8 +32,8 @@ if DEF(_CRYSTAL11)
|
|||||||
else
|
else
|
||||||
; Crystal 1.0 used the wrong constant here, so only the first 21
|
; Crystal 1.0 used the wrong constant here, so only the first 21
|
||||||
; trainers in BattleTowerTrainers can be sampled.
|
; trainers in BattleTowerTrainers can be sampled.
|
||||||
maskbits BATTLETOWER_NUM_UNIQUE_PKMN
|
maskbits BATTLETOWER_NUM_UNIQUE_MON
|
||||||
cp BATTLETOWER_NUM_UNIQUE_PKMN
|
cp BATTLETOWER_NUM_UNIQUE_MON
|
||||||
endc
|
endc
|
||||||
jr nc, .resample
|
jr nc, .resample
|
||||||
ld b, a
|
ld b, a
|
||||||
@ -68,7 +68,7 @@ endc
|
|||||||
ld bc, NAME_LENGTH
|
ld bc, NAME_LENGTH
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
|
|
||||||
call Function_LoadRandomBattleTowerPkmn
|
call Function_LoadRandomBattleTowerMon
|
||||||
pop af
|
pop af
|
||||||
|
|
||||||
ld hl, BattleTowerTrainerData
|
ld hl, BattleTowerTrainerData
|
||||||
@ -92,15 +92,15 @@ endc
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
||||||
Function_LoadRandomBattleTowerPkmn: ; 1f8081
|
Function_LoadRandomBattleTowerMon: ; 1f8081
|
||||||
ld c, BATTLETOWER_PARTY_LENGTH
|
ld c, BATTLETOWER_PARTY_LENGTH
|
||||||
.loop
|
.loop
|
||||||
push bc
|
push bc
|
||||||
ld a, BANK(sBTPkmnPrevTrainer1)
|
ld a, BANK(sBTMonPrevTrainer1)
|
||||||
call GetSRAMBank
|
call GetSRAMBank
|
||||||
|
|
||||||
.FindARandomBattleTowerPkmn:
|
.FindARandomBattleTowerMon:
|
||||||
; From Which LevelGroup are the Pkmn loaded
|
; From Which LevelGroup are the mon loaded
|
||||||
; a = 1..10
|
; a = 1..10
|
||||||
ld a, [wBTChoiceOfLvlGroup]
|
ld a, [wBTChoiceOfLvlGroup]
|
||||||
dec a
|
dec a
|
||||||
@ -115,12 +115,12 @@ Function_LoadRandomBattleTowerPkmn: ; 1f8081
|
|||||||
ld a, [hRandomAdd]
|
ld a, [hRandomAdd]
|
||||||
add b
|
add b
|
||||||
ld b, a
|
ld b, a
|
||||||
maskbits BATTLETOWER_NUM_UNIQUE_PKMN
|
maskbits BATTLETOWER_NUM_UNIQUE_MON
|
||||||
cp BATTLETOWER_NUM_UNIQUE_PKMN
|
cp BATTLETOWER_NUM_UNIQUE_MON
|
||||||
jr nc, .resample
|
jr nc, .resample
|
||||||
; in register 'a' is the chosen Pkmn of the LevelGroup
|
; in register 'a' is the chosen mon of the LevelGroup
|
||||||
|
|
||||||
; Check if Pkmn was already loaded before
|
; Check if mon was already loaded before
|
||||||
; Check current and the 2 previous teams
|
; Check current and the 2 previous teams
|
||||||
; includes check if item is double at the current team
|
; includes check if item is double at the current team
|
||||||
ld bc, PARTYMON_STRUCT_LENGTH + MON_NAME_LENGTH
|
ld bc, PARTYMON_STRUCT_LENGTH + MON_NAME_LENGTH
|
||||||
@ -129,42 +129,42 @@ Function_LoadRandomBattleTowerPkmn: ; 1f8081
|
|||||||
ld b, a
|
ld b, a
|
||||||
ld a, [hld]
|
ld a, [hld]
|
||||||
ld c, a
|
ld c, a
|
||||||
ld a, [wBT_OTPkmn1]
|
ld a, [wBT_OTMon1]
|
||||||
cp b
|
cp b
|
||||||
jr z, .FindARandomBattleTowerPkmn
|
jr z, .FindARandomBattleTowerMon
|
||||||
ld a, [wBT_OTPkmn1Item]
|
ld a, [wBT_OTMon1Item]
|
||||||
cp c
|
cp c
|
||||||
jr z, .FindARandomBattleTowerPkmn
|
jr z, .FindARandomBattleTowerMon
|
||||||
ld a, [wBT_OTPkmn2]
|
ld a, [wBT_OTMon2]
|
||||||
cp b
|
cp b
|
||||||
jr z, .FindARandomBattleTowerPkmn
|
jr z, .FindARandomBattleTowerMon
|
||||||
ld a, [wBT_OTPkmn2Item]
|
ld a, [wBT_OTMon2Item]
|
||||||
cp c
|
cp c
|
||||||
jr z, .FindARandomBattleTowerPkmn
|
jr z, .FindARandomBattleTowerMon
|
||||||
ld a, [wBT_OTPkmn3]
|
ld a, [wBT_OTMon3]
|
||||||
cp b
|
cp b
|
||||||
jr z, .FindARandomBattleTowerPkmn
|
jr z, .FindARandomBattleTowerMon
|
||||||
ld a, [wBT_OTPkmn3Item]
|
ld a, [wBT_OTMon3Item]
|
||||||
cp c
|
cp c
|
||||||
jr z, .FindARandomBattleTowerPkmn
|
jr z, .FindARandomBattleTowerMon
|
||||||
ld a, [sBTPkmnPrevTrainer1]
|
ld a, [sBTMonPrevTrainer1]
|
||||||
cp b
|
cp b
|
||||||
jr z, .FindARandomBattleTowerPkmn
|
jr z, .FindARandomBattleTowerMon
|
||||||
ld a, [sBTPkmnPrevTrainer2]
|
ld a, [sBTMonPrevTrainer2]
|
||||||
cp b
|
cp b
|
||||||
jr z, .FindARandomBattleTowerPkmn
|
jr z, .FindARandomBattleTowerMon
|
||||||
ld a, [sBTPkmnPrevTrainer3]
|
ld a, [sBTMonPrevTrainer3]
|
||||||
cp b
|
cp b
|
||||||
jr z, .FindARandomBattleTowerPkmn
|
jr z, .FindARandomBattleTowerMon
|
||||||
ld a, [sBTPkmnPrevPrevTrainer1]
|
ld a, [sBTMonPrevPrevTrainer1]
|
||||||
cp b
|
cp b
|
||||||
jr z, .FindARandomBattleTowerPkmn
|
jr z, .FindARandomBattleTowerMon
|
||||||
ld a, [sBTPkmnPrevPrevTrainer2]
|
ld a, [sBTMonPrevPrevTrainer2]
|
||||||
cp b
|
cp b
|
||||||
jr z, .FindARandomBattleTowerPkmn
|
jr z, .FindARandomBattleTowerMon
|
||||||
ld a, [sBTPkmnPrevPrevTrainer3]
|
ld a, [sBTMonPrevPrevTrainer3]
|
||||||
cp b
|
cp b
|
||||||
jr z, .FindARandomBattleTowerPkmn
|
jr z, .FindARandomBattleTowerMon
|
||||||
|
|
||||||
ld bc, PARTYMON_STRUCT_LENGTH + MON_NAME_LENGTH
|
ld bc, PARTYMON_STRUCT_LENGTH + MON_NAME_LENGTH
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
@ -193,18 +193,18 @@ Function_LoadRandomBattleTowerPkmn: ; 1f8081
|
|||||||
dec c
|
dec c
|
||||||
jp nz, .loop
|
jp nz, .loop
|
||||||
|
|
||||||
ld a, [sBTPkmnPrevTrainer1]
|
ld a, [sBTMonPrevTrainer1]
|
||||||
ld [sBTPkmnPrevPrevTrainer1], a
|
ld [sBTMonPrevPrevTrainer1], a
|
||||||
ld a, [sBTPkmnPrevTrainer2]
|
ld a, [sBTMonPrevTrainer2]
|
||||||
ld [sBTPkmnPrevPrevTrainer2], a
|
ld [sBTMonPrevPrevTrainer2], a
|
||||||
ld a, [sBTPkmnPrevTrainer3]
|
ld a, [sBTMonPrevTrainer3]
|
||||||
ld [sBTPkmnPrevPrevTrainer3], a
|
ld [sBTMonPrevPrevTrainer3], a
|
||||||
ld a, [wBT_OTPkmn1]
|
ld a, [wBT_OTMon1]
|
||||||
ld [sBTPkmnPrevTrainer1], a
|
ld [sBTMonPrevTrainer1], a
|
||||||
ld a, [wBT_OTPkmn2]
|
ld a, [wBT_OTMon2]
|
||||||
ld [sBTPkmnPrevTrainer2], a
|
ld [sBTMonPrevTrainer2], a
|
||||||
ld a, [wBT_OTPkmn3]
|
ld a, [wBT_OTMon3]
|
||||||
ld [sBTPkmnPrevTrainer3], a
|
ld [sBTMonPrevTrainer3], a
|
||||||
call CloseSRAM
|
call CloseSRAM
|
||||||
ret
|
ret
|
||||||
; 1f814e
|
; 1f814e
|
||||||
|
@ -56,9 +56,9 @@ _CheckForBattleTowerRules: ; 8b201
|
|||||||
|
|
||||||
.TextPointers: ; 8b222
|
.TextPointers: ; 8b222
|
||||||
dw JumpText_ExcuseMeYoureNotReady
|
dw JumpText_ExcuseMeYoureNotReady
|
||||||
dw JumpText_OnlyThreePkmnMayBeEntered
|
dw JumpText_OnlyThreeMonMayBeEntered
|
||||||
dw JumpText_ThePkmnMustAllBeDifferentKinds
|
dw JumpText_TheMonMustAllBeDifferentKinds
|
||||||
dw JumpText_ThePkmnMustNotHoldTheSameItems
|
dw JumpText_TheMonMustNotHoldTheSameItems
|
||||||
dw JumpText_YouCantTakeAnEgg
|
dw JumpText_YouCantTakeAnEgg
|
||||||
; 8b22c
|
; 8b22c
|
||||||
|
|
||||||
@ -92,21 +92,21 @@ JumpText_EggDoesNotQualify: ; 0x8b242
|
|||||||
db "@"
|
db "@"
|
||||||
; 0x8b247
|
; 0x8b247
|
||||||
|
|
||||||
JumpText_OnlyThreePkmnMayBeEntered: ; 0x8b247
|
JumpText_OnlyThreeMonMayBeEntered: ; 0x8b247
|
||||||
; Only three #MON may be entered.
|
; Only three #MON may be entered.
|
||||||
text_jump Text_OnlyThreePkmnMayBeEntered
|
text_jump Text_OnlyThreeMonMayBeEntered
|
||||||
db "@"
|
db "@"
|
||||||
; 0x8b24c
|
; 0x8b24c
|
||||||
|
|
||||||
JumpText_ThePkmnMustAllBeDifferentKinds: ; 0x8b24c
|
JumpText_TheMonMustAllBeDifferentKinds: ; 0x8b24c
|
||||||
; The @ #MON must all be different kinds.
|
; The @ #MON must all be different kinds.
|
||||||
text_jump Text_ThePkmnMustAllBeDifferentKinds
|
text_jump Text_TheMonMustAllBeDifferentKinds
|
||||||
db "@"
|
db "@"
|
||||||
; 0x8b251
|
; 0x8b251
|
||||||
|
|
||||||
JumpText_ThePkmnMustNotHoldTheSameItems: ; 0x8b251
|
JumpText_TheMonMustNotHoldTheSameItems: ; 0x8b251
|
||||||
; The @ #MON must not hold the same items.
|
; The @ #MON must not hold the same items.
|
||||||
text_jump Text_ThePkmnMustNotHoldTheSameItems
|
text_jump Text_TheMonMustNotHoldTheSameItems
|
||||||
db "@"
|
db "@"
|
||||||
; 0x8b256
|
; 0x8b256
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ DayCareMan: ; 166d6
|
|||||||
call GetPriceToRetrieveBreedmon
|
call GetPriceToRetrieveBreedmon
|
||||||
call DayCare_AskWithdrawBreedMon
|
call DayCare_AskWithdrawBreedMon
|
||||||
jr c, .print_text
|
jr c, .print_text
|
||||||
farcall RetrievePokemonFromDayCareMan
|
farcall RetrieveMonFromDayCareMan
|
||||||
call DayCare_GetBackMonForMoney
|
call DayCare_GetBackMonForMoney
|
||||||
ld hl, wDayCareMan
|
ld hl, wDayCareMan
|
||||||
res DAYCAREMAN_HAS_MON_F, [hl]
|
res DAYCAREMAN_HAS_MON_F, [hl]
|
||||||
@ -83,7 +83,7 @@ DayCareLady: ; 1672a
|
|||||||
call GetPriceToRetrieveBreedmon
|
call GetPriceToRetrieveBreedmon
|
||||||
call DayCare_AskWithdrawBreedMon
|
call DayCare_AskWithdrawBreedMon
|
||||||
jr c, .print_text
|
jr c, .print_text
|
||||||
farcall RetrievePokemonFromDayCareLady
|
farcall RetrieveMonFromDayCareLady
|
||||||
call DayCare_GetBackMonForMoney
|
call DayCare_GetBackMonForMoney
|
||||||
ld hl, wDayCareLady
|
ld hl, wDayCareLady
|
||||||
res DAYCARELADY_HAS_MON_F, [hl]
|
res DAYCARELADY_HAS_MON_F, [hl]
|
||||||
@ -566,8 +566,8 @@ DayCare_GiveEgg: ; 169ac
|
|||||||
ld e, l
|
ld e, l
|
||||||
pop hl
|
pop hl
|
||||||
push bc
|
push bc
|
||||||
ld b, $0
|
ld b, FALSE
|
||||||
predef CalcPkmnStats
|
predef CalcMonStats
|
||||||
pop bc
|
pop bc
|
||||||
ld hl, MON_HP
|
ld hl, MON_HP
|
||||||
add hl, bc
|
add hl, bc
|
||||||
|
@ -185,8 +185,8 @@ DoNPCTrade: ; fcc63
|
|||||||
ld a, [wOTTrademonSpecies]
|
ld a, [wOTTrademonSpecies]
|
||||||
ld [wCurPartySpecies], a
|
ld [wCurPartySpecies], a
|
||||||
xor a
|
xor a
|
||||||
ld [wMonType], a
|
ld [wMonType], a ; PARTYMON
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a ; REMOVE_PARTY
|
||||||
callfar RemoveMonFromPartyOrBox
|
callfar RemoveMonFromPartyOrBox
|
||||||
predef TryAddMonToParty
|
predef TryAddMonToParty
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ DoPoisonStep:: ; 505da
|
|||||||
ld a, [wPartyCount]
|
ld a, [wPartyCount]
|
||||||
cp [hl]
|
cp [hl]
|
||||||
jr nz, .party_loop
|
jr nz, .party_loop
|
||||||
predef CheckPlayerPartyForFitPkmn
|
predef CheckPlayerPartyForFitMon
|
||||||
ld a, d
|
ld a, d
|
||||||
ld [wScriptVar], a
|
ld [wScriptVar], a
|
||||||
ret
|
ret
|
||||||
|
@ -118,7 +118,7 @@ ReturnShuckle: ; 737e
|
|||||||
cp 150
|
cp 150
|
||||||
ld a, SHUCKIE_HAPPY
|
ld a, SHUCKIE_HAPPY
|
||||||
jr nc, .HappyToStayWithYou
|
jr nc, .HappyToStayWithYou
|
||||||
xor a ; take from pc
|
xor a ; REMOVE_PARTY
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
callfar RemoveMonFromPartyOrBox
|
callfar RemoveMonFromPartyOrBox
|
||||||
ld a, SHUCKIE_RETURNED
|
ld a, SHUCKIE_RETURNED
|
||||||
|
@ -55,7 +55,7 @@ EvolveAfterBattle_MasterLoop
|
|||||||
push hl
|
push hl
|
||||||
xor a
|
xor a
|
||||||
ld [wMonType], a
|
ld [wMonType], a
|
||||||
predef CopyPkmnToTempMon
|
predef CopyMonToTempMon
|
||||||
pop hl
|
pop hl
|
||||||
|
|
||||||
.loop
|
.loop
|
||||||
@ -264,8 +264,8 @@ EvolveAfterBattle_MasterLoop
|
|||||||
|
|
||||||
ld hl, wTempMonExp + 2
|
ld hl, wTempMonExp + 2
|
||||||
ld de, wTempMonMaxHP
|
ld de, wTempMonMaxHP
|
||||||
ld b, $1
|
ld b, TRUE
|
||||||
predef CalcPkmnStats
|
predef CalcMonStats
|
||||||
|
|
||||||
ld a, [wCurPartyMon]
|
ld a, [wCurPartyMon]
|
||||||
ld hl, wPartyMons
|
ld hl, wPartyMons
|
||||||
|
@ -604,7 +604,7 @@ PokeBallEffect: ; e8a2
|
|||||||
.SendToPC:
|
.SendToPC:
|
||||||
call ClearSprites
|
call ClearSprites
|
||||||
|
|
||||||
predef SendPkmnIntoBox
|
predef SendMonIntoBox
|
||||||
|
|
||||||
farcall SetBoxMonCaughtData
|
farcall SetBoxMonCaughtData
|
||||||
|
|
||||||
@ -1250,8 +1250,8 @@ UpdateStatsAfterItem: ; ee8c
|
|||||||
ld e, l
|
ld e, l
|
||||||
ld a, MON_STAT_EXP - 1
|
ld a, MON_STAT_EXP - 1
|
||||||
call GetPartyParamLocation
|
call GetPartyParamLocation
|
||||||
ld b, $1
|
ld b, TRUE
|
||||||
predef_jump CalcPkmnStats
|
predef_jump CalcMonStats
|
||||||
; ee9f
|
; ee9f
|
||||||
|
|
||||||
RareCandy_StatBooster_ExitMenu: ; ee9f
|
RareCandy_StatBooster_ExitMenu: ; ee9f
|
||||||
@ -1390,7 +1390,7 @@ RareCandyEffect: ; ef14
|
|||||||
|
|
||||||
xor a ; PARTYMON
|
xor a ; PARTYMON
|
||||||
ld [wMonType], a
|
ld [wMonType], a
|
||||||
predef CopyPkmnToTempMon
|
predef CopyMonToTempMon
|
||||||
|
|
||||||
hlcoord 9, 0
|
hlcoord 9, 0
|
||||||
ld b, 10
|
ld b, 10
|
||||||
@ -1791,13 +1791,13 @@ UseItem_SelectMon: ; f1f9 (3:71f9)
|
|||||||
push de
|
push de
|
||||||
push bc
|
push bc
|
||||||
call ClearBGPalettes
|
call ClearBGPalettes
|
||||||
call ChoosePkmnToUseItemOn
|
call ChooseMonToUseItemOn
|
||||||
pop bc
|
pop bc
|
||||||
pop de
|
pop de
|
||||||
pop hl
|
pop hl
|
||||||
ret
|
ret
|
||||||
|
|
||||||
ChoosePkmnToUseItemOn: ; f21c (3:721c)
|
ChooseMonToUseItemOn: ; f21c (3:721c)
|
||||||
farcall LoadPartyMenuGFX
|
farcall LoadPartyMenuGFX
|
||||||
farcall InitPartyMenuWithCancel
|
farcall InitPartyMenuWithCancel
|
||||||
farcall InitPartyMenuGFX
|
farcall InitPartyMenuGFX
|
||||||
@ -2099,7 +2099,7 @@ Softboiled_MilkDrinkFunction: ; f3df (3:73df)
|
|||||||
push bc
|
push bc
|
||||||
ld a, PARTYMENUACTION_HEALING_ITEM
|
ld a, PARTYMENUACTION_HEALING_ITEM
|
||||||
ld [wPartyMenuActionText], a
|
ld [wPartyMenuActionText], a
|
||||||
call ChoosePkmnToUseItemOn
|
call ChooseMonToUseItemOn
|
||||||
pop bc
|
pop bc
|
||||||
jr c, .set_carry
|
jr c, .set_carry
|
||||||
ld a, [wPartyMenuCursor]
|
ld a, [wPartyMenuCursor]
|
||||||
@ -2412,7 +2412,7 @@ RestorePPEffect: ; f5bf
|
|||||||
ld [wd002], a
|
ld [wd002], a
|
||||||
|
|
||||||
.loop
|
.loop
|
||||||
; Party Screen opens to choose on which Pkmn to use the Item
|
; Party Screen opens to choose on which mon to use the Item
|
||||||
ld b, PARTYMENUACTION_HEALING_ITEM
|
ld b, PARTYMENUACTION_HEALING_ITEM
|
||||||
call UseItem_SelectMon
|
call UseItem_SelectMon
|
||||||
jp c, PPRestoreItem_Cancel
|
jp c, PPRestoreItem_Cancel
|
||||||
|
@ -790,7 +790,7 @@ Link_PrepPartyData_Gen1: ; 28499
|
|||||||
add hl, bc
|
add hl, bc
|
||||||
ld c, STAT_SATK
|
ld c, STAT_SATK
|
||||||
ld b, TRUE
|
ld b, TRUE
|
||||||
predef CalcPkmnStatC
|
predef CalcMonStatC
|
||||||
|
|
||||||
pop bc
|
pop bc
|
||||||
pop de
|
pop de
|
||||||
@ -1069,7 +1069,7 @@ Function2868a: ; 2868a
|
|||||||
add hl, bc
|
add hl, bc
|
||||||
ld c, STAT_SATK
|
ld c, STAT_SATK
|
||||||
ld b, TRUE
|
ld b, TRUE
|
||||||
predef CalcPkmnStatC
|
predef CalcMonStatC
|
||||||
pop bc
|
pop bc
|
||||||
pop hl
|
pop hl
|
||||||
ld a, [hQuotient + 1]
|
ld a, [hQuotient + 1]
|
||||||
@ -1082,7 +1082,7 @@ Function2868a: ; 2868a
|
|||||||
add hl, bc
|
add hl, bc
|
||||||
ld c, STAT_SDEF
|
ld c, STAT_SDEF
|
||||||
ld b, TRUE
|
ld b, TRUE
|
||||||
predef CalcPkmnStatC
|
predef CalcMonStatC
|
||||||
pop bc
|
pop bc
|
||||||
pop hl
|
pop hl
|
||||||
ld a, [hQuotient + 1]
|
ld a, [hQuotient + 1]
|
||||||
@ -1863,7 +1863,7 @@ LinkTrade: ; 28b87
|
|||||||
add hl, bc
|
add hl, bc
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
ld [wd002], a
|
ld [wd002], a
|
||||||
xor a
|
xor a ; REMOVE_PARTY
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
callfar RemoveMonFromPartyOrBox
|
callfar RemoveMonFromPartyOrBox
|
||||||
ld a, [wPartyCount]
|
ld a, [wPartyCount]
|
||||||
|
@ -175,7 +175,7 @@ CheckPokeItem:: ; 44654
|
|||||||
farcall CheckCurPartyMonFainted
|
farcall CheckCurPartyMonFainted
|
||||||
ld a, POKEMAIL_LAST_MON
|
ld a, POKEMAIL_LAST_MON
|
||||||
jr c, .close_sram_return
|
jr c, .close_sram_return
|
||||||
xor a
|
xor a ; REMOVE_PARTY
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
farcall RemoveMonFromPartyOrBox
|
farcall RemoveMonFromPartyOrBox
|
||||||
ld a, POKEMAIL_CORRECT
|
ld a, POKEMAIL_CORRECT
|
||||||
|
@ -343,7 +343,7 @@ Unused_PlaceEnemyHPLevel:
|
|||||||
call GetNick
|
call GetNick
|
||||||
pop hl
|
pop hl
|
||||||
call PlaceString
|
call PlaceString
|
||||||
call CopyPkmnToTempMon
|
call CopyMonToTempMon
|
||||||
pop hl
|
pop hl
|
||||||
ld a, [wCurPartySpecies]
|
ld a, [wCurPartySpecies]
|
||||||
cp EGG
|
cp EGG
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
TryAddMonToParty: ; d88c
|
TryAddMonToParty: ; d88c
|
||||||
; Check if to copy wild Pkmn or generate new Pkmn
|
; Check if to copy wild mon or generate a new one
|
||||||
; Whose is it?
|
; Whose is it?
|
||||||
ld de, wPartyCount
|
ld de, wPartyCount
|
||||||
ld a, [wMonType]
|
ld a, [wMonType]
|
||||||
@ -47,6 +47,7 @@ TryAddMonToParty: ; d88c
|
|||||||
ld hl, wPlayerName
|
ld hl, wPlayerName
|
||||||
ld bc, NAME_LENGTH
|
ld bc, NAME_LENGTH
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
|
; Only initialize the nickname for party mon
|
||||||
ld a, [wMonType]
|
ld a, [wMonType]
|
||||||
and a
|
and a
|
||||||
jr nz, .skipnickname
|
jr nz, .skipnickname
|
||||||
@ -76,24 +77,34 @@ TryAddMonToParty: ; d88c
|
|||||||
ld bc, PARTYMON_STRUCT_LENGTH
|
ld bc, PARTYMON_STRUCT_LENGTH
|
||||||
call AddNTimes
|
call AddNTimes
|
||||||
GeneratePartyMonStats: ; d906
|
GeneratePartyMonStats: ; d906
|
||||||
|
; wBattleMode specifies whether it's a wild mon or not.
|
||||||
|
; wMonType specifies whether it's an opposing mon or not.
|
||||||
|
; wCurPartySpecies/wCurPartyLevel specify the species and level.
|
||||||
|
; hl points to the wPartyMon struct to fill.
|
||||||
|
|
||||||
ld e, l
|
ld e, l
|
||||||
ld d, h
|
ld d, h
|
||||||
push hl
|
push hl
|
||||||
|
|
||||||
|
; Initialize the species
|
||||||
ld a, [wCurPartySpecies]
|
ld a, [wCurPartySpecies]
|
||||||
ld [wCurSpecies], a
|
ld [wCurSpecies], a
|
||||||
call GetBaseData
|
call GetBaseData
|
||||||
ld a, [wBaseDexNo]
|
ld a, [wBaseDexNo]
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
|
||||||
|
; Copy the item if it's a wild mon
|
||||||
ld a, [wBattleMode]
|
ld a, [wBattleMode]
|
||||||
and a
|
and a
|
||||||
ld a, $0
|
ld a, $0
|
||||||
jr z, .skipitem
|
jr z, .skipitem
|
||||||
ld a, [wEnemyMonItem]
|
ld a, [wEnemyMonItem]
|
||||||
|
|
||||||
.skipitem
|
.skipitem
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
|
||||||
|
; Copy the moves if it's a wild mon
|
||||||
push de
|
push de
|
||||||
ld h, d
|
ld h, d
|
||||||
ld l, e
|
ld l, e
|
||||||
@ -124,15 +135,19 @@ GeneratePartyMonStats: ; d906
|
|||||||
|
|
||||||
.next
|
.next
|
||||||
pop de
|
pop de
|
||||||
rept 4
|
rept NUM_MOVES
|
||||||
inc de
|
inc de
|
||||||
endr
|
endr
|
||||||
|
|
||||||
|
; Initialize ID.
|
||||||
ld a, [wPlayerID]
|
ld a, [wPlayerID]
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
ld a, [wPlayerID + 1]
|
ld a, [wPlayerID + 1]
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
|
||||||
|
; Initialize Exp.
|
||||||
push de
|
push de
|
||||||
ld a, [wCurPartyLevel]
|
ld a, [wCurPartyLevel]
|
||||||
ld d, a
|
ld d, a
|
||||||
@ -147,24 +162,28 @@ endr
|
|||||||
ld a, [hProduct + 3]
|
ld a, [hProduct + 3]
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
|
||||||
|
; Initialize stat experience.
|
||||||
xor a
|
xor a
|
||||||
ld b, $a
|
ld b, MON_DVS - MON_STAT_EXP
|
||||||
.loop
|
.loop
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
dec b
|
dec b
|
||||||
jr nz, .loop
|
jr nz, .loop
|
||||||
|
|
||||||
pop hl
|
pop hl
|
||||||
push hl
|
push hl
|
||||||
ld a, [wMonType]
|
ld a, [wMonType]
|
||||||
and $f
|
and $f
|
||||||
jr z, .generateDVs
|
jr z, .registerpokedex
|
||||||
|
|
||||||
push hl
|
push hl
|
||||||
farcall GetTrainerDVs
|
farcall GetTrainerDVs
|
||||||
pop hl
|
pop hl
|
||||||
jr .initializetrainermonstats
|
jr .initializeDVs
|
||||||
|
|
||||||
.generateDVs
|
.registerpokedex
|
||||||
ld a, [wCurPartySpecies]
|
ld a, [wCurPartySpecies]
|
||||||
ld [wd265], a
|
ld [wd265], a
|
||||||
dec a
|
dec a
|
||||||
@ -174,23 +193,26 @@ endr
|
|||||||
dec a
|
dec a
|
||||||
call SetSeenAndCaughtMon
|
call SetSeenAndCaughtMon
|
||||||
pop de
|
pop de
|
||||||
|
|
||||||
pop hl
|
pop hl
|
||||||
push hl
|
push hl
|
||||||
ld a, [wBattleMode]
|
ld a, [wBattleMode]
|
||||||
and a
|
and a
|
||||||
jr nz, .copywildmonstats
|
jr nz, .copywildmonDVs
|
||||||
|
|
||||||
call Random
|
call Random
|
||||||
ld b, a
|
ld b, a
|
||||||
call Random
|
call Random
|
||||||
ld c, a
|
ld c, a
|
||||||
|
.initializeDVs
|
||||||
.initializetrainermonstats
|
|
||||||
ld a, b
|
ld a, b
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
ld a, c
|
ld a, c
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
|
||||||
|
; Initialize PP.
|
||||||
push hl
|
push hl
|
||||||
push de
|
push de
|
||||||
inc hl
|
inc hl
|
||||||
@ -201,39 +223,52 @@ endr
|
|||||||
rept 4
|
rept 4
|
||||||
inc de
|
inc de
|
||||||
endr
|
endr
|
||||||
ld a, 70
|
|
||||||
|
; Initialize happiness.
|
||||||
|
ld a, BASE_HAPPINESS
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
|
||||||
xor a
|
xor a
|
||||||
|
; PokerusStatus
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
; CaughtData/CaughtTime/CaughtLevel
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
; CaughtGender/CaughtLocation
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
|
||||||
|
; Initialize level.
|
||||||
ld a, [wCurPartyLevel]
|
ld a, [wCurPartyLevel]
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
|
||||||
xor a
|
xor a
|
||||||
|
; Status
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
; Unused
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
ld bc, 10
|
|
||||||
|
; Initialize HP.
|
||||||
|
ld bc, MON_STAT_EXP - 1
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld a, $1
|
ld a, 1
|
||||||
ld c, a
|
ld c, a
|
||||||
ld b, FALSE
|
ld b, FALSE
|
||||||
call CalcPkmnStatC
|
call CalcMonStatC
|
||||||
ld a, [hProduct + 2]
|
ld a, [hProduct + 2]
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
ld a, [hProduct + 3]
|
ld a, [hProduct + 3]
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
jr .next2
|
jr .initstats
|
||||||
|
|
||||||
.copywildmonstats
|
.copywildmonDVs
|
||||||
ld a, [wEnemyMonDVs]
|
ld a, [wEnemyMonDVs]
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
@ -252,19 +287,27 @@ endr
|
|||||||
jr nz, .wildmonpploop
|
jr nz, .wildmonpploop
|
||||||
pop hl
|
pop hl
|
||||||
|
|
||||||
|
; Initialize happiness.
|
||||||
ld a, BASE_HAPPINESS
|
ld a, BASE_HAPPINESS
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
|
||||||
xor a
|
xor a
|
||||||
|
; PokerusStatus
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
; CaughtData/CaughtTime/CaughtLevel
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
; CaughtGender/CaughtLocation
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
|
||||||
|
; Initialize level.
|
||||||
ld a, [wCurPartyLevel]
|
ld a, [wCurPartyLevel]
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
|
||||||
ld hl, wEnemyMonStatus
|
ld hl, wEnemyMonStatus
|
||||||
; Copy wEnemyMonStatus
|
; Copy wEnemyMonStatus
|
||||||
ld a, [hli]
|
ld a, [hli]
|
||||||
@ -282,24 +325,24 @@ endr
|
|||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
|
|
||||||
.next2
|
.initstats
|
||||||
ld a, [wBattleMode]
|
ld a, [wBattleMode]
|
||||||
dec a
|
dec a
|
||||||
jr nz, .generatestats
|
jr nz, .generatestats
|
||||||
ld hl, wEnemyMonMaxHP
|
ld hl, wEnemyMonMaxHP
|
||||||
ld bc, 2 * 6 ; MaxHP + 5 Stats
|
ld bc, PARTYMON_STRUCT_LENGTH - MON_MAXHP
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
pop hl
|
pop hl
|
||||||
jr .next3
|
jr .registerunowndex
|
||||||
|
|
||||||
.generatestats
|
.generatestats
|
||||||
pop hl
|
pop hl
|
||||||
ld bc, MON_STAT_EXP - 1
|
ld bc, MON_STAT_EXP - 1
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld b, $0 ; if b = 1, then stat calculation takes stat exp into account.
|
ld b, FALSE
|
||||||
call CalcPkmnStats
|
call CalcMonStats
|
||||||
|
|
||||||
.next3
|
.registerunowndex
|
||||||
ld a, [wMonType]
|
ld a, [wMonType]
|
||||||
and $f
|
and $f
|
||||||
jr nz, .done
|
jr nz, .done
|
||||||
@ -434,12 +477,12 @@ AddTempmonToParty: ; da96
|
|||||||
and a
|
and a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
SendGetPkmnIntoFromBox: ; db3f
|
SendGetMonIntoFromBox: ; db3f
|
||||||
; Sents/Gets Pkmn into/from Box depending on Parameter
|
; Sents/Gets mon into/from Box depending on Parameter
|
||||||
; wPokemonWithdrawDepositParameter == 0: get Pkmn into Party
|
; wPokemonWithdrawDepositParameter == 0: get mon into Party
|
||||||
; wPokemonWithdrawDepositParameter == 1: sent Pkmn into Box
|
; wPokemonWithdrawDepositParameter == 1: sent mon into Box
|
||||||
; wPokemonWithdrawDepositParameter == 2: get Pkmn from DayCare
|
; wPokemonWithdrawDepositParameter == 2: get mon from DayCare
|
||||||
; wPokemonWithdrawDepositParameter == 3: put Pkmn into DayCare
|
; wPokemonWithdrawDepositParameter == 3: put mon into DayCare
|
||||||
|
|
||||||
ld a, BANK(sBoxCount)
|
ld a, BANK(sBoxCount)
|
||||||
call GetSRAMBank
|
call GetSRAMBank
|
||||||
@ -452,7 +495,7 @@ SendGetPkmnIntoFromBox: ; db3f
|
|||||||
ld hl, wBreedMon1Species
|
ld hl, wBreedMon1Species
|
||||||
jr z, .breedmon
|
jr z, .breedmon
|
||||||
|
|
||||||
; we want to sent a Pkmn into the Box
|
; we want to sent a mon into the Box
|
||||||
; so check if there's enough space
|
; so check if there's enough space
|
||||||
ld hl, sBoxCount
|
ld hl, sBoxCount
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
@ -597,7 +640,7 @@ SendGetPkmnIntoFromBox: ; db3f
|
|||||||
srl a
|
srl a
|
||||||
add $2
|
add $2
|
||||||
ld [wMonType], a
|
ld [wMonType], a
|
||||||
predef CopyPkmnToTempMon
|
predef CopyMonToTempMon
|
||||||
callfar CalcLevel
|
callfar CalcLevel
|
||||||
ld a, d
|
ld a, d
|
||||||
ld [wCurPartyLevel], a
|
ld [wCurPartyLevel], a
|
||||||
@ -616,8 +659,8 @@ SendGetPkmnIntoFromBox: ; db3f
|
|||||||
add hl, bc
|
add hl, bc
|
||||||
|
|
||||||
push bc
|
push bc
|
||||||
ld b, $1
|
ld b, TRUE
|
||||||
call CalcPkmnStats
|
call CalcMonStats
|
||||||
pop bc
|
pop bc
|
||||||
|
|
||||||
ld a, [wPokemonWithdrawDepositParameter]
|
ld a, [wPokemonWithdrawDepositParameter]
|
||||||
@ -732,7 +775,7 @@ RestorePPofDepositedPokemon: ; dcb6
|
|||||||
ret
|
ret
|
||||||
; dd21
|
; dd21
|
||||||
|
|
||||||
RetrievePokemonFromDayCareMan: ; dd21
|
RetrieveMonFromDayCareMan: ; dd21
|
||||||
ld a, [wBreedMon1Species]
|
ld a, [wBreedMon1Species]
|
||||||
ld [wCurPartySpecies], a
|
ld [wCurPartySpecies], a
|
||||||
ld de, SFX_TRANSACTION
|
ld de, SFX_TRANSACTION
|
||||||
@ -745,10 +788,10 @@ RetrievePokemonFromDayCareMan: ; dd21
|
|||||||
ld [wCurPartyLevel], a
|
ld [wCurPartyLevel], a
|
||||||
xor a
|
xor a
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
jp Functiondd64
|
jp RetrieveBreedmon
|
||||||
; dd42
|
; dd42
|
||||||
|
|
||||||
RetrievePokemonFromDayCareLady: ; dd42
|
RetrieveMonFromDayCareLady: ; dd42
|
||||||
ld a, [wBreedMon2Species]
|
ld a, [wBreedMon2Species]
|
||||||
ld [wCurPartySpecies], a
|
ld [wCurPartySpecies], a
|
||||||
ld de, SFX_TRANSACTION
|
ld de, SFX_TRANSACTION
|
||||||
@ -761,10 +804,10 @@ RetrievePokemonFromDayCareLady: ; dd42
|
|||||||
ld [wCurPartyLevel], a
|
ld [wCurPartyLevel], a
|
||||||
ld a, PC_DEPOSIT
|
ld a, PC_DEPOSIT
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
jp Functiondd64
|
jp RetrieveBreedmon
|
||||||
; dd64
|
; dd64
|
||||||
|
|
||||||
Functiondd64: ; dd64
|
RetrieveBreedmon: ; dd64
|
||||||
ld hl, wPartyCount
|
ld hl, wPartyCount
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
cp PARTY_LENGTH
|
cp PARTY_LENGTH
|
||||||
@ -810,12 +853,12 @@ Functiondd64: ; dd64
|
|||||||
pop hl
|
pop hl
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
push hl
|
push hl
|
||||||
call Functionde1a
|
call GetLastPartyMon
|
||||||
pop hl
|
pop hl
|
||||||
ld bc, BOXMON_STRUCT_LENGTH
|
ld bc, BOXMON_STRUCT_LENGTH
|
||||||
call CopyBytes
|
call CopyBytes
|
||||||
call GetBaseData
|
call GetBaseData
|
||||||
call Functionde1a
|
call GetLastPartyMon
|
||||||
ld b, d
|
ld b, d
|
||||||
ld c, e
|
ld c, e
|
||||||
ld hl, MON_LEVEL
|
ld hl, MON_LEVEL
|
||||||
@ -829,8 +872,8 @@ Functiondd64: ; dd64
|
|||||||
ld hl, $a
|
ld hl, $a
|
||||||
add hl, bc
|
add hl, bc
|
||||||
push bc
|
push bc
|
||||||
ld b, $1
|
ld b, TRUE
|
||||||
call CalcPkmnStats
|
call CalcMonStats
|
||||||
ld hl, wPartyMon1Moves
|
ld hl, wPartyMon1Moves
|
||||||
ld a, [wPartyCount]
|
ld a, [wPartyCount]
|
||||||
dec a
|
dec a
|
||||||
@ -861,7 +904,7 @@ Functiondd64: ; dd64
|
|||||||
ret
|
ret
|
||||||
; de1a
|
; de1a
|
||||||
|
|
||||||
Functionde1a: ; de1a
|
GetLastPartyMon: ; de1a
|
||||||
ld a, [wPartyCount]
|
ld a, [wPartyCount]
|
||||||
dec a
|
dec a
|
||||||
ld hl, wPartyMon1Species
|
ld hl, wPartyMon1Species
|
||||||
@ -875,7 +918,7 @@ Functionde1a: ; de1a
|
|||||||
DepositMonWithDayCareMan: ; de2a
|
DepositMonWithDayCareMan: ; de2a
|
||||||
ld de, wBreedMon1Nick
|
ld de, wBreedMon1Nick
|
||||||
call DepositBreedmon
|
call DepositBreedmon
|
||||||
xor a
|
xor a ; REMOVE_PARTY
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
jp RemoveMonFromPartyOrBox
|
jp RemoveMonFromPartyOrBox
|
||||||
; de37
|
; de37
|
||||||
@ -883,7 +926,7 @@ DepositMonWithDayCareMan: ; de2a
|
|||||||
DepositMonWithDayCareLady: ; de37
|
DepositMonWithDayCareLady: ; de37
|
||||||
ld de, wBreedMon2Nick
|
ld de, wBreedMon2Nick
|
||||||
call DepositBreedmon
|
call DepositBreedmon
|
||||||
xor a
|
xor a ; REMOVE_PARTY
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
jp RemoveMonFromPartyOrBox
|
jp RemoveMonFromPartyOrBox
|
||||||
; de44
|
; de44
|
||||||
@ -904,8 +947,8 @@ DepositBreedmon: ; de44
|
|||||||
ld bc, BOXMON_STRUCT_LENGTH
|
ld bc, BOXMON_STRUCT_LENGTH
|
||||||
jp CopyBytes
|
jp CopyBytes
|
||||||
|
|
||||||
SendPkmnIntoBox: ; de6e
|
SendMonIntoBox: ; de6e
|
||||||
; Sends the Pkmn into one of Bills Boxes
|
; Sends the mon into one of Bills Boxes
|
||||||
; the data comes mainly from 'wEnemyMon:'
|
; the data comes mainly from 'wEnemyMon:'
|
||||||
ld a, BANK(sBoxCount)
|
ld a, BANK(sBoxCount)
|
||||||
call GetSRAMBank
|
call GetSRAMBank
|
||||||
@ -1359,8 +1402,8 @@ ComputeNPCTrademonStats: ; e134
|
|||||||
push de
|
push de
|
||||||
ld a, MON_STAT_EXP - 1
|
ld a, MON_STAT_EXP - 1
|
||||||
call GetPartyParamLocation
|
call GetPartyParamLocation
|
||||||
ld b, $1
|
ld b, TRUE
|
||||||
call CalcPkmnStats
|
call CalcMonStats
|
||||||
pop de
|
pop de
|
||||||
ld a, MON_HP
|
ld a, MON_HP
|
||||||
call GetPartyParamLocation
|
call GetPartyParamLocation
|
||||||
@ -1372,17 +1415,17 @@ ComputeNPCTrademonStats: ; e134
|
|||||||
ret
|
ret
|
||||||
; e167
|
; e167
|
||||||
|
|
||||||
CalcPkmnStats: ; e167
|
CalcMonStats: ; e167
|
||||||
; Calculates all 6 Stats of a Pkmn
|
; Calculates all 6 Stats of a mon
|
||||||
; b: Take into account stat EXP if TRUE
|
; b: Take into account stat EXP if TRUE
|
||||||
; 'c' counts from 1-6 and points with 'wBaseStats' to the base value
|
; 'c' counts from 1-6 and points with 'wBaseStats' to the base value
|
||||||
; hl is the path to the Stat EXP
|
; hl is the path to the Stat EXP
|
||||||
; results in $ffb5 and $ffb6 are saved in [de]
|
; de points to where the final stats will be saved
|
||||||
|
|
||||||
ld c, $0
|
ld c, $0
|
||||||
.loop
|
.loop
|
||||||
inc c
|
inc c
|
||||||
call CalcPkmnStatC
|
call CalcMonStatC
|
||||||
ld a, [hMultiplicand + 1]
|
ld a, [hMultiplicand + 1]
|
||||||
ld [de], a
|
ld [de], a
|
||||||
inc de
|
inc de
|
||||||
@ -1395,7 +1438,7 @@ CalcPkmnStats: ; e167
|
|||||||
ret
|
ret
|
||||||
; e17b
|
; e17b
|
||||||
|
|
||||||
CalcPkmnStatC: ; e17b
|
CalcMonStatC: ; e17b
|
||||||
; 'c' is 1-6 and points to the BaseStat
|
; 'c' is 1-6 and points to the BaseStat
|
||||||
; 1: HP
|
; 1: HP
|
||||||
; 2: Attack
|
; 2: Attack
|
||||||
@ -1626,7 +1669,7 @@ GivePoke:: ; e277
|
|||||||
ld a, [wCurPartySpecies]
|
ld a, [wCurPartySpecies]
|
||||||
ld [wTempEnemyMonSpecies], a
|
ld [wTempEnemyMonSpecies], a
|
||||||
callfar LoadEnemyMon
|
callfar LoadEnemyMon
|
||||||
call SendPkmnIntoBox
|
call SendMonIntoBox
|
||||||
jp nc, .FailedToGiveMon
|
jp nc, .FailedToGiveMon
|
||||||
ld a, BOXMON
|
ld a, BOXMON
|
||||||
ld [wMonType], a
|
ld [wMonType], a
|
||||||
|
@ -494,7 +494,7 @@ UseItem: ; 10311
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
.NoPokemon:
|
.NoPokemon:
|
||||||
ld hl, TextJump_YouDontHaveAPkmn
|
ld hl, TextJump_YouDontHaveAMon
|
||||||
call Pack_PrintTextNoScroll
|
call Pack_PrintTextNoScroll
|
||||||
ret
|
ret
|
||||||
|
|
||||||
@ -648,7 +648,7 @@ GiveItem: ; 103fd
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
.NoPokemon: ; 10486 (4:4486)
|
.NoPokemon: ; 10486 (4:4486)
|
||||||
ld hl, TextJump_YouDontHaveAPkmn
|
ld hl, TextJump_YouDontHaveAMon
|
||||||
call Pack_PrintTextNoScroll
|
call Pack_PrintTextNoScroll
|
||||||
ret
|
ret
|
||||||
; 1048d (4:448d)
|
; 1048d (4:448d)
|
||||||
@ -1668,9 +1668,9 @@ Text_ThisIsntTheTime: ; 0x10af3
|
|||||||
db "@"
|
db "@"
|
||||||
; 0x10af8
|
; 0x10af8
|
||||||
|
|
||||||
TextJump_YouDontHaveAPkmn: ; 0x10af8
|
TextJump_YouDontHaveAMon: ; 0x10af8
|
||||||
; You don't have a #MON!
|
; You don't have a #MON!
|
||||||
text_jump Text_YouDontHaveAPkmn
|
text_jump Text_YouDontHaveAMon
|
||||||
db "@"
|
db "@"
|
||||||
; 0x10afd
|
; 0x10afd
|
||||||
|
|
||||||
|
@ -258,89 +258,89 @@ BrentBillTriviaScript:
|
|||||||
|
|
||||||
IrwinRumorScript:
|
IrwinRumorScript:
|
||||||
checkevent EVENT_OPENED_MT_SILVER
|
checkevent EVENT_OPENED_MT_SILVER
|
||||||
iftrue IrwinMtSilver
|
iftrue .MtSilver
|
||||||
checkevent EVENT_FOUGHT_SNORLAX
|
checkevent EVENT_FOUGHT_SNORLAX
|
||||||
iftrue IrwinSnorlax
|
iftrue .Snorlax
|
||||||
checkevent EVENT_GOT_PASS_FROM_COPYCAT
|
checkevent EVENT_GOT_PASS_FROM_COPYCAT
|
||||||
iftrue IrwinTrainPass
|
iftrue .TrainPass
|
||||||
checkflag ENGINE_MARSHBADGE
|
checkflag ENGINE_MARSHBADGE
|
||||||
iftrue IrwinMarshBadge
|
iftrue .MarshBadge
|
||||||
checkflag ENGINE_FLYPOINT_VERMILION
|
checkflag ENGINE_FLYPOINT_VERMILION
|
||||||
iftrue IrwinVermilionCity
|
iftrue .VermilionCity
|
||||||
checkevent EVENT_BEAT_ELITE_FOUR
|
checkevent EVENT_BEAT_ELITE_FOUR
|
||||||
iftrue IrwinEliteFour
|
iftrue .EliteFour
|
||||||
checkflag ENGINE_RISINGBADGE
|
checkflag ENGINE_RISINGBADGE
|
||||||
iftrue IrwinRisingBadge
|
iftrue .RisingBadge
|
||||||
checkevent EVENT_CLEARED_RADIO_TOWER
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
||||||
iftrue IrwinRadioTower
|
iftrue .RadioTower
|
||||||
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
|
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
|
||||||
iftrue IrwinRocketHideout
|
iftrue .RocketHideout
|
||||||
checkevent EVENT_JASMINE_RETURNED_TO_GYM
|
checkevent EVENT_JASMINE_RETURNED_TO_GYM
|
||||||
iftrue IrwinJasmineReturned
|
iftrue .JasmineReturned
|
||||||
checkflag ENGINE_FOGBADGE
|
checkflag ENGINE_FOGBADGE
|
||||||
iftrue IrwinFogBadge
|
iftrue .FogBadge
|
||||||
checkflag ENGINE_PLAINBADGE
|
checkflag ENGINE_PLAINBADGE
|
||||||
iftrue IrwinPlainBadge
|
iftrue .PlainBadge
|
||||||
farwritetext IrwinCalledRightAwayText
|
farwritetext IrwinCalledRightAwayText
|
||||||
buttonsound
|
buttonsound
|
||||||
jump PhoneScript_HangupText_Male
|
jump PhoneScript_HangupText_Male
|
||||||
|
|
||||||
IrwinPlainBadge:
|
.PlainBadge:
|
||||||
farwritetext UnknownText_0x64099
|
farwritetext UnknownText_0x64099
|
||||||
buttonsound
|
buttonsound
|
||||||
jump PhoneScript_HangupText_Male
|
jump PhoneScript_HangupText_Male
|
||||||
|
|
||||||
IrwinJasmineReturned:
|
.JasmineReturned:
|
||||||
farwritetext UnknownText_0x640e6
|
farwritetext UnknownText_0x640e6
|
||||||
buttonsound
|
buttonsound
|
||||||
jump PhoneScript_HangupText_Male
|
jump PhoneScript_HangupText_Male
|
||||||
|
|
||||||
IrwinRocketHideout:
|
.RocketHideout:
|
||||||
farwritetext UnknownText_0x6416d
|
farwritetext UnknownText_0x6416d
|
||||||
buttonsound
|
buttonsound
|
||||||
jump PhoneScript_HangupText_Male
|
jump PhoneScript_HangupText_Male
|
||||||
|
|
||||||
IrwinRadioTower:
|
.RadioTower:
|
||||||
farwritetext UnknownText_0x641e8
|
farwritetext UnknownText_0x641e8
|
||||||
buttonsound
|
buttonsound
|
||||||
jump PhoneScript_HangupText_Male
|
jump PhoneScript_HangupText_Male
|
||||||
|
|
||||||
IrwinRisingBadge:
|
.RisingBadge:
|
||||||
farwritetext UnknownText_0x64247
|
farwritetext UnknownText_0x64247
|
||||||
buttonsound
|
buttonsound
|
||||||
jump PhoneScript_HangupText_Male
|
jump PhoneScript_HangupText_Male
|
||||||
|
|
||||||
IrwinEliteFour:
|
.EliteFour:
|
||||||
farwritetext UnknownText_0x642bb
|
farwritetext UnknownText_0x642bb
|
||||||
buttonsound
|
buttonsound
|
||||||
jump PhoneScript_HangupText_Male
|
jump PhoneScript_HangupText_Male
|
||||||
|
|
||||||
IrwinVermilionCity:
|
.VermilionCity:
|
||||||
farwritetext UnknownText_0x643d4
|
farwritetext UnknownText_0x643d4
|
||||||
buttonsound
|
buttonsound
|
||||||
jump PhoneScript_HangupText_Male
|
jump PhoneScript_HangupText_Male
|
||||||
|
|
||||||
IrwinTrainPass:
|
.TrainPass:
|
||||||
farwritetext UnknownText_0x64448
|
farwritetext UnknownText_0x64448
|
||||||
buttonsound
|
buttonsound
|
||||||
jump PhoneScript_HangupText_Male
|
jump PhoneScript_HangupText_Male
|
||||||
|
|
||||||
IrwinSnorlax:
|
.Snorlax:
|
||||||
farwritetext UnknownText_0x6455b
|
farwritetext UnknownText_0x6455b
|
||||||
buttonsound
|
buttonsound
|
||||||
jump PhoneScript_HangupText_Male
|
jump PhoneScript_HangupText_Male
|
||||||
|
|
||||||
IrwinMtSilver:
|
.MtSilver:
|
||||||
farwritetext UnknownText_0x645ff
|
farwritetext UnknownText_0x645ff
|
||||||
buttonsound
|
buttonsound
|
||||||
jump PhoneScript_HangupText_Male
|
jump PhoneScript_HangupText_Male
|
||||||
|
|
||||||
IrwinFogBadge:
|
.FogBadge:
|
||||||
farwritetext UnknownText_0x646df
|
farwritetext UnknownText_0x646df
|
||||||
buttonsound
|
buttonsound
|
||||||
jump PhoneScript_HangupText_Male
|
jump PhoneScript_HangupText_Male
|
||||||
|
|
||||||
IrwinMarshBadge:
|
.MarshBadge:
|
||||||
farwritetext UnknownText_0x647d8
|
farwritetext UnknownText_0x647d8
|
||||||
buttonsound
|
buttonsound
|
||||||
jump PhoneScript_HangupText_Male
|
jump PhoneScript_HangupText_Male
|
||||||
|
@ -74,36 +74,36 @@ MomPhoneOther: ; 0xbcf2f
|
|||||||
|
|
||||||
MomSavingMoney: ; 0xbcf37
|
MomSavingMoney: ; 0xbcf37
|
||||||
checkflag ENGINE_MOM_SAVING_MONEY
|
checkflag ENGINE_MOM_SAVING_MONEY
|
||||||
iffalse MomIsNotSaving
|
iffalse .NotSaving
|
||||||
checkmoney MOMS_MONEY, 0
|
checkmoney MOMS_MONEY, 0
|
||||||
ifequal HAVE_MORE, MomSavingHasMoney
|
ifequal HAVE_MORE, .SavingHasMoney
|
||||||
jump MomSavingButBroke
|
jump .SavingNoMoney
|
||||||
|
|
||||||
MomIsNotSaving: ; 0xbcf49
|
.NotSaving: ; 0xbcf49
|
||||||
checkmoney MOMS_MONEY, 0
|
checkmoney MOMS_MONEY, 0
|
||||||
ifequal HAVE_MORE, MomHasMoney
|
ifequal HAVE_MORE, .HasMoney
|
||||||
jump MomHasNoMoney
|
jump .NoMoney
|
||||||
|
|
||||||
MomSavingHasMoney: ; 0xbcf55
|
.SavingHasMoney: ; 0xbcf55
|
||||||
readmoney MOMS_MONEY, MEM_BUFFER_0
|
readmoney MOMS_MONEY, MEM_BUFFER_0
|
||||||
farwritetext MomCheckBalanceText
|
farwritetext MomCheckBalanceText
|
||||||
yesorno
|
yesorno
|
||||||
iftrue MomPhoneSaveMoneyScript
|
iftrue MomPhoneSaveMoneyScript
|
||||||
jump MomPhoneWontSaveMoneyScript
|
jump MomPhoneWontSaveMoneyScript
|
||||||
|
|
||||||
MomSavingButBroke: ; 0xbcf63
|
.SavingNoMoney: ; 0xbcf63
|
||||||
farwritetext MomImportantToSaveText
|
farwritetext MomImportantToSaveText
|
||||||
yesorno
|
yesorno
|
||||||
iftrue MomPhoneSaveMoneyScript
|
iftrue MomPhoneSaveMoneyScript
|
||||||
jump MomPhoneWontSaveMoneyScript
|
jump MomPhoneWontSaveMoneyScript
|
||||||
|
|
||||||
MomHasNoMoney: ; 0xbcf6e
|
.NoMoney: ; 0xbcf6e
|
||||||
farwritetext MomYoureNotSavingText
|
farwritetext MomYoureNotSavingText
|
||||||
yesorno
|
yesorno
|
||||||
iftrue MomPhoneSaveMoneyScript
|
iftrue MomPhoneSaveMoneyScript
|
||||||
jump MomPhoneWontSaveMoneyScript
|
jump MomPhoneWontSaveMoneyScript
|
||||||
|
|
||||||
MomHasMoney: ; 0xbcf79
|
.HasMoney: ; 0xbcf79
|
||||||
readmoney MOMS_MONEY, MEM_BUFFER_0
|
readmoney MOMS_MONEY, MEM_BUFFER_0
|
||||||
farwritetext MomYouveSavedText
|
farwritetext MomYouveSavedText
|
||||||
yesorno
|
yesorno
|
||||||
@ -663,12 +663,12 @@ JoeyWantsBattle:
|
|||||||
WadePhoneScript1:
|
WadePhoneScript1:
|
||||||
trainertotext BUG_CATCHER, WADE1, MEM_BUFFER_0
|
trainertotext BUG_CATCHER, WADE1, MEM_BUFFER_0
|
||||||
checkflag ENGINE_WADE
|
checkflag ENGINE_WADE
|
||||||
iftrue WadeWantsBattle
|
iftrue .WantsBattle
|
||||||
farscall PhoneScript_AnswerPhone_Male
|
farscall PhoneScript_AnswerPhone_Male
|
||||||
checkflag ENGINE_WADE_TUESDAY_NIGHT
|
checkflag ENGINE_WADE_TUESDAY_NIGHT
|
||||||
iftrue .NotTuesday
|
iftrue .NotTuesday
|
||||||
checkflag ENGINE_WADE_HAS_ITEM
|
checkflag ENGINE_WADE_HAS_ITEM
|
||||||
iftrue WadeHasItem
|
iftrue .HasItem
|
||||||
checkcode VAR_WEEKDAY
|
checkcode VAR_WEEKDAY
|
||||||
ifnotequal TUESDAY, .NotTuesday
|
ifnotequal TUESDAY, .NotTuesday
|
||||||
checktime NITE
|
checktime NITE
|
||||||
@ -680,21 +680,21 @@ WadePhoneScript1:
|
|||||||
checkflag ENGINE_DAILY_BUG_CONTEST
|
checkflag ENGINE_DAILY_BUG_CONTEST
|
||||||
iftrue .NoContest
|
iftrue .NoContest
|
||||||
checkcode VAR_WEEKDAY
|
checkcode VAR_WEEKDAY
|
||||||
ifequal TUESDAY, WadeContestToday
|
ifequal TUESDAY, .ContestToday
|
||||||
ifequal THURSDAY, WadeContestToday
|
ifequal THURSDAY, .ContestToday
|
||||||
ifequal SATURDAY, WadeContestToday
|
ifequal SATURDAY, .ContestToday
|
||||||
|
|
||||||
.NoContest:
|
.NoContest:
|
||||||
farjump UnknownScript_0xa0938
|
farjump UnknownScript_0xa0938
|
||||||
|
|
||||||
WadeContestToday:
|
.ContestToday:
|
||||||
farjump PhoneScript_BugCatchingContest
|
farjump PhoneScript_BugCatchingContest
|
||||||
|
|
||||||
WadeWantsBattle:
|
.WantsBattle:
|
||||||
landmarktotext ROUTE_31, MEM_BUFFER_2
|
landmarktotext ROUTE_31, MEM_BUFFER_2
|
||||||
farjump UnknownScript_0xa0a50
|
farjump UnknownScript_0xa0a50
|
||||||
|
|
||||||
WadeHasItem:
|
.HasItem:
|
||||||
landmarktotext ROUTE_31, MEM_BUFFER_2
|
landmarktotext ROUTE_31, MEM_BUFFER_2
|
||||||
farjump UnknownScript_0xa0ab5
|
farjump UnknownScript_0xa0ab5
|
||||||
|
|
||||||
@ -706,9 +706,9 @@ WadePhoneScript2:
|
|||||||
checkflag ENGINE_DAILY_BUG_CONTEST
|
checkflag ENGINE_DAILY_BUG_CONTEST
|
||||||
iftrue .NoContest
|
iftrue .NoContest
|
||||||
checkcode VAR_WEEKDAY
|
checkcode VAR_WEEKDAY
|
||||||
ifequal TUESDAY, Wade_ContestToday
|
ifequal TUESDAY, .ContestToday
|
||||||
ifequal THURSDAY, Wade_ContestToday
|
ifequal THURSDAY, .ContestToday
|
||||||
ifequal SATURDAY, Wade_ContestToday
|
ifequal SATURDAY, .ContestToday
|
||||||
|
|
||||||
.NoContest:
|
.NoContest:
|
||||||
checkflag ENGINE_WADE
|
checkflag ENGINE_WADE
|
||||||
@ -729,7 +729,7 @@ WadePhoneScript2:
|
|||||||
ifequal 0, WadeFoundRare
|
ifequal 0, WadeFoundRare
|
||||||
farjump Phone_GenericCall_Male
|
farjump Phone_GenericCall_Male
|
||||||
|
|
||||||
Wade_ContestToday:
|
.ContestToday:
|
||||||
farjump PhoneScript_BugCatchingContest
|
farjump PhoneScript_BugCatchingContest
|
||||||
|
|
||||||
WadeTuesdayNight:
|
WadeTuesdayNight:
|
||||||
@ -779,24 +779,24 @@ WadeHasItem2:
|
|||||||
RalphPhoneScript1:
|
RalphPhoneScript1:
|
||||||
trainertotext FISHER, RALPH1, MEM_BUFFER_0
|
trainertotext FISHER, RALPH1, MEM_BUFFER_0
|
||||||
checkflag ENGINE_RALPH
|
checkflag ENGINE_RALPH
|
||||||
iftrue Ralph_Rematch
|
iftrue .Rematch
|
||||||
farscall PhoneScript_AnswerPhone_Male
|
farscall PhoneScript_AnswerPhone_Male
|
||||||
checkflag ENGINE_RALPH_WEDNESDAY_MORNING
|
checkflag ENGINE_RALPH_WEDNESDAY_MORNING
|
||||||
iftrue Ralph_CheckSwarm
|
iftrue .CheckSwarm
|
||||||
checkcode VAR_WEEKDAY
|
checkcode VAR_WEEKDAY
|
||||||
ifnotequal WEDNESDAY, Ralph_CheckSwarm
|
ifnotequal WEDNESDAY, .CheckSwarm
|
||||||
checktime MORN
|
checktime MORN
|
||||||
iftrue Ralph_WednesdayMorning
|
iftrue Ralph_WednesdayMorning
|
||||||
Ralph_CheckSwarm:
|
.CheckSwarm:
|
||||||
checkflag ENGINE_FISH_SWARM
|
checkflag ENGINE_FISH_SWARM
|
||||||
iftrue Ralph_ReportSwarm
|
iftrue .ReportSwarm
|
||||||
farjump UnknownScript_0xa0940
|
farjump UnknownScript_0xa0940
|
||||||
|
|
||||||
Ralph_Rematch:
|
.Rematch:
|
||||||
landmarktotext ROUTE_32, MEM_BUFFER_2
|
landmarktotext ROUTE_32, MEM_BUFFER_2
|
||||||
farjump UnknownScript_0xa0a55
|
farjump UnknownScript_0xa0a55
|
||||||
|
|
||||||
Ralph_ReportSwarm:
|
.ReportSwarm:
|
||||||
landmarktotext ROUTE_32, MEM_BUFFER_2
|
landmarktotext ROUTE_32, MEM_BUFFER_2
|
||||||
farjump UnknownScript_0xa0af5
|
farjump UnknownScript_0xa0af5
|
||||||
|
|
||||||
@ -804,14 +804,14 @@ RalphPhoneScript2:
|
|||||||
trainertotext FISHER, RALPH1, MEM_BUFFER_0
|
trainertotext FISHER, RALPH1, MEM_BUFFER_0
|
||||||
farscall PhoneScript_GreetPhone_Male
|
farscall PhoneScript_GreetPhone_Male
|
||||||
checkflag ENGINE_FLYPOINT_GOLDENROD
|
checkflag ENGINE_FLYPOINT_GOLDENROD
|
||||||
iffalse Ralph_CheckSwarm2
|
iffalse .CheckSwarm
|
||||||
checkflag ENGINE_RALPH
|
checkflag ENGINE_RALPH
|
||||||
iftrue Ralph_CheckSwarm2
|
iftrue .CheckSwarm
|
||||||
checkflag ENGINE_RALPH_WEDNESDAY_MORNING
|
checkflag ENGINE_RALPH_WEDNESDAY_MORNING
|
||||||
iftrue Ralph_CheckSwarm2
|
iftrue .CheckSwarm
|
||||||
farscall PhoneScript_Random2
|
farscall PhoneScript_Random2
|
||||||
ifequal 0, Ralph_FightMe
|
ifequal 0, Ralph_FightMe
|
||||||
Ralph_CheckSwarm2:
|
.CheckSwarm:
|
||||||
farscall PhoneScript_Random5
|
farscall PhoneScript_Random5
|
||||||
ifequal 0, Ralph_SetUpSwarm
|
ifequal 0, Ralph_SetUpSwarm
|
||||||
farjump Phone_GenericCall_Male
|
farjump Phone_GenericCall_Male
|
||||||
@ -1039,7 +1039,7 @@ ToddPhoneScript2:
|
|||||||
checkflag ENGINE_TODD_SATURDAY_MORNING
|
checkflag ENGINE_TODD_SATURDAY_MORNING
|
||||||
iftrue .TryForSale
|
iftrue .TryForSale
|
||||||
checkflag ENGINE_FLYPOINT_GOLDENROD
|
checkflag ENGINE_FLYPOINT_GOLDENROD
|
||||||
iffalse ToddNoGoldenrod
|
iffalse .NoGoldenrod
|
||||||
farscall PhoneScript_Random2
|
farscall PhoneScript_Random2
|
||||||
ifequal 0, ToddWantsBattle
|
ifequal 0, ToddWantsBattle
|
||||||
|
|
||||||
@ -1047,7 +1047,7 @@ ToddPhoneScript2:
|
|||||||
farscall PhoneScript_Random2
|
farscall PhoneScript_Random2
|
||||||
ifequal 0, ToddDeptStoreSale
|
ifequal 0, ToddDeptStoreSale
|
||||||
|
|
||||||
ToddNoGoldenrod:
|
.NoGoldenrod:
|
||||||
farscall PhoneScript_Random3
|
farscall PhoneScript_Random3
|
||||||
ifequal 0, ToddFoundRare
|
ifequal 0, ToddFoundRare
|
||||||
farjump Phone_GenericCall_Male
|
farjump Phone_GenericCall_Male
|
||||||
@ -1262,11 +1262,11 @@ AlanPhoneScript2:
|
|||||||
trainertotext SCHOOLBOY, ALAN1, MEM_BUFFER_0
|
trainertotext SCHOOLBOY, ALAN1, MEM_BUFFER_0
|
||||||
farscall PhoneScript_GreetPhone_Male
|
farscall PhoneScript_GreetPhone_Male
|
||||||
checkflag ENGINE_ALAN
|
checkflag ENGINE_ALAN
|
||||||
iftrue AlanGenericCall
|
iftrue .Generic
|
||||||
checkflag ENGINE_ALAN_WEDNESDAY_AFTERNOON
|
checkflag ENGINE_ALAN_WEDNESDAY_AFTERNOON
|
||||||
iftrue AlanGenericCall
|
iftrue .Generic
|
||||||
checkflag ENGINE_ALAN_HAS_FIRE_STONE
|
checkflag ENGINE_ALAN_HAS_FIRE_STONE
|
||||||
iftrue AlanGenericCall
|
iftrue .Generic
|
||||||
farscall PhoneScript_Random3
|
farscall PhoneScript_Random3
|
||||||
ifequal 0, AlanWantsBattle
|
ifequal 0, AlanWantsBattle
|
||||||
checkevent EVENT_ALAN_GAVE_FIRE_STONE
|
checkevent EVENT_ALAN_GAVE_FIRE_STONE
|
||||||
@ -1278,7 +1278,7 @@ AlanPhoneScript2:
|
|||||||
farscall PhoneScript_Random11
|
farscall PhoneScript_Random11
|
||||||
ifequal 0, AlanHasFireStone
|
ifequal 0, AlanHasFireStone
|
||||||
|
|
||||||
AlanGenericCall:
|
.Generic:
|
||||||
farjump Phone_GenericCall_Male
|
farjump Phone_GenericCall_Male
|
||||||
|
|
||||||
AlanWednesdayDay:
|
AlanWednesdayDay:
|
||||||
@ -1471,7 +1471,7 @@ TullyPhoneScript1:
|
|||||||
checkflag ENGINE_TULLY_SUNDAY_NIGHT
|
checkflag ENGINE_TULLY_SUNDAY_NIGHT
|
||||||
iftrue .NotSunday
|
iftrue .NotSunday
|
||||||
checkflag ENGINE_TULLY_HAS_WATER_STONE
|
checkflag ENGINE_TULLY_HAS_WATER_STONE
|
||||||
iftrue TullyHasWaterStone
|
iftrue .WaterStone
|
||||||
checkcode VAR_WEEKDAY
|
checkcode VAR_WEEKDAY
|
||||||
ifnotequal SUNDAY, .NotSunday
|
ifnotequal SUNDAY, .NotSunday
|
||||||
checktime NITE
|
checktime NITE
|
||||||
@ -1484,7 +1484,7 @@ TullyPhoneScript1:
|
|||||||
landmarktotext ROUTE_42, MEM_BUFFER_2
|
landmarktotext ROUTE_42, MEM_BUFFER_2
|
||||||
farjump UnknownScript_0xa0a82
|
farjump UnknownScript_0xa0a82
|
||||||
|
|
||||||
TullyHasWaterStone:
|
.WaterStone:
|
||||||
landmarktotext ROUTE_42, MEM_BUFFER_2
|
landmarktotext ROUTE_42, MEM_BUFFER_2
|
||||||
farjump UnknownScript_0xa0add
|
farjump UnknownScript_0xa0add
|
||||||
|
|
||||||
@ -1600,11 +1600,11 @@ TiffanyPhoneScript2:
|
|||||||
ifequal 0, TiffanysFamilyMembers
|
ifequal 0, TiffanysFamilyMembers
|
||||||
farscall PhoneScript_GreetPhone_Female
|
farscall PhoneScript_GreetPhone_Female
|
||||||
checkflag ENGINE_TIFFANY
|
checkflag ENGINE_TIFFANY
|
||||||
iftrue TiffanyGenericCall
|
iftrue .Generic
|
||||||
checkflag ENGINE_TIFFANY_TUESDAY_AFTERNOON
|
checkflag ENGINE_TIFFANY_TUESDAY_AFTERNOON
|
||||||
iftrue TiffanyGenericCall
|
iftrue .Generic
|
||||||
checkflag ENGINE_TIFFANY_HAS_PINK_BOW
|
checkflag ENGINE_TIFFANY_HAS_PINK_BOW
|
||||||
iftrue TiffanyGenericCall
|
iftrue .Generic
|
||||||
farscall PhoneScript_Random3
|
farscall PhoneScript_Random3
|
||||||
ifequal 0, TiffanyWantsBattle
|
ifequal 0, TiffanyWantsBattle
|
||||||
checkevent EVENT_TIFFANY_GAVE_PINK_BOW
|
checkevent EVENT_TIFFANY_GAVE_PINK_BOW
|
||||||
@ -1616,7 +1616,7 @@ TiffanyPhoneScript2:
|
|||||||
farscall PhoneScript_Random11
|
farscall PhoneScript_Random11
|
||||||
ifequal 0, TiffanyHasPinkBow
|
ifequal 0, TiffanyHasPinkBow
|
||||||
|
|
||||||
TiffanyGenericCall:
|
.Generic:
|
||||||
farjump Phone_GenericCall_Female
|
farjump Phone_GenericCall_Female
|
||||||
|
|
||||||
TiffanyTuesdayAfternoon:
|
TiffanyTuesdayAfternoon:
|
||||||
@ -1638,29 +1638,29 @@ TiffanysFamilyMembers:
|
|||||||
|
|
||||||
.Grandma:
|
.Grandma:
|
||||||
stringtotext GrandmaString, MEM_BUFFER_1
|
stringtotext GrandmaString, MEM_BUFFER_1
|
||||||
jump TiffanysPoorClefairy
|
jump .PoorClefairy
|
||||||
|
|
||||||
.Grandpa:
|
.Grandpa:
|
||||||
stringtotext GrandpaString, MEM_BUFFER_1
|
stringtotext GrandpaString, MEM_BUFFER_1
|
||||||
jump TiffanysPoorClefairy
|
jump .PoorClefairy
|
||||||
|
|
||||||
.Mom:
|
.Mom:
|
||||||
stringtotext MomString, MEM_BUFFER_1
|
stringtotext MomString, MEM_BUFFER_1
|
||||||
jump TiffanysPoorClefairy
|
jump .PoorClefairy
|
||||||
|
|
||||||
.Dad:
|
.Dad:
|
||||||
stringtotext DadString, MEM_BUFFER_1
|
stringtotext DadString, MEM_BUFFER_1
|
||||||
jump TiffanysPoorClefairy
|
jump .PoorClefairy
|
||||||
|
|
||||||
.Sister:
|
.Sister:
|
||||||
stringtotext SisterString, MEM_BUFFER_1
|
stringtotext SisterString, MEM_BUFFER_1
|
||||||
jump TiffanysPoorClefairy
|
jump .PoorClefairy
|
||||||
|
|
||||||
.Brother:
|
.Brother:
|
||||||
stringtotext BrotherString, MEM_BUFFER_1
|
stringtotext BrotherString, MEM_BUFFER_1
|
||||||
jump TiffanysPoorClefairy
|
jump .PoorClefairy
|
||||||
|
|
||||||
TiffanysPoorClefairy:
|
.PoorClefairy:
|
||||||
farjump TiffanyItsAwful
|
farjump TiffanyItsAwful
|
||||||
|
|
||||||
TiffanyHasPinkBow:
|
TiffanyHasPinkBow:
|
||||||
@ -1673,7 +1673,7 @@ TiffanyHasPinkBow:
|
|||||||
VancePhoneScript1:
|
VancePhoneScript1:
|
||||||
trainertotext BIRD_KEEPER, VANCE1, MEM_BUFFER_0
|
trainertotext BIRD_KEEPER, VANCE1, MEM_BUFFER_0
|
||||||
checkflag ENGINE_VANCE
|
checkflag ENGINE_VANCE
|
||||||
iftrue VanceWantsBattle
|
iftrue .WantsBattle
|
||||||
farscall PhoneScript_AnswerPhone_Male
|
farscall PhoneScript_AnswerPhone_Male
|
||||||
checkflag ENGINE_VANCE_WEDNESDAY_NIGHT
|
checkflag ENGINE_VANCE_WEDNESDAY_NIGHT
|
||||||
iftrue .NotWednesday
|
iftrue .NotWednesday
|
||||||
@ -1685,7 +1685,7 @@ VancePhoneScript1:
|
|||||||
.NotWednesday:
|
.NotWednesday:
|
||||||
farjump VanceLookingForward
|
farjump VanceLookingForward
|
||||||
|
|
||||||
VanceWantsBattle:
|
.WantsBattle:
|
||||||
landmarktotext ROUTE_44, MEM_BUFFER_2
|
landmarktotext ROUTE_44, MEM_BUFFER_2
|
||||||
farjump VanceHurryHurry
|
farjump VanceHurryHurry
|
||||||
|
|
||||||
|
@ -1543,7 +1543,7 @@ RadioChannels:
|
|||||||
; entries correspond to constants/radio_constants.asm
|
; entries correspond to constants/radio_constants.asm
|
||||||
|
|
||||||
; frequency value given here = 4 × ingame_frequency − 2
|
; frequency value given here = 4 × ingame_frequency − 2
|
||||||
dbw 16, .PkmnTalkAndPokedexShow
|
dbw 16, .PKMNTalkAndPokedexShow
|
||||||
dbw 28, .PokemonMusic
|
dbw 28, .PokemonMusic
|
||||||
dbw 32, .LuckyChannel
|
dbw 32, .LuckyChannel
|
||||||
dbw 40, .BuenasPassword
|
dbw 40, .BuenasPassword
|
||||||
@ -1554,7 +1554,7 @@ RadioChannels:
|
|||||||
dbw 80, .EvolutionRadio
|
dbw 80, .EvolutionRadio
|
||||||
db -1
|
db -1
|
||||||
|
|
||||||
.PkmnTalkAndPokedexShow:
|
.PKMNTalkAndPokedexShow:
|
||||||
; Pokédex Show in the morning
|
; Pokédex Show in the morning
|
||||||
|
|
||||||
; Oak's Pokémon Talk in the afternoon and evening
|
; Oak's Pokémon Talk in the afternoon and evening
|
||||||
@ -1653,7 +1653,7 @@ LoadStation_OaksPokemonTalk: ; 91753 (24:5753)
|
|||||||
ld a, BANK(PlayRadioShow)
|
ld a, BANK(PlayRadioShow)
|
||||||
ld hl, PlayRadioShow
|
ld hl, PlayRadioShow
|
||||||
call Radio_BackUpFarCallParams
|
call Radio_BackUpFarCallParams
|
||||||
ld de, OaksPkmnTalkName
|
ld de, OaksPKMNTalkName
|
||||||
ret
|
ret
|
||||||
|
|
||||||
LoadStation_PokedexShow: ; 91766 (24:5766)
|
LoadStation_PokedexShow: ; 91766 (24:5766)
|
||||||
@ -1846,7 +1846,7 @@ NoRadioName: ; 918a9 (24:58a9)
|
|||||||
|
|
||||||
; 918bf
|
; 918bf
|
||||||
|
|
||||||
OaksPkmnTalkName: db "OAK's <PK><MN> Talk@"
|
OaksPKMNTalkName: db "OAK's <PK><MN> Talk@"
|
||||||
PokedexShowName: db "#DEX Show@"
|
PokedexShowName: db "#DEX Show@"
|
||||||
PokemonMusicName: db "#MON Music@"
|
PokemonMusicName: db "#MON Music@"
|
||||||
LuckyChannelName: db "Lucky Channel@"
|
LuckyChannelName: db "Lucky Channel@"
|
||||||
|
@ -159,7 +159,7 @@ PrintPartyMonPage1: ; 1dc381
|
|||||||
|
|
||||||
xor a
|
xor a
|
||||||
ld [wMonType], a
|
ld [wMonType], a
|
||||||
farcall CopyPkmnToTempMon
|
farcall CopyMonToTempMon
|
||||||
hlcoord 0, 7
|
hlcoord 0, 7
|
||||||
ld b, 9
|
ld b, 9
|
||||||
ld c, 18
|
ld c, 18
|
||||||
@ -243,7 +243,7 @@ PrintPartyMonPage2: ; 1dc47b
|
|||||||
call LoadFontsBattleExtra
|
call LoadFontsBattleExtra
|
||||||
xor a
|
xor a
|
||||||
ld [wMonType], a
|
ld [wMonType], a
|
||||||
farcall CopyPkmnToTempMon
|
farcall CopyMonToTempMon
|
||||||
hlcoord 0, 0
|
hlcoord 0, 0
|
||||||
ld b, 15
|
ld b, 15
|
||||||
ld c, 18
|
ld c, 18
|
||||||
|
@ -29,7 +29,7 @@ PlayRadioShow:
|
|||||||
|
|
||||||
RadioJumptable:
|
RadioJumptable:
|
||||||
; entries correspond to constants/radio_constants.asm
|
; entries correspond to constants/radio_constants.asm
|
||||||
dw OaksPkmnTalk1 ; $00
|
dw OaksPKMNTalk1 ; $00
|
||||||
dw PokedexShow1 ; $01
|
dw PokedexShow1 ; $01
|
||||||
dw BenMonMusic1 ; $02
|
dw BenMonMusic1 ; $02
|
||||||
dw LuckyNumberShow1 ; $03
|
dw LuckyNumberShow1 ; $03
|
||||||
@ -40,15 +40,15 @@ RadioJumptable:
|
|||||||
dw PokeFluteRadio ; $08
|
dw PokeFluteRadio ; $08
|
||||||
dw UnownRadio ; $09
|
dw UnownRadio ; $09
|
||||||
dw EvolutionRadio ; $0a
|
dw EvolutionRadio ; $0a
|
||||||
; OaksPkmnTalk
|
; OaksPKMNTalk
|
||||||
dw OaksPkmnTalk2 ; $0b
|
dw OaksPKMNTalk2 ; $0b
|
||||||
dw OaksPkmnTalk3 ; $0c
|
dw OaksPKMNTalk3 ; $0c
|
||||||
dw OaksPkmnTalk4 ; $0d
|
dw OaksPKMNTalk4 ; $0d
|
||||||
dw OaksPkmnTalk5 ; $0e
|
dw OaksPKMNTalk5 ; $0e
|
||||||
dw OaksPkmnTalk6 ; $0f
|
dw OaksPKMNTalk6 ; $0f
|
||||||
dw OaksPkmnTalk7 ; $10
|
dw OaksPKMNTalk7 ; $10
|
||||||
dw OaksPkmnTalk8 ; $11
|
dw OaksPKMNTalk8 ; $11
|
||||||
dw OaksPkmnTalk9 ; $12
|
dw OaksPKMNTalk9 ; $12
|
||||||
dw PokedexShow2 ; $13
|
dw PokedexShow2 ; $13
|
||||||
dw PokedexShow3 ; $14
|
dw PokedexShow3 ; $14
|
||||||
dw PokedexShow4 ; $15
|
dw PokedexShow4 ; $15
|
||||||
@ -94,11 +94,11 @@ RadioJumptable:
|
|||||||
dw RocketRadio9 ; $39
|
dw RocketRadio9 ; $39
|
||||||
dw RocketRadio10 ; $3a
|
dw RocketRadio10 ; $3a
|
||||||
; More Pokemon Channel stuff
|
; More Pokemon Channel stuff
|
||||||
dw OaksPkmnTalk10 ; $3b
|
dw OaksPKMNTalk10 ; $3b
|
||||||
dw OaksPkmnTalk11 ; $3c
|
dw OaksPKMNTalk11 ; $3c
|
||||||
dw OaksPkmnTalk12 ; $3d
|
dw OaksPKMNTalk12 ; $3d
|
||||||
dw OaksPkmnTalk13 ; $3e
|
dw OaksPKMNTalk13 ; $3e
|
||||||
dw OaksPkmnTalk14 ; $3f
|
dw OaksPKMNTalk14 ; $3f
|
||||||
; Buenas Password
|
; Buenas Password
|
||||||
dw BuenasPassword2 ; $40
|
dw BuenasPassword2 ; $40
|
||||||
dw BuenasPassword3 ; $41
|
dw BuenasPassword3 ; $41
|
||||||
@ -182,33 +182,33 @@ RadioScroll:
|
|||||||
call nz, CopyBottomLineToTopLine
|
call nz, CopyBottomLineToTopLine
|
||||||
jp ClearBottomLine
|
jp ClearBottomLine
|
||||||
|
|
||||||
OaksPkmnTalk1:
|
OaksPKMNTalk1:
|
||||||
ld a, 5
|
ld a, 5
|
||||||
ld [wOaksPkmnTalkSegmentCounter], a
|
ld [wOaksPKMNTalkSegmentCounter], a
|
||||||
call StartRadioStation
|
call StartRadioStation
|
||||||
ld hl, OPT_IntroText1
|
ld hl, OPT_IntroText1
|
||||||
ld a, OAKS_POKEMON_TALK_2
|
ld a, OAKS_POKEMON_TALK_2
|
||||||
jp NextRadioLine
|
jp NextRadioLine
|
||||||
|
|
||||||
OaksPkmnTalk2:
|
OaksPKMNTalk2:
|
||||||
ld hl, OPT_IntroText2
|
ld hl, OPT_IntroText2
|
||||||
ld a, OAKS_POKEMON_TALK_3
|
ld a, OAKS_POKEMON_TALK_3
|
||||||
jp NextRadioLine
|
jp NextRadioLine
|
||||||
|
|
||||||
OaksPkmnTalk3:
|
OaksPKMNTalk3:
|
||||||
ld hl, OPT_IntroText3
|
ld hl, OPT_IntroText3
|
||||||
ld a, OAKS_POKEMON_TALK_4
|
ld a, OAKS_POKEMON_TALK_4
|
||||||
jp NextRadioLine
|
jp NextRadioLine
|
||||||
|
|
||||||
OaksPkmnTalk4:
|
OaksPKMNTalk4:
|
||||||
; Choose a random route, and a random Pokemon from that route.
|
; Choose a random route, and a random Pokemon from that route.
|
||||||
.sample
|
.sample
|
||||||
call Random
|
call Random
|
||||||
and %11111
|
and %11111
|
||||||
cp (OaksPkmnTalkRoutes.End - OaksPkmnTalkRoutes) / 2
|
cp (OaksPKMNTalkRoutes.End - OaksPKMNTalkRoutes) / 2
|
||||||
jr nc, .sample
|
jr nc, .sample
|
||||||
; We now have a number between 0 and 14.
|
; We now have a number between 0 and 14.
|
||||||
ld hl, OaksPkmnTalkRoutes
|
ld hl, OaksPKMNTalkRoutes
|
||||||
ld c, a
|
ld c, a
|
||||||
ld b, 0
|
ld b, 0
|
||||||
add hl, bc
|
add hl, bc
|
||||||
@ -294,12 +294,12 @@ endr
|
|||||||
|
|
||||||
INCLUDE "data/radio/oaks_pkmn_talk_routes.asm"
|
INCLUDE "data/radio/oaks_pkmn_talk_routes.asm"
|
||||||
|
|
||||||
OaksPkmnTalk5:
|
OaksPKMNTalk5:
|
||||||
ld hl, OPT_OakText2
|
ld hl, OPT_OakText2
|
||||||
ld a, OAKS_POKEMON_TALK_6
|
ld a, OAKS_POKEMON_TALK_6
|
||||||
jp NextRadioLine
|
jp NextRadioLine
|
||||||
|
|
||||||
OaksPkmnTalk6:
|
OaksPKMNTalk6:
|
||||||
ld hl, OPT_OakText3
|
ld hl, OPT_OakText3
|
||||||
ld a, OAKS_POKEMON_TALK_7
|
ld a, OAKS_POKEMON_TALK_7
|
||||||
jp NextRadioLine
|
jp NextRadioLine
|
||||||
@ -334,7 +334,7 @@ OPT_OakText3:
|
|||||||
text_jump _OPT_OakText3
|
text_jump _OPT_OakText3
|
||||||
db "@"
|
db "@"
|
||||||
|
|
||||||
OaksPkmnTalk7:
|
OaksPKMNTalk7:
|
||||||
ld a, [wCurPartySpecies]
|
ld a, [wCurPartySpecies]
|
||||||
ld [wNamedObjectIndexBuffer], a
|
ld [wNamedObjectIndexBuffer], a
|
||||||
call GetPokemonName
|
call GetPokemonName
|
||||||
@ -347,11 +347,11 @@ OPT_MaryText1:
|
|||||||
text_jump _OPT_MaryText1
|
text_jump _OPT_MaryText1
|
||||||
db "@"
|
db "@"
|
||||||
|
|
||||||
OaksPkmnTalk8:
|
OaksPKMNTalk8:
|
||||||
; 0-15 are all valid indexes into .Adverbs,
|
; 0-15 are all valid indexes into .Adverbs,
|
||||||
; so no need for a retry loop
|
; so no need for a retry loop
|
||||||
call Random
|
call Random
|
||||||
maskbits NUM_OAKS_MON_TALK_ADVERBS
|
maskbits NUM_OAKS_POKEMON_TALK_ADVERBS
|
||||||
ld e, a
|
ld e, a
|
||||||
ld d, 0
|
ld d, 0
|
||||||
ld hl, .Adverbs
|
ld hl, .Adverbs
|
||||||
@ -364,7 +364,7 @@ OaksPkmnTalk8:
|
|||||||
jp NextRadioLine
|
jp NextRadioLine
|
||||||
|
|
||||||
.Adverbs:
|
.Adverbs:
|
||||||
; there are NUM_OAKS_MON_TALK_ADVERBS entries
|
; there are NUM_OAKS_POKEMON_TALK_ADVERBS entries
|
||||||
dw .sweetadorably
|
dw .sweetadorably
|
||||||
dw .wigglyslickly
|
dw .wigglyslickly
|
||||||
dw .aptlynamed
|
dw .aptlynamed
|
||||||
@ -462,11 +462,11 @@ OaksPkmnTalk8:
|
|||||||
text_jump OPT_HeartMeltingly
|
text_jump OPT_HeartMeltingly
|
||||||
db "@"
|
db "@"
|
||||||
|
|
||||||
OaksPkmnTalk9:
|
OaksPKMNTalk9:
|
||||||
; 0-15 are all valid indexes into .Adjectives,
|
; 0-15 are all valid indexes into .Adjectives,
|
||||||
; so no need for a retry loop
|
; so no need for a retry loop
|
||||||
call Random
|
call Random
|
||||||
maskbits NUM_OAKS_MON_TALK_ADJECTIVES
|
maskbits NUM_OAKS_POKEMON_TALK_ADJECTIVES
|
||||||
ld e, a
|
ld e, a
|
||||||
ld d, 0
|
ld d, 0
|
||||||
ld hl, .Adjectives
|
ld hl, .Adjectives
|
||||||
@ -475,19 +475,19 @@ OaksPkmnTalk9:
|
|||||||
ld a, [hli]
|
ld a, [hli]
|
||||||
ld h, [hl]
|
ld h, [hl]
|
||||||
ld l, a
|
ld l, a
|
||||||
ld a, [wOaksPkmnTalkSegmentCounter]
|
ld a, [wOaksPKMNTalkSegmentCounter]
|
||||||
dec a
|
dec a
|
||||||
ld [wOaksPkmnTalkSegmentCounter], a
|
ld [wOaksPKMNTalkSegmentCounter], a
|
||||||
ld a, OAKS_POKEMON_TALK_4
|
ld a, OAKS_POKEMON_TALK_4
|
||||||
jr nz, .ok
|
jr nz, .ok
|
||||||
ld a, 5
|
ld a, 5
|
||||||
ld [wOaksPkmnTalkSegmentCounter], a
|
ld [wOaksPKMNTalkSegmentCounter], a
|
||||||
ld a, OAKS_POKEMON_TALK_10
|
ld a, OAKS_POKEMON_TALK_10
|
||||||
.ok
|
.ok
|
||||||
jp NextRadioLine
|
jp NextRadioLine
|
||||||
|
|
||||||
.Adjectives:
|
.Adjectives:
|
||||||
; there are NUM_OAKS_MON_TALK_ADJECTIVES entries
|
; there are NUM_OAKS_POKEMON_TALK_ADJECTIVES entries
|
||||||
dw .cute
|
dw .cute
|
||||||
dw .weird
|
dw .weird
|
||||||
dw .pleasant
|
dw .pleasant
|
||||||
@ -585,7 +585,7 @@ OaksPkmnTalk9:
|
|||||||
text_jump OPT_Speedy
|
text_jump OPT_Speedy
|
||||||
db "@"
|
db "@"
|
||||||
|
|
||||||
OaksPkmnTalk10:
|
OaksPKMNTalk10:
|
||||||
farcall RadioMusicRestartPokemonChannel
|
farcall RadioMusicRestartPokemonChannel
|
||||||
ld hl, OPT_RestartText
|
ld hl, OPT_RestartText
|
||||||
call PrintText
|
call PrintText
|
||||||
@ -606,7 +606,7 @@ OPT_PokemonChannelText:
|
|||||||
OPT_RestartText:
|
OPT_RestartText:
|
||||||
db "@"
|
db "@"
|
||||||
|
|
||||||
OaksPkmnTalk11:
|
OaksPKMNTalk11:
|
||||||
ld hl, wRadioTextDelay
|
ld hl, wRadioTextDelay
|
||||||
dec [hl]
|
dec [hl]
|
||||||
ret nz
|
ret nz
|
||||||
@ -618,7 +618,7 @@ OaksPkmnTalk11:
|
|||||||
.pokemon_string
|
.pokemon_string
|
||||||
db "#MON@"
|
db "#MON@"
|
||||||
|
|
||||||
OaksPkmnTalk12:
|
OaksPKMNTalk12:
|
||||||
ld hl, wRadioTextDelay
|
ld hl, wRadioTextDelay
|
||||||
dec [hl]
|
dec [hl]
|
||||||
ret nz
|
ret nz
|
||||||
@ -630,7 +630,7 @@ OaksPkmnTalk12:
|
|||||||
.pokemon_channel_string
|
.pokemon_channel_string
|
||||||
db "#MON Channel@"
|
db "#MON Channel@"
|
||||||
|
|
||||||
OaksPkmnTalk13:
|
OaksPKMNTalk13:
|
||||||
ld hl, wRadioTextDelay
|
ld hl, wRadioTextDelay
|
||||||
dec [hl]
|
dec [hl]
|
||||||
ret nz
|
ret nz
|
||||||
@ -642,7 +642,7 @@ OaksPkmnTalk13:
|
|||||||
.terminator
|
.terminator
|
||||||
db "@"
|
db "@"
|
||||||
|
|
||||||
OaksPkmnTalk14:
|
OaksPKMNTalk14:
|
||||||
ld hl, wRadioTextDelay
|
ld hl, wRadioTextDelay
|
||||||
dec [hl]
|
dec [hl]
|
||||||
ret nz
|
ret nz
|
||||||
|
@ -89,8 +89,8 @@ Unreferenced_CorrectErrorsInPlayerParty:
|
|||||||
ld e, l
|
ld e, l
|
||||||
ld hl, MON_STAT_EXP - 1
|
ld hl, MON_STAT_EXP - 1
|
||||||
add hl, bc
|
add hl, bc
|
||||||
ld b, $1
|
ld b, TRUE
|
||||||
predef CalcPkmnStats
|
predef CalcMonStats
|
||||||
pop hl
|
pop hl
|
||||||
ld bc, PARTYMON_STRUCT_LENGTH
|
ld bc, PARTYMON_STRUCT_LENGTH
|
||||||
add hl, bc
|
add hl, bc
|
||||||
|
@ -74,7 +74,7 @@ Link_SaveGame: ; 14ab2
|
|||||||
ret
|
ret
|
||||||
; 14ac2
|
; 14ac2
|
||||||
|
|
||||||
MovePkmnWOMail_SaveGame: ; 14ac2
|
MoveMonWOMail_SaveGame: ; 14ac2
|
||||||
call PauseGameLogic
|
call PauseGameLogic
|
||||||
push de
|
push de
|
||||||
call SaveBox
|
call SaveBox
|
||||||
@ -86,7 +86,7 @@ MovePkmnWOMail_SaveGame: ; 14ac2
|
|||||||
ret
|
ret
|
||||||
; 14ad5
|
; 14ad5
|
||||||
|
|
||||||
MovePkmnWOMail_InsertMon_SaveGame: ; 14ad5
|
MoveMonWOMail_InsertMon_SaveGame: ; 14ad5
|
||||||
call PauseGameLogic
|
call PauseGameLogic
|
||||||
push de
|
push de
|
||||||
call SaveBox
|
call SaveBox
|
||||||
@ -119,8 +119,8 @@ MovePkmnWOMail_InsertMon_SaveGame: ; 14ad5
|
|||||||
ret
|
ret
|
||||||
; 14b34
|
; 14b34
|
||||||
|
|
||||||
StartMovePkmnWOMail_SaveGame: ; 14b34
|
StartMoveMonWOMail_SaveGame: ; 14b34
|
||||||
ld hl, Text_SaveOnMovePkmnWOMail
|
ld hl, Text_SaveOnMoveMonWOMail
|
||||||
call MenuTextBox
|
call MenuTextBox
|
||||||
call YesNoBox
|
call YesNoBox
|
||||||
call ExitMenu
|
call ExitMenu
|
||||||
@ -1203,7 +1203,7 @@ Text_SaveOnBoxSwitch: ; 0x152a1
|
|||||||
db "@"
|
db "@"
|
||||||
; 0x152a6
|
; 0x152a6
|
||||||
|
|
||||||
Text_SaveOnMovePkmnWOMail: ; 0x152a6
|
Text_SaveOnMoveMonWOMail: ; 0x152a6
|
||||||
; Each time you move a #MON, data will be saved. OK?
|
; Each time you move a #MON, data will be saved. OK?
|
||||||
text_jump UnknownText_0x1c465f
|
text_jump UnknownText_0x1c465f
|
||||||
db "@"
|
db "@"
|
||||||
|
@ -1811,7 +1811,7 @@ SetUpMoveScreenBG: ; 13172
|
|||||||
hlcoord 5, 1
|
hlcoord 5, 1
|
||||||
call PlaceString
|
call PlaceString
|
||||||
push bc
|
push bc
|
||||||
farcall CopyPkmnToTempMon
|
farcall CopyMonToTempMon
|
||||||
pop hl
|
pop hl
|
||||||
call PrintLevel
|
call PrintLevel
|
||||||
ld hl, wPlayerHPPal
|
ld hl, wPlayerHPPal
|
||||||
@ -1828,7 +1828,7 @@ SetUpMoveList: ; 131ef
|
|||||||
ld [hBGMapMode], a
|
ld [hBGMapMode], a
|
||||||
ld [wMoveSwapBuffer], a
|
ld [wMoveSwapBuffer], a
|
||||||
ld [wMonType], a
|
ld [wMonType], a
|
||||||
predef CopyPkmnToTempMon
|
predef CopyMonToTempMon
|
||||||
ld hl, wTempMonMoves
|
ld hl, wTempMonMoves
|
||||||
ld de, wListMoves_MoveIndicesBuffer
|
ld de, wListMoves_MoveIndicesBuffer
|
||||||
ld bc, NUM_MOVES
|
ld bc, NUM_MOVES
|
||||||
|
@ -230,7 +230,7 @@ StatsScreen_CopyToTempMon: ; 4ddf2 (13:5df2)
|
|||||||
ld a, [wMonType]
|
ld a, [wMonType]
|
||||||
cp TEMPMON
|
cp TEMPMON
|
||||||
jr nz, .breedmon
|
jr nz, .breedmon
|
||||||
ld a, [wBufferMon]
|
ld a, [wBufferMonSpecies]
|
||||||
ld [wCurSpecies], a
|
ld [wCurSpecies], a
|
||||||
call GetBaseData
|
call GetBaseData
|
||||||
ld hl, wBufferMon
|
ld hl, wBufferMon
|
||||||
@ -240,7 +240,7 @@ StatsScreen_CopyToTempMon: ; 4ddf2 (13:5df2)
|
|||||||
jr .done
|
jr .done
|
||||||
|
|
||||||
.breedmon
|
.breedmon
|
||||||
farcall CopyPkmnToTempMon
|
farcall CopyMonToTempMon
|
||||||
ld a, [wCurPartySpecies]
|
ld a, [wCurPartySpecies]
|
||||||
cp EGG
|
cp EGG
|
||||||
jr z, .done
|
jr z, .done
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
CopyPkmnToTempMon: ; 5084a
|
CopyMonToTempMon: ; 5084a
|
||||||
; gets the BaseData of a Pkmn
|
; gets the BaseData of a mon
|
||||||
; and copys the PkmnStructure to wTempMon
|
; and copies the party_struct to wTempMon
|
||||||
|
|
||||||
ld a, [wCurPartyMon]
|
ld a, [wCurPartyMon]
|
||||||
ld e, a
|
ld e, a
|
||||||
call GetPkmnSpecies
|
call GetMonSpecies
|
||||||
ld a, [wCurPartySpecies]
|
ld a, [wCurPartySpecies]
|
||||||
ld [wCurSpecies], a
|
ld [wCurSpecies], a
|
||||||
call GetBaseData
|
call GetBaseData
|
||||||
@ -32,7 +32,7 @@ CopyPkmnToTempMon: ; 5084a
|
|||||||
.done
|
.done
|
||||||
ret
|
ret
|
||||||
|
|
||||||
CalcwBufferMonStats: ; 5088b
|
CalcBufferMonStats: ; 5088b
|
||||||
ld bc, wBufferMon
|
ld bc, wBufferMon
|
||||||
jr _TempMonStatsCalculation
|
jr _TempMonStatsCalculation
|
||||||
|
|
||||||
@ -50,8 +50,8 @@ _TempMonStatsCalculation: ; 50893
|
|||||||
ld hl, MON_STAT_EXP - 1
|
ld hl, MON_STAT_EXP - 1
|
||||||
add hl, bc
|
add hl, bc
|
||||||
push bc
|
push bc
|
||||||
ld b, $1
|
ld b, TRUE
|
||||||
predef CalcPkmnStats
|
predef CalcMonStats
|
||||||
pop bc
|
pop bc
|
||||||
ld hl, MON_HP
|
ld hl, MON_HP
|
||||||
add hl, bc
|
add hl, bc
|
||||||
@ -82,9 +82,9 @@ _TempMonStatsCalculation: ; 50893
|
|||||||
ld [hl], a
|
ld [hl], a
|
||||||
ret
|
ret
|
||||||
|
|
||||||
GetPkmnSpecies: ; 508d5
|
GetMonSpecies: ; 508d5
|
||||||
; [wMonType] has the type of the Pkmn
|
; [wMonType] has the type of the mon
|
||||||
; e = Nr. of Pkmn (i.e. [wCurPartyMon])
|
; e = Nr. of mon (i.e. [wCurPartyMon])
|
||||||
|
|
||||||
ld a, [wMonType]
|
ld a, [wMonType]
|
||||||
and a ; PARTYMON
|
and a ; PARTYMON
|
||||||
|
Before Width: | Height: | Size: 562 B After Width: | Height: | Size: 541 B |
Before Width: | Height: | Size: 820 B After Width: | Height: | Size: 799 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 526 B After Width: | Height: | Size: 505 B |
Before Width: | Height: | Size: 705 B After Width: | Height: | Size: 684 B |
Before Width: | Height: | Size: 388 B After Width: | Height: | Size: 367 B |
Before Width: | Height: | Size: 669 B After Width: | Height: | Size: 648 B |
Before Width: | Height: | Size: 384 B After Width: | Height: | Size: 363 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 690 B After Width: | Height: | Size: 669 B |
Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 261 B |
Before Width: | Height: | Size: 134 B After Width: | Height: | Size: 113 B |
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 199 B |
Before Width: | Height: | Size: 393 B After Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 310 B After Width: | Height: | Size: 289 B |
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 199 B |
Before Width: | Height: | Size: 292 B After Width: | Height: | Size: 271 B |
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 200 B |
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 318 B After Width: | Height: | Size: 297 B |
Before Width: | Height: | Size: 446 B After Width: | Height: | Size: 425 B |
Before Width: | Height: | Size: 681 B After Width: | Height: | Size: 660 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 385 B After Width: | Height: | Size: 364 B |
Before Width: | Height: | Size: 300 B After Width: | Height: | Size: 279 B |
@ -55,6 +55,10 @@ displaylocation EQUS "landmarktotext"
|
|||||||
|
|
||||||
; macros/scripts/maps.asm
|
; macros/scripts/maps.asm
|
||||||
|
|
||||||
|
mapconst: MACRO
|
||||||
|
map_const \1, \3, \2
|
||||||
|
ENDM
|
||||||
|
|
||||||
maptrigger EQUS "scene_script"
|
maptrigger EQUS "scene_script"
|
||||||
|
|
||||||
warp_def: MACRO
|
warp_def: MACRO
|
||||||
|
@ -177,15 +177,15 @@ ENDM
|
|||||||
battle_tower_struct: MACRO
|
battle_tower_struct: MACRO
|
||||||
\1Name:: ds NAME_LENGTH + -1
|
\1Name:: ds NAME_LENGTH + -1
|
||||||
\1TrainerClass:: ds 1
|
\1TrainerClass:: ds 1
|
||||||
\1Pkmn1:: party_struct \1Pkmn1
|
\1Mon1:: party_struct \1Mon1
|
||||||
\1Pkmn1Name:: ds MON_NAME_LENGTH
|
\1Mon1Name:: ds MON_NAME_LENGTH
|
||||||
\1Pkmn1NameEnd::
|
\1Mon1NameEnd::
|
||||||
\1Pkmn2:: party_struct \1Pkmn2
|
\1Mon2:: party_struct \1Mon2
|
||||||
\1Pkmn2Name:: ds MON_NAME_LENGTH
|
\1Mon2Name:: ds MON_NAME_LENGTH
|
||||||
\1Pkmn2NameEnd::
|
\1Mon2NameEnd::
|
||||||
\1Pkmn3:: party_struct \1Pkmn3
|
\1Mon3:: party_struct \1Mon3
|
||||||
\1Pkmn3Name:: ds MON_NAME_LENGTH
|
\1Mon3Name:: ds MON_NAME_LENGTH
|
||||||
\1Pkmn3NameEnd::
|
\1Mon3NameEnd::
|
||||||
\1TrainerData:: ds BATTLETOWER_TRAINERDATALENGTH
|
\1TrainerData:: ds BATTLETOWER_TRAINERDATALENGTH
|
||||||
\1TrainerEnd::
|
\1TrainerEnd::
|
||||||
ENDM
|
ENDM
|
||||||
|
@ -44,10 +44,10 @@ MapBattleTower1FSignpost0Script:
|
|||||||
opentext
|
opentext
|
||||||
writetext Text_ReadBattleTowerRules
|
writetext Text_ReadBattleTowerRules
|
||||||
yesorno
|
yesorno
|
||||||
iffalse UnknownScript_0x9e3e0
|
iffalse .skip
|
||||||
writetext Text_BattleTowerRules
|
writetext Text_BattleTowerRules
|
||||||
waitbutton
|
waitbutton
|
||||||
UnknownScript_0x9e3e0:
|
.skip:
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -186,7 +186,7 @@ UnreferencedScript_0x9e4be:
|
|||||||
UnreferencedScript_0x9e4ea:
|
UnreferencedScript_0x9e4ea:
|
||||||
writebyte BATTLETOWERACTION_LEVEL_CHECK
|
writebyte BATTLETOWERACTION_LEVEL_CHECK
|
||||||
special BattleTowerAction
|
special BattleTowerAction
|
||||||
ifnotequal $0, Script_APkmnLevelExceeds
|
ifnotequal $0, Script_AMonLevelExceeds
|
||||||
writebyte BATTLETOWERACTION_UBERS_CHECK
|
writebyte BATTLETOWERACTION_UBERS_CHECK
|
||||||
special BattleTowerAction
|
special BattleTowerAction
|
||||||
ifnotequal $0, Script_MayNotEnterABattleRoomUnderL70
|
ifnotequal $0, Script_MayNotEnterABattleRoomUnderL70
|
||||||
@ -223,8 +223,8 @@ UnreferencedScript_0x9e53b:
|
|||||||
waitbutton
|
waitbutton
|
||||||
jump Script_BattleTowerHopeToServeYouAgain
|
jump Script_BattleTowerHopeToServeYouAgain
|
||||||
|
|
||||||
Script_APkmnLevelExceeds: ; 0x9e542
|
Script_AMonLevelExceeds: ; 0x9e542
|
||||||
writetext Text_APkmnLevelExceeds
|
writetext Text_AMonLevelExceeds
|
||||||
waitbutton
|
waitbutton
|
||||||
jump Script_Menu_ChallengeExplanationCancel
|
jump Script_Menu_ChallengeExplanationCancel
|
||||||
|
|
||||||
@ -626,7 +626,7 @@ Text_BattleTower_LeftWithoutSaving:
|
|||||||
line "invalid."
|
line "invalid."
|
||||||
done
|
done
|
||||||
|
|
||||||
Text_YourPkmnWillBeHealedToFullHealth: ; 0x9ee92
|
Text_YourMonWillBeHealedToFullHealth: ; 0x9ee92
|
||||||
text "Your #MON will"
|
text "Your #MON will"
|
||||||
line "be healed to full"
|
line "be healed to full"
|
||||||
cont "health."
|
cont "health."
|
||||||
@ -730,7 +730,7 @@ Text_RegisterRecordTimedOut_Mobile:
|
|||||||
cont "challenge."
|
cont "challenge."
|
||||||
done
|
done
|
||||||
|
|
||||||
Text_APkmnLevelExceeds: ; 0x9f1e5
|
Text_AMonLevelExceeds: ; 0x9f1e5
|
||||||
text "One or more of"
|
text "One or more of"
|
||||||
line "your #MON's"
|
line "your #MON's"
|
||||||
cont "levels exceeds @"
|
cont "levels exceeds @"
|
||||||
|
@ -42,7 +42,7 @@ Script_BattleRoomLoop: ; 0x9f425
|
|||||||
applymovement BATTLETOWERBATTLEROOM_RECEPTIONIST, MovementData_BattleTowerBattleRoomReceptionistWalksToPlayer
|
applymovement BATTLETOWERBATTLEROOM_RECEPTIONIST, MovementData_BattleTowerBattleRoomReceptionistWalksToPlayer
|
||||||
applymovement PLAYER, MovementData_BattleTowerBattleRoomPlayerTurnsToFaceReceptionist
|
applymovement PLAYER, MovementData_BattleTowerBattleRoomPlayerTurnsToFaceReceptionist
|
||||||
opentext
|
opentext
|
||||||
writetext Text_YourPkmnWillBeHealedToFullHealth
|
writetext Text_YourMonWillBeHealedToFullHealth
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
playmusic MUSIC_HEAL
|
playmusic MUSIC_HEAL
|
||||||
|
@ -18,36 +18,36 @@ TrainerGentlemanAlfred:
|
|||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
TrainerSailorHuey1:
|
TrainerSailorHuey:
|
||||||
trainer SAILOR, HUEY1, EVENT_BEAT_SAILOR_HUEY, SailorHuey1SeenText, SailorHuey1BeatenText, 0, .Script
|
trainer SAILOR, HUEY1, EVENT_BEAT_SAILOR_HUEY, SailorHueySeenText, SailorHueyBeatenText, 0, .Script
|
||||||
|
|
||||||
.Script:
|
.Script:
|
||||||
writecode VAR_CALLERID, PHONE_SAILOR_HUEY
|
writecode VAR_CALLERID, PHONE_SAILOR_HUEY
|
||||||
endifjustbattled
|
endifjustbattled
|
||||||
opentext
|
opentext
|
||||||
checkflag ENGINE_HUEY
|
checkflag ENGINE_HUEY
|
||||||
iftrue UnknownScript_0x5afc7
|
iftrue .WantsBattle
|
||||||
checkcellnum PHONE_SAILOR_HUEY
|
checkcellnum PHONE_SAILOR_HUEY
|
||||||
iftrue UnknownScript_0x5b05f
|
iftrue .NumberAccepted
|
||||||
checkevent EVENT_HUEY_ASKED_FOR_PHONE_NUMBER
|
checkevent EVENT_HUEY_ASKED_FOR_PHONE_NUMBER
|
||||||
iftrue UnknownScript_0x5afb0
|
iftrue .AskedBefore
|
||||||
setevent EVENT_HUEY_ASKED_FOR_PHONE_NUMBER
|
setevent EVENT_HUEY_ASKED_FOR_PHONE_NUMBER
|
||||||
scall UnknownScript_0x5b053
|
scall .AskNumber1
|
||||||
jump UnknownScript_0x5afb3
|
jump .AskForNumber
|
||||||
|
|
||||||
UnknownScript_0x5afb0:
|
.AskedBefore:
|
||||||
scall UnknownScript_0x5b057
|
scall .AskNumber2
|
||||||
UnknownScript_0x5afb3:
|
.AskForNumber:
|
||||||
askforphonenumber PHONE_SAILOR_HUEY
|
askforphonenumber PHONE_SAILOR_HUEY
|
||||||
ifequal PHONE_CONTACTS_FULL, UnknownScript_0x5b067
|
ifequal PHONE_CONTACTS_FULL, .PhoneFull
|
||||||
ifequal PHONE_CONTACT_REFUSED, UnknownScript_0x5b063
|
ifequal PHONE_CONTACT_REFUSED, .NumberDeclined
|
||||||
trainertotext SAILOR, HUEY1, MEM_BUFFER_0
|
trainertotext SAILOR, HUEY1, MEM_BUFFER_0
|
||||||
scall UnknownScript_0x5b05b
|
scall .RegisteredNumber
|
||||||
jump UnknownScript_0x5b05f
|
jump .NumberAccepted
|
||||||
|
|
||||||
UnknownScript_0x5afc7:
|
.WantsBattle:
|
||||||
scall UnknownScript_0x5b06b
|
scall .Rematch
|
||||||
winlosstext SailorHuey1BeatenText, 0
|
winlosstext SailorHueyBeatenText, 0
|
||||||
copybytetovar wHueyFightCount
|
copybytetovar wHueyFightCount
|
||||||
ifequal 3, .Fight3
|
ifequal 3, .Fight3
|
||||||
ifequal 2, .Fight2
|
ifequal 2, .Fight2
|
||||||
@ -92,72 +92,72 @@ UnknownScript_0x5afc7:
|
|||||||
reloadmapafterbattle
|
reloadmapafterbattle
|
||||||
clearflag ENGINE_HUEY
|
clearflag ENGINE_HUEY
|
||||||
checkevent EVENT_HUEY_PROTEIN
|
checkevent EVENT_HUEY_PROTEIN
|
||||||
iftrue UnknownScript_0x5b03f
|
iftrue .HasProtein
|
||||||
checkevent EVENT_GOT_PROTEIN_FROM_HUEY
|
checkevent EVENT_GOT_PROTEIN_FROM_HUEY
|
||||||
iftrue UnknownScript_0x5b03e
|
iftrue .SkipGift
|
||||||
scall UnknownScript_0x5b076
|
scall .RematchGift
|
||||||
verbosegiveitem PROTEIN
|
verbosegiveitem PROTEIN
|
||||||
iffalse UnknownScript_0x5b06f
|
iffalse .PackFull
|
||||||
setevent EVENT_GOT_PROTEIN_FROM_HUEY
|
setevent EVENT_GOT_PROTEIN_FROM_HUEY
|
||||||
jump UnknownScript_0x5b05f
|
jump .NumberAccepted
|
||||||
|
|
||||||
UnknownScript_0x5b03e:
|
.SkipGift:
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5b03f:
|
.HasProtein:
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x5b1b6
|
writetext UnknownText_0x5b1b6
|
||||||
waitbutton
|
waitbutton
|
||||||
verbosegiveitem PROTEIN
|
verbosegiveitem PROTEIN
|
||||||
iffalse UnknownScript_0x5b06f
|
iffalse .PackFull
|
||||||
clearevent EVENT_HUEY_PROTEIN
|
clearevent EVENT_HUEY_PROTEIN
|
||||||
setevent EVENT_GOT_PROTEIN_FROM_HUEY
|
setevent EVENT_GOT_PROTEIN_FROM_HUEY
|
||||||
jump UnknownScript_0x5b05f
|
jump .NumberAccepted
|
||||||
|
|
||||||
UnknownScript_0x5b053:
|
.AskNumber1:
|
||||||
jumpstd asknumber1m
|
jumpstd asknumber1m
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5b057:
|
.AskNumber2:
|
||||||
jumpstd asknumber2m
|
jumpstd asknumber2m
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5b05b:
|
.RegisteredNumber:
|
||||||
jumpstd registerednumberm
|
jumpstd registerednumberm
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5b05f:
|
.NumberAccepted:
|
||||||
jumpstd numberacceptedm
|
jumpstd numberacceptedm
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5b063:
|
.NumberDeclined:
|
||||||
jumpstd numberdeclinedm
|
jumpstd numberdeclinedm
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5b067:
|
.PhoneFull:
|
||||||
jumpstd phonefullm
|
jumpstd phonefullm
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5b06b:
|
.Rematch:
|
||||||
jumpstd rematchm
|
jumpstd rematchm
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5b06f:
|
.PackFull:
|
||||||
setevent EVENT_HUEY_PROTEIN
|
setevent EVENT_HUEY_PROTEIN
|
||||||
jumpstd packfullm
|
jumpstd packfullm
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5b076:
|
.RematchGift:
|
||||||
jumpstd rematchgiftm
|
jumpstd rematchgiftm
|
||||||
end
|
end
|
||||||
|
|
||||||
SailorHuey1SeenText:
|
SailorHueySeenText:
|
||||||
text "Men of the sea are"
|
text "Men of the sea are"
|
||||||
line "always spoiling"
|
line "always spoiling"
|
||||||
cont "for a good fight!"
|
cont "for a good fight!"
|
||||||
done
|
done
|
||||||
|
|
||||||
SailorHuey1BeatenText:
|
SailorHueyBeatenText:
|
||||||
text "Urf!"
|
text "Urf!"
|
||||||
line "I lose!"
|
line "I lose!"
|
||||||
done
|
done
|
||||||
@ -218,5 +218,5 @@ OlivineLighthouse2F_MapEvents:
|
|||||||
db 0 ; bg events
|
db 0 ; bg events
|
||||||
|
|
||||||
db 2 ; object events
|
db 2 ; object events
|
||||||
object_event 9, 3, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSailorHuey1, -1
|
object_event 9, 3, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerSailorHuey, -1
|
||||||
object_event 17, 8, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerGentlemanAlfred, -1
|
object_event 17, 8, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_TRAINER, 3, TrainerGentlemanAlfred, -1
|
||||||
|
@ -8,30 +8,30 @@ OlivineLighthouse6F_MapScripts:
|
|||||||
|
|
||||||
db 0 ; callbacks
|
db 0 ; callbacks
|
||||||
|
|
||||||
JasmineScript_0x60b91:
|
OlivineLighthouseJasmine:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkitem SECRETPOTION
|
checkitem SECRETPOTION
|
||||||
iftrue UnknownScript_0x60bab
|
iftrue .BroughtSecretpotion
|
||||||
checkevent EVENT_JASMINE_EXPLAINED_AMPHYS_SICKNESS
|
checkevent EVENT_JASMINE_EXPLAINED_AMPHYS_SICKNESS
|
||||||
iftrue UnknownScript_0x60ba5
|
iftrue .ExplainedSickness
|
||||||
writetext UnknownText_0x60c81
|
writetext JasmineCianwoodPharmacyText
|
||||||
buttonsound
|
buttonsound
|
||||||
setevent EVENT_JASMINE_EXPLAINED_AMPHYS_SICKNESS
|
setevent EVENT_JASMINE_EXPLAINED_AMPHYS_SICKNESS
|
||||||
UnknownScript_0x60ba5:
|
.ExplainedSickness:
|
||||||
writetext UnknownText_0x60d64
|
writetext JasmineGetSomeMedicineText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x60bab:
|
.BroughtSecretpotion:
|
||||||
writetext UnknownText_0x60d99
|
writetext JasmineCureAmphyText
|
||||||
yesorno
|
yesorno
|
||||||
iffalse UnknownScript_0x60c25
|
iffalse .no
|
||||||
writetext UnknownText_0x60dc3
|
writetext PlayerHandedSecretpotionText
|
||||||
buttonsound
|
buttonsound
|
||||||
takeitem SECRETPOTION
|
takeitem SECRETPOTION
|
||||||
writetext UnknownText_0x60dea
|
writetext JasmineDontBeOffendedText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
turnobject OLIVINELIGHTHOUSE6F_JASMINE, RIGHT
|
turnobject OLIVINELIGHTHOUSE6F_JASMINE, RIGHT
|
||||||
@ -39,7 +39,7 @@ UnknownScript_0x60bab:
|
|||||||
turnobject OLIVINELIGHTHOUSE6F_MONSTER, LEFT
|
turnobject OLIVINELIGHTHOUSE6F_MONSTER, LEFT
|
||||||
opentext
|
opentext
|
||||||
playmusic MUSIC_HEAL
|
playmusic MUSIC_HEAL
|
||||||
writetext UnknownText_0x60e44
|
writetext JasmineAmphyHowAreYouFeelingText
|
||||||
pause 60
|
pause 60
|
||||||
buttonsound
|
buttonsound
|
||||||
closetext
|
closetext
|
||||||
@ -49,7 +49,7 @@ UnknownScript_0x60bab:
|
|||||||
pause 10
|
pause 10
|
||||||
special FadeInPalettes
|
special FadeInPalettes
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x60f3d
|
writetext AmphyPaluPaluluText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
turnobject OLIVINELIGHTHOUSE6F_MONSTER, RIGHT
|
turnobject OLIVINELIGHTHOUSE6F_MONSTER, RIGHT
|
||||||
@ -62,37 +62,37 @@ UnknownScript_0x60bab:
|
|||||||
pause 10
|
pause 10
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x60e6c
|
writetext JasmineThankYouText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
setevent EVENT_JASMINE_RETURNED_TO_GYM
|
setevent EVENT_JASMINE_RETURNED_TO_GYM
|
||||||
clearevent EVENT_OLIVINE_GYM_JASMINE
|
clearevent EVENT_OLIVINE_GYM_JASMINE
|
||||||
checkcode VAR_FACING
|
checkcode VAR_FACING
|
||||||
ifequal DOWN, UnknownScript_0x60c17
|
ifequal DOWN, .FacingDown
|
||||||
ifequal RIGHT, UnknownScript_0x60c1e
|
ifequal RIGHT, .FacingRight
|
||||||
applymovement OLIVINELIGHTHOUSE6F_JASMINE, MovementData_0x60c68
|
applymovement OLIVINELIGHTHOUSE6F_JASMINE, MovementData_0x60c68
|
||||||
disappear OLIVINELIGHTHOUSE6F_JASMINE
|
disappear OLIVINELIGHTHOUSE6F_JASMINE
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x60c17:
|
.FacingDown:
|
||||||
applymovement OLIVINELIGHTHOUSE6F_JASMINE, MovementData_0x60c70
|
applymovement OLIVINELIGHTHOUSE6F_JASMINE, MovementData_0x60c70
|
||||||
disappear OLIVINELIGHTHOUSE6F_JASMINE
|
disappear OLIVINELIGHTHOUSE6F_JASMINE
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x60c1e:
|
.FacingRight:
|
||||||
applymovement OLIVINELIGHTHOUSE6F_JASMINE, MovementData_0x60c79
|
applymovement OLIVINELIGHTHOUSE6F_JASMINE, MovementData_0x60c79
|
||||||
disappear OLIVINELIGHTHOUSE6F_JASMINE
|
disappear OLIVINELIGHTHOUSE6F_JASMINE
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x60c25:
|
.no:
|
||||||
writetext UnknownText_0x60edf
|
writetext JasmineISeeText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
turnobject OLIVINELIGHTHOUSE6F_JASMINE, RIGHT
|
turnobject OLIVINELIGHTHOUSE6F_JASMINE, RIGHT
|
||||||
pause 15
|
pause 15
|
||||||
turnobject OLIVINELIGHTHOUSE6F_MONSTER, LEFT
|
turnobject OLIVINELIGHTHOUSE6F_MONSTER, LEFT
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x60ef1
|
writetext JasmineAmphyHangOnText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
@ -100,22 +100,22 @@ UnknownScript_0x60c25:
|
|||||||
UnknownScript_0x60c39:
|
UnknownScript_0x60c39:
|
||||||
end
|
end
|
||||||
|
|
||||||
MonsterScript_0x60c3a:
|
OlivineLighthouseAmphy:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_JASMINE_RETURNED_TO_GYM
|
checkevent EVENT_JASMINE_RETURNED_TO_GYM
|
||||||
iftrue UnknownScript_0x60c51
|
iftrue .HealthyNow
|
||||||
writetext UnknownText_0x60f03
|
writetext AmphyPalPalooText
|
||||||
writebyte AMPHAROS
|
writebyte AMPHAROS
|
||||||
special PlaySlowCry
|
special PlaySlowCry
|
||||||
buttonsound
|
buttonsound
|
||||||
writetext UnknownText_0x60f19
|
writetext AmphyBreathingLaboredText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x60c51:
|
.HealthyNow:
|
||||||
writetext UnknownText_0x60f3d
|
writetext AmphyPaluPaluluText
|
||||||
cry AMPHAROS
|
cry AMPHAROS
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -159,7 +159,7 @@ MovementData_0x60c79:
|
|||||||
step_sleep 8
|
step_sleep 8
|
||||||
step_end
|
step_end
|
||||||
|
|
||||||
UnknownText_0x60c81:
|
JasmineCianwoodPharmacyText:
|
||||||
text "JASMINE: … This"
|
text "JASMINE: … This"
|
||||||
line "#MON always"
|
line "#MON always"
|
||||||
|
|
||||||
@ -183,25 +183,25 @@ UnknownText_0x60c81:
|
|||||||
line "AMPHY unattended…"
|
line "AMPHY unattended…"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x60d64:
|
JasmineGetSomeMedicineText:
|
||||||
text "…May I ask you to"
|
text "…May I ask you to"
|
||||||
line "get some medicine"
|
line "get some medicine"
|
||||||
cont "for me? Please?"
|
cont "for me? Please?"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x60d99:
|
JasmineCureAmphyText:
|
||||||
text "JASMINE: …Will"
|
text "JASMINE: …Will"
|
||||||
line "that medicine cure"
|
line "that medicine cure"
|
||||||
cont "AMPHY?"
|
cont "AMPHY?"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x60dc3:
|
PlayerHandedSecretpotionText:
|
||||||
text "<PLAYER> handed the"
|
text "<PLAYER> handed the"
|
||||||
line "SECRETPOTION to"
|
line "SECRETPOTION to"
|
||||||
cont "JASMINE."
|
cont "JASMINE."
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x60dea:
|
JasmineDontBeOffendedText:
|
||||||
text "JASMINE: …Um,"
|
text "JASMINE: …Um,"
|
||||||
line "please don't be"
|
line "please don't be"
|
||||||
cont "offended…"
|
cont "offended…"
|
||||||
@ -211,14 +211,14 @@ UnknownText_0x60dea:
|
|||||||
cont "anyone but me…"
|
cont "anyone but me…"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x60e44:
|
JasmineAmphyHowAreYouFeelingText:
|
||||||
text "JASMINE: …"
|
text "JASMINE: …"
|
||||||
|
|
||||||
para "AMPHY, how are you"
|
para "AMPHY, how are you"
|
||||||
line "feeling?"
|
line "feeling?"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x60e6c:
|
JasmineThankYouText:
|
||||||
text "JASMINE: …Oh, I'm"
|
text "JASMINE: …Oh, I'm"
|
||||||
line "so relieved…"
|
line "so relieved…"
|
||||||
|
|
||||||
@ -232,25 +232,25 @@ UnknownText_0x60e6c:
|
|||||||
line "the GYM…"
|
line "the GYM…"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x60edf:
|
JasmineISeeText:
|
||||||
text "JASMINE: …I see…"
|
text "JASMINE: …I see…"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x60ef1:
|
JasmineAmphyHangOnText:
|
||||||
text "…AMPHY, hang on!"
|
text "…AMPHY, hang on!"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x60f03:
|
AmphyPalPalooText:
|
||||||
text "AMPHY: …"
|
text "AMPHY: …"
|
||||||
line "…Pa… paloo…"
|
line "…Pa… paloo…"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x60f19:
|
AmphyBreathingLaboredText:
|
||||||
text "Its breathing is"
|
text "Its breathing is"
|
||||||
line "terribly labored…"
|
line "terribly labored…"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x60f3d:
|
AmphyPaluPaluluText:
|
||||||
text "AMPHY: Palu!"
|
text "AMPHY: Palu!"
|
||||||
line "Palulu!"
|
line "Palulu!"
|
||||||
done
|
done
|
||||||
@ -268,6 +268,6 @@ OlivineLighthouse6F_MapEvents:
|
|||||||
db 0 ; bg events
|
db 0 ; bg events
|
||||||
|
|
||||||
db 3 ; object events
|
db 3 ; object events
|
||||||
object_event 8, 8, SPRITE_JASMINE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, JasmineScript_0x60b91, EVENT_OLIVINE_LIGHTHOUSE_JASMINE
|
object_event 8, 8, SPRITE_JASMINE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, OlivineLighthouseJasmine, EVENT_OLIVINE_LIGHTHOUSE_JASMINE
|
||||||
object_event 9, 8, SPRITE_MONSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, MonsterScript_0x60c3a, -1
|
object_event 9, 8, SPRITE_MONSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, OlivineLighthouseAmphy, -1
|
||||||
object_event 3, 4, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, OlivineLighthouse6FSuperPotion, EVENT_OLIVINE_LIGHTHOUSE_6F_SUPER_POTION
|
object_event 3, 4, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, OlivineLighthouse6FSuperPotion, EVENT_OLIVINE_LIGHTHOUSE_6F_SUPER_POTION
|
||||||
|
@ -11,72 +11,72 @@ PokemonFanClub_MapScripts:
|
|||||||
|
|
||||||
db 0 ; callbacks
|
db 0 ; callbacks
|
||||||
|
|
||||||
GentlemanScript_0x1917e9:
|
PokemonFanClubPresidentScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT
|
checkevent EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT
|
||||||
iftrue UnknownScript_0x191815
|
iftrue .HeardSpeech
|
||||||
checkevent EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT_BUT_BAG_WAS_FULL
|
checkevent EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT_BUT_BAG_WAS_FULL
|
||||||
iftrue UnknownScript_0x191802
|
iftrue .HeardSpeechButBagFull
|
||||||
writetext UnknownText_0x191881
|
writetext UnknownText_0x191881
|
||||||
yesorno
|
yesorno
|
||||||
iffalse UnknownScript_0x19181b
|
iffalse .NotListening
|
||||||
writetext UnknownText_0x191911
|
writetext UnknownText_0x191911
|
||||||
buttonsound
|
buttonsound
|
||||||
UnknownScript_0x191802:
|
.HeardSpeechButBagFull:
|
||||||
writetext UnknownText_0x191a3d
|
writetext UnknownText_0x191a3d
|
||||||
buttonsound
|
buttonsound
|
||||||
verbosegiveitem RARE_CANDY
|
verbosegiveitem RARE_CANDY
|
||||||
iffalse UnknownScript_0x19181f
|
iffalse .BagFull
|
||||||
setevent EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT
|
setevent EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT
|
||||||
writetext UnknownText_0x191a72
|
writetext UnknownText_0x191a72
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x191815:
|
.HeardSpeech:
|
||||||
writetext UnknownText_0x191ae0
|
writetext UnknownText_0x191ae0
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x19181b:
|
.NotListening:
|
||||||
writetext UnknownText_0x191b38
|
writetext UnknownText_0x191b38
|
||||||
waitbutton
|
waitbutton
|
||||||
UnknownScript_0x19181f:
|
.BagFull:
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
PokemonFanClubReceptionistScript:
|
PokemonFanClubReceptionistScript:
|
||||||
jumptextfaceplayer PokemonFanClubReceptionistText
|
jumptextfaceplayer PokemonFanClubReceptionistText
|
||||||
|
|
||||||
FisherScript_0x191824:
|
PokemonFanClubClefairyGuyScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_GOT_LOST_ITEM_FROM_FAN_CLUB
|
checkevent EVENT_GOT_LOST_ITEM_FROM_FAN_CLUB
|
||||||
iftrue UnknownScript_0x19185f
|
iftrue .GotLostItem
|
||||||
checkevent EVENT_RETURNED_MACHINE_PART
|
checkevent EVENT_RETURNED_MACHINE_PART
|
||||||
iftrue UnknownScript_0x191838
|
iftrue .FoundClefairyDoll
|
||||||
writetext UnknownText_0x191ba0
|
writetext UnknownText_0x191ba0
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x191838:
|
.FoundClefairyDoll:
|
||||||
writetext UnknownText_0x191bff
|
writetext UnknownText_0x191bff
|
||||||
checkevent EVENT_MET_COPYCAT_FOUND_OUT_ABOUT_LOST_ITEM
|
checkevent EVENT_MET_COPYCAT_FOUND_OUT_ABOUT_LOST_ITEM
|
||||||
iftrue UnknownScript_0x191844
|
iftrue .MetCopycat
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x191844:
|
.MetCopycat:
|
||||||
buttonsound
|
buttonsound
|
||||||
writetext UnknownText_0x191c5a
|
writetext UnknownText_0x191c5a
|
||||||
buttonsound
|
buttonsound
|
||||||
waitsfx
|
waitsfx
|
||||||
giveitem LOST_ITEM
|
giveitem LOST_ITEM
|
||||||
iffalse UnknownScript_0x191865
|
iffalse .NoRoom
|
||||||
disappear POKEMONFANCLUB_FAIRY
|
disappear POKEMONFANCLUB_FAIRY
|
||||||
writetext UnknownText_0x191d0a
|
writetext UnknownText_0x191d0a
|
||||||
playsound SFX_KEY_ITEM
|
playsound SFX_KEY_ITEM
|
||||||
@ -86,13 +86,13 @@ UnknownScript_0x191844:
|
|||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x19185f:
|
.GotLostItem:
|
||||||
writetext UnknownText_0x191d1e
|
writetext UnknownText_0x191d1e
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x191865:
|
.NoRoom:
|
||||||
writetext UnknownText_0x191d58
|
writetext UnknownText_0x191d58
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -101,10 +101,10 @@ UnknownScript_0x191865:
|
|||||||
PokemonFanClubTeacherScript:
|
PokemonFanClubTeacherScript:
|
||||||
jumptextfaceplayer PokemonFanClubTeacherText
|
jumptextfaceplayer PokemonFanClubTeacherText
|
||||||
|
|
||||||
ClefairyDoll:
|
PokemonFanClubClefairyDollScript:
|
||||||
jumptext ClefairyDollText
|
jumptext ClefairyDollText
|
||||||
|
|
||||||
FanClubBayleef:
|
PokemonFanClubBayleefScript:
|
||||||
opentext
|
opentext
|
||||||
writetext FanClubBayleefText
|
writetext FanClubBayleefText
|
||||||
cry BAYLEEF
|
cry BAYLEEF
|
||||||
@ -113,10 +113,10 @@ FanClubBayleef:
|
|||||||
end
|
end
|
||||||
|
|
||||||
MapPokemonFanClubSignpost0Script:
|
MapPokemonFanClubSignpost0Script:
|
||||||
jumptext UnknownText_0x191dfc
|
jumptext PokemonFanClubListenSignText
|
||||||
|
|
||||||
MapPokemonFanClubSignpost1Script:
|
MapPokemonFanClubSignpost1Script:
|
||||||
jumptext UnknownText_0x191e29
|
jumptext PokemonFanClubBraggingSignText
|
||||||
|
|
||||||
UnknownText_0x191881:
|
UnknownText_0x191881:
|
||||||
text "I'm the CHAIRMAN"
|
text "I'm the CHAIRMAN"
|
||||||
@ -283,13 +283,13 @@ FanClubBayleefText:
|
|||||||
text "BAYLEEF: Li liif!"
|
text "BAYLEEF: Li liif!"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x191dfc:
|
PokemonFanClubListenSignText:
|
||||||
text "Let's all listen"
|
text "Let's all listen"
|
||||||
line "politely to other"
|
line "politely to other"
|
||||||
cont "trainers."
|
cont "trainers."
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x191e29:
|
PokemonFanClubBraggingSignText:
|
||||||
text "If someone brags,"
|
text "If someone brags,"
|
||||||
line "brag right back!"
|
line "brag right back!"
|
||||||
done
|
done
|
||||||
@ -308,9 +308,9 @@ PokemonFanClub_MapEvents:
|
|||||||
bg_event 9, 0, BGEVENT_READ, MapPokemonFanClubSignpost1Script
|
bg_event 9, 0, BGEVENT_READ, MapPokemonFanClubSignpost1Script
|
||||||
|
|
||||||
db 6 ; object events
|
db 6 ; object events
|
||||||
object_event 3, 1, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GentlemanScript_0x1917e9, -1
|
object_event 3, 1, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PokemonFanClubPresidentScript, -1
|
||||||
object_event 4, 1, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, PokemonFanClubReceptionistScript, -1
|
object_event 4, 1, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, PokemonFanClubReceptionistScript, -1
|
||||||
object_event 2, 3, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FisherScript_0x191824, -1
|
object_event 2, 3, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PokemonFanClubClefairyGuyScript, -1
|
||||||
object_event 7, 2, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PokemonFanClubTeacherScript, -1
|
object_event 7, 2, SPRITE_TEACHER, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PokemonFanClubTeacherScript, -1
|
||||||
object_event 2, 4, SPRITE_FAIRY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ClefairyDoll, EVENT_VERMILION_FAN_CLUB_DOLL
|
object_event 2, 4, SPRITE_FAIRY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PokemonFanClubClefairyDollScript, EVENT_VERMILION_FAN_CLUB_DOLL
|
||||||
object_event 7, 3, SPRITE_ODDISH, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, FanClubBayleef, -1
|
object_event 7, 3, SPRITE_ODDISH, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, PokemonFanClubBayleefScript, -1
|
||||||
|
@ -11,17 +11,17 @@ RadioTower1F_MapScripts:
|
|||||||
|
|
||||||
db 0 ; callbacks
|
db 0 ; callbacks
|
||||||
|
|
||||||
ReceptionistScript_0x5cd29:
|
RadioTower1FReceptionistScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkflag ENGINE_ROCKETS_IN_RADIO_TOWER
|
checkflag ENGINE_ROCKETS_IN_RADIO_TOWER
|
||||||
iftrue UnknownScript_0x5cd37
|
iftrue .Rockets
|
||||||
writetext UnknownText_0x5ce77
|
writetext UnknownText_0x5ce77
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5cd37:
|
.Rockets:
|
||||||
writetext UnknownText_0x5ce81
|
writetext UnknownText_0x5ce81
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -111,67 +111,67 @@ GentlemanScript_0x5cd3d:
|
|||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
CooltrainerFScript_0x5cdd5:
|
RadioTower1FRadioCardWomanScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkflag ENGINE_RADIO_CARD
|
checkflag ENGINE_RADIO_CARD
|
||||||
iftrue UnknownScript_0x5ce2d
|
iftrue .GotCard
|
||||||
writetext UnknownText_0x5d12d
|
writetext UnknownText_0x5d12d
|
||||||
yesorno
|
yesorno
|
||||||
iffalse UnknownScript_0x5ce4b
|
iffalse .NoQuiz
|
||||||
writetext UnknownText_0x5d1f2
|
writetext UnknownText_0x5d1f2
|
||||||
yesorno
|
yesorno
|
||||||
iffalse UnknownScript_0x5ce42
|
iffalse .WrongAnswer
|
||||||
playsound SFX_ELEVATOR_END
|
playsound SFX_ELEVATOR_END
|
||||||
waitsfx
|
waitsfx
|
||||||
writetext UnknownText_0x5d231
|
writetext UnknownText_0x5d231
|
||||||
yesorno
|
yesorno
|
||||||
iffalse UnknownScript_0x5ce42
|
iffalse .WrongAnswer
|
||||||
playsound SFX_ELEVATOR_END
|
playsound SFX_ELEVATOR_END
|
||||||
waitsfx
|
waitsfx
|
||||||
writetext UnknownText_0x5d282
|
writetext UnknownText_0x5d282
|
||||||
yesorno
|
yesorno
|
||||||
iftrue UnknownScript_0x5ce42
|
iftrue .WrongAnswer
|
||||||
playsound SFX_ELEVATOR_END
|
playsound SFX_ELEVATOR_END
|
||||||
waitsfx
|
waitsfx
|
||||||
writetext UnknownText_0x5d2bc
|
writetext UnknownText_0x5d2bc
|
||||||
yesorno
|
yesorno
|
||||||
iffalse UnknownScript_0x5ce42
|
iffalse .WrongAnswer
|
||||||
playsound SFX_ELEVATOR_END
|
playsound SFX_ELEVATOR_END
|
||||||
waitsfx
|
waitsfx
|
||||||
writetext UnknownText_0x5d30e
|
writetext UnknownText_0x5d30e
|
||||||
yesorno
|
yesorno
|
||||||
iftrue UnknownScript_0x5ce42
|
iftrue .WrongAnswer
|
||||||
playsound SFX_ELEVATOR_END
|
playsound SFX_ELEVATOR_END
|
||||||
waitsfx
|
waitsfx
|
||||||
writetext UnknownText_0x5d37b
|
writetext UnknownText_0x5d37b
|
||||||
buttonsound
|
buttonsound
|
||||||
stringtotext RadioCardText, MEM_BUFFER_1
|
stringtotext .RadioCardText, MEM_BUFFER_1
|
||||||
scall UnknownScript_0x5ce3e
|
scall .ReceiveItem
|
||||||
writetext UnknownText_0x5d3c0
|
writetext UnknownText_0x5d3c0
|
||||||
buttonsound
|
buttonsound
|
||||||
setflag ENGINE_RADIO_CARD
|
setflag ENGINE_RADIO_CARD
|
||||||
UnknownScript_0x5ce2d:
|
.GotCard:
|
||||||
writetext UnknownText_0x5d3e5
|
writetext UnknownText_0x5d3e5
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
RadioCardText:
|
.RadioCardText:
|
||||||
db "RADIO CARD@"
|
db "RADIO CARD@"
|
||||||
|
|
||||||
UnknownScript_0x5ce3e:
|
.ReceiveItem:
|
||||||
jumpstd receiveitem
|
jumpstd receiveitem
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5ce42:
|
.WrongAnswer:
|
||||||
playsound SFX_WRONG
|
playsound SFX_WRONG
|
||||||
writetext UnknownText_0x5d409
|
writetext UnknownText_0x5d409
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5ce4b:
|
.NoQuiz:
|
||||||
writetext UnknownText_0x5d443
|
writetext UnknownText_0x5d443
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -485,9 +485,9 @@ RadioTower1F_MapEvents:
|
|||||||
bg_event 13, 0, BGEVENT_READ, MapRadioTower1FSignpost1Script
|
bg_event 13, 0, BGEVENT_READ, MapRadioTower1FSignpost1Script
|
||||||
|
|
||||||
db 6 ; object events
|
db 6 ; object events
|
||||||
object_event 5, 6, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, ReceptionistScript_0x5cd29, -1
|
object_event 5, 6, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, RadioTower1FReceptionistScript, -1
|
||||||
object_event 16, 4, SPRITE_LASS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, RadioTower1FLassScript, EVENT_GOLDENROD_CITY_CIVILIANS
|
object_event 16, 4, SPRITE_LASS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, RadioTower1FLassScript, EVENT_GOLDENROD_CITY_CIVILIANS
|
||||||
object_event 15, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, RadioTower1FYoungsterScript, EVENT_GOLDENROD_CITY_CIVILIANS
|
object_event 15, 4, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, RadioTower1FYoungsterScript, EVENT_GOLDENROD_CITY_CIVILIANS
|
||||||
object_event 14, 1, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM3, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
object_event 14, 1, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM3, EVENT_RADIO_TOWER_ROCKET_TAKEOVER
|
||||||
object_event 8, 6, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GentlemanScript_0x5cd3d, EVENT_GOLDENROD_CITY_CIVILIANS
|
object_event 8, 6, SPRITE_GENTLEMAN, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GentlemanScript_0x5cd3d, EVENT_GOLDENROD_CITY_CIVILIANS
|
||||||
object_event 12, 6, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CooltrainerFScript_0x5cdd5, EVENT_GOLDENROD_CITY_CIVILIANS
|
object_event 12, 6, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, RadioTower1FRadioCardWomanScript, EVENT_GOLDENROD_CITY_CIVILIANS
|
||||||
|
@ -100,31 +100,31 @@ Buena:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkflag ENGINE_ROCKETS_IN_RADIO_TOWER
|
checkflag ENGINE_ROCKETS_IN_RADIO_TOWER
|
||||||
iftrue UnknownScript_0x5d865
|
iftrue .MidRocketTakeover
|
||||||
checkevent EVENT_MET_BUENA
|
checkevent EVENT_MET_BUENA
|
||||||
iffalse UnknownScript_0x5d800
|
iffalse .Introduction
|
||||||
checkflag ENGINE_BUENAS_PASSWORD_2
|
checkflag ENGINE_BUENAS_PASSWORD_2
|
||||||
iftrue UnknownScript_0x5d82f
|
iftrue .PlayedAlready
|
||||||
checkcode VAR_HOUR
|
checkcode VAR_HOUR
|
||||||
ifless 18, UnknownScript_0x5d893
|
ifless 18, .TooEarly
|
||||||
checkflag ENGINE_BUENAS_PASSWORD
|
checkflag ENGINE_BUENAS_PASSWORD
|
||||||
iffalse UnknownScript_0x5d80a
|
iffalse .TuneIn
|
||||||
checkitem BLUE_CARD
|
checkitem BLUE_CARD
|
||||||
iffalse UnknownScript_0x5d86b
|
iffalse .NoBlueCard
|
||||||
checkcode VAR_BLUECARDBALANCE
|
checkcode VAR_BLUECARDBALANCE
|
||||||
ifequal 30, UnknownScript_0x5d87f
|
ifequal 30, .BlueCardCapped0
|
||||||
playmusic MUSIC_BUENAS_PASSWORD
|
playmusic MUSIC_BUENAS_PASSWORD
|
||||||
writetext UnknownText_0x5de35
|
writetext UnknownText_0x5de35
|
||||||
special AskRememberPassword
|
special AskRememberPassword
|
||||||
iffalse UnknownScript_0x5d81e
|
iffalse .ForgotPassword
|
||||||
writetext UnknownText_0x5de84
|
writetext UnknownText_0x5de84
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
turnobject RADIOTOWER2F_BUENA, RIGHT
|
turnobject RADIOTOWER2F_BUENA, RIGHT
|
||||||
checkcode VAR_FACING
|
checkcode VAR_FACING
|
||||||
ifnotequal RIGHT, UnknownScript_0x5d7be
|
ifnotequal RIGHT, .DontNeedToMove
|
||||||
applymovement PLAYER, MovementData_0x5d921
|
applymovement PLAYER, MovementData_0x5d921
|
||||||
UnknownScript_0x5d7be:
|
.DontNeedToMove:
|
||||||
turnobject PLAYER, RIGHT
|
turnobject PLAYER, RIGHT
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x5dedd
|
writetext UnknownText_0x5dedd
|
||||||
@ -134,7 +134,7 @@ UnknownScript_0x5d7be:
|
|||||||
refreshscreen
|
refreshscreen
|
||||||
special BuenasPassword
|
special BuenasPassword
|
||||||
closetext
|
closetext
|
||||||
iffalse UnknownScript_0x5d845
|
iffalse .WrongAnswer
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x5dfc1
|
writetext UnknownText_0x5dfc1
|
||||||
waitbutton
|
waitbutton
|
||||||
@ -155,27 +155,27 @@ UnknownScript_0x5d7be:
|
|||||||
pause 20
|
pause 20
|
||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
checkcode VAR_BLUECARDBALANCE
|
checkcode VAR_BLUECARDBALANCE
|
||||||
ifequal 30, UnknownScript_0x5d8a4
|
ifequal 30, .BlueCardCapped1
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5d800:
|
.Introduction:
|
||||||
writetext UnknownText_0x5dcf4
|
writetext UnknownText_0x5dcf4
|
||||||
buttonsound
|
buttonsound
|
||||||
setevent EVENT_MET_BUENA
|
setevent EVENT_MET_BUENA
|
||||||
verbosegiveitem BLUE_CARD
|
verbosegiveitem BLUE_CARD
|
||||||
UnknownScript_0x5d80a:
|
.TuneIn:
|
||||||
writetext UnknownText_0x5de10
|
writetext UnknownText_0x5de10
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
checkcellnum PHONE_BUENA
|
checkcellnum PHONE_BUENA
|
||||||
iftrue UnknownScript_0x5d81a
|
iftrue .Registered0
|
||||||
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
|
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
|
||||||
iftrue UnknownScript_0x5d8cc
|
iftrue .OfferedNumberBefore
|
||||||
UnknownScript_0x5d81a:
|
.Registered0:
|
||||||
turnobject RADIOTOWER2F_BUENA, RIGHT
|
turnobject RADIOTOWER2F_BUENA, RIGHT
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5d81e:
|
.ForgotPassword:
|
||||||
writetext UnknownText_0x5df29
|
writetext UnknownText_0x5df29
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -185,20 +185,20 @@ UnknownScript_0x5d81e:
|
|||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5d82f:
|
.PlayedAlready:
|
||||||
writetext UnknownText_0x5df6c
|
writetext UnknownText_0x5df6c
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
checkcellnum PHONE_BUENA
|
checkcellnum PHONE_BUENA
|
||||||
iftrue UnknownScript_0x5d83f
|
iftrue .Registered1
|
||||||
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
|
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
|
||||||
iftrue UnknownScript_0x5d8cc
|
iftrue .OfferedNumberBefore
|
||||||
UnknownScript_0x5d83f:
|
.Registered1:
|
||||||
turnobject RADIOTOWER2F_BUENA, RIGHT
|
turnobject RADIOTOWER2F_BUENA, RIGHT
|
||||||
pause 10
|
pause 10
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5d845:
|
.WrongAnswer:
|
||||||
setflag ENGINE_BUENAS_PASSWORD_2
|
setflag ENGINE_BUENAS_PASSWORD_2
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x5e01c
|
writetext UnknownText_0x5e01c
|
||||||
@ -216,71 +216,71 @@ UnknownScript_0x5d845:
|
|||||||
special RestartMapMusic
|
special RestartMapMusic
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5d865:
|
.MidRocketTakeover:
|
||||||
writetext UnknownText_0x5e0c2
|
writetext UnknownText_0x5e0c2
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5d86b:
|
.NoBlueCard:
|
||||||
writetext UnknownText_0x5e192
|
writetext UnknownText_0x5e192
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
checkcellnum PHONE_BUENA
|
checkcellnum PHONE_BUENA
|
||||||
iftrue UnknownScript_0x5d87b
|
iftrue .Registered2
|
||||||
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
|
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
|
||||||
iftrue UnknownScript_0x5d8cc
|
iftrue .OfferedNumberBefore
|
||||||
UnknownScript_0x5d87b:
|
.Registered2:
|
||||||
turnobject RADIOTOWER2F_BUENA, RIGHT
|
turnobject RADIOTOWER2F_BUENA, RIGHT
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5d87f:
|
.BlueCardCapped0:
|
||||||
writetext UnknownText_0x5e0f1
|
writetext UnknownText_0x5e0f1
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
checkcellnum PHONE_BUENA
|
checkcellnum PHONE_BUENA
|
||||||
iftrue UnknownScript_0x5d88f
|
iftrue .Registered3
|
||||||
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
|
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
|
||||||
iftrue UnknownScript_0x5d8cc
|
iftrue .OfferedNumberBefore
|
||||||
UnknownScript_0x5d88f:
|
.Registered3:
|
||||||
turnobject RADIOTOWER2F_BUENA, RIGHT
|
turnobject RADIOTOWER2F_BUENA, RIGHT
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5d893:
|
.TooEarly:
|
||||||
writetext UnknownText_0x5e131
|
writetext UnknownText_0x5e131
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
checkcellnum PHONE_BUENA
|
checkcellnum PHONE_BUENA
|
||||||
iftrue UnknownScript_0x5d8a3
|
iftrue .Registered4
|
||||||
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
|
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
|
||||||
iftrue UnknownScript_0x5d8cc
|
iftrue .OfferedNumberBefore
|
||||||
UnknownScript_0x5d8a3:
|
.Registered4:
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5d8a4:
|
.BlueCardCapped1:
|
||||||
checkcellnum PHONE_BUENA
|
checkcellnum PHONE_BUENA
|
||||||
iftrue UnknownScript_0x5d8fe
|
iftrue .HasNumber
|
||||||
pause 20
|
pause 20
|
||||||
turnobject RADIOTOWER2F_BUENA, DOWN
|
turnobject RADIOTOWER2F_BUENA, DOWN
|
||||||
pause 15
|
pause 15
|
||||||
turnobject PLAYER, UP
|
turnobject PLAYER, UP
|
||||||
pause 15
|
pause 15
|
||||||
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
|
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
|
||||||
iftrue UnknownScript_0x5d8cc
|
iftrue .OfferedNumberBefore
|
||||||
showemote EMOTE_SHOCK, RADIOTOWER2F_BUENA, 15
|
showemote EMOTE_SHOCK, RADIOTOWER2F_BUENA, 15
|
||||||
setevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
|
setevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
|
||||||
setevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
|
setevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x5e1ee
|
writetext UnknownText_0x5e1ee
|
||||||
jump UnknownScript_0x5d8d0
|
jump .AskForNumber
|
||||||
|
|
||||||
UnknownScript_0x5d8cc:
|
.OfferedNumberBefore:
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x5e2bf
|
writetext UnknownText_0x5e2bf
|
||||||
UnknownScript_0x5d8d0:
|
.AskForNumber:
|
||||||
askforphonenumber PHONE_BUENA
|
askforphonenumber PHONE_BUENA
|
||||||
ifequal PHONE_CONTACTS_FULL, UnknownScript_0x5d8f6
|
ifequal PHONE_CONTACTS_FULL, .PhoneFull
|
||||||
ifequal PHONE_CONTACT_REFUSED, UnknownScript_0x5d8ed
|
ifequal PHONE_CONTACT_REFUSED, .NumberDeclined
|
||||||
writetext UnknownText_0x5e2f3
|
writetext UnknownText_0x5e2f3
|
||||||
playsound SFX_REGISTER_PHONE_NUMBER
|
playsound SFX_REGISTER_PHONE_NUMBER
|
||||||
waitsfx
|
waitsfx
|
||||||
@ -292,33 +292,33 @@ UnknownScript_0x5d8d0:
|
|||||||
addcellnum PHONE_BUENA
|
addcellnum PHONE_BUENA
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5d8ed:
|
.NumberDeclined:
|
||||||
writetext UnknownText_0x5e33c
|
writetext UnknownText_0x5e33c
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
turnobject RADIOTOWER2F_BUENA, RIGHT
|
turnobject RADIOTOWER2F_BUENA, RIGHT
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5d8f6:
|
.PhoneFull:
|
||||||
writetext UnknownText_0x5e35e
|
writetext UnknownText_0x5e35e
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
turnobject RADIOTOWER2F_BUENA, RIGHT
|
turnobject RADIOTOWER2F_BUENA, RIGHT
|
||||||
UnknownScript_0x5d8fe:
|
.HasNumber:
|
||||||
end
|
end
|
||||||
|
|
||||||
ReceptionistScript_0x5d8ff:
|
RadioTowerBuenaPrizeReceptionist:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkitem BLUE_CARD
|
checkitem BLUE_CARD
|
||||||
iffalse UnknownScript_0x5d90f
|
iffalse .NoCard
|
||||||
writetext UnknownText_0x5e392
|
writetext UnknownText_0x5e392
|
||||||
buttonsound
|
buttonsound
|
||||||
special BuenaPrize
|
special BuenaPrize
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5d90f:
|
.NoCard:
|
||||||
writetext UnknownText_0x5e3d8
|
writetext UnknownText_0x5e3d8
|
||||||
buttonsound
|
buttonsound
|
||||||
closetext
|
closetext
|
||||||
@ -736,4 +736,4 @@ RadioTower2F_MapEvents:
|
|||||||
object_event 1, 1, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, RadioTower2FBlackBelt2Script, EVENT_RADIO_TOWER_CIVILIANS_AFTER
|
object_event 1, 1, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, RadioTower2FBlackBelt2Script, EVENT_RADIO_TOWER_CIVILIANS_AFTER
|
||||||
object_event 12, 1, SPRITE_JIGGLYPUFF, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, RadioTowerJigglypuff, -1
|
object_event 12, 1, SPRITE_JIGGLYPUFF, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, RadioTowerJigglypuff, -1
|
||||||
object_event 14, 5, SPRITE_BUENA, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Buena, -1
|
object_event 14, 5, SPRITE_BUENA, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, Buena, -1
|
||||||
object_event 12, 7, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, ReceptionistScript_0x5d8ff, EVENT_GOLDENROD_CITY_CIVILIANS
|
object_event 12, 7, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, RadioTowerBuenaPrizeReceptionist, EVENT_GOLDENROD_CITY_CIVILIANS
|
||||||
|
@ -30,13 +30,13 @@ GymGuyScript_0x5e556:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_CLEARED_RADIO_TOWER
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
||||||
iftrue UnknownScript_0x5e564
|
iftrue .NoRockets
|
||||||
writetext UnknownText_0x5e682
|
writetext UnknownText_0x5e682
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5e564:
|
.NoRockets:
|
||||||
writetext UnknownText_0x5e6eb
|
writetext UnknownText_0x5e6eb
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -46,37 +46,37 @@ CooltrainerFScript_0x5e56a:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_GOT_SUNNY_DAY_FROM_RADIO_TOWER
|
checkevent EVENT_GOT_SUNNY_DAY_FROM_RADIO_TOWER
|
||||||
iftrue UnknownScript_0x5e59d
|
iftrue .GotSunnyDay
|
||||||
checkevent EVENT_CLEARED_RADIO_TOWER
|
checkevent EVENT_CLEARED_RADIO_TOWER
|
||||||
iftrue UnknownScript_0x5e58a
|
iftrue .NoRockets
|
||||||
checkevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
|
checkevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
|
||||||
iftrue UnknownScript_0x5e584
|
iftrue .UsedCardKey
|
||||||
writetext UnknownText_0x5e754
|
writetext UnknownText_0x5e754
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5e584:
|
.UsedCardKey:
|
||||||
writetext UnknownText_0x5e7cb
|
writetext UnknownText_0x5e7cb
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5e58a:
|
.NoRockets:
|
||||||
writetext UnknownText_0x5e7e2
|
writetext UnknownText_0x5e7e2
|
||||||
buttonsound
|
buttonsound
|
||||||
verbosegiveitem TM_SUNNY_DAY
|
verbosegiveitem TM_SUNNY_DAY
|
||||||
iffalse UnknownScript_0x5e5a1
|
iffalse .NoRoom
|
||||||
writetext UnknownText_0x5e821
|
writetext UnknownText_0x5e821
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
setevent EVENT_GOT_SUNNY_DAY_FROM_RADIO_TOWER
|
setevent EVENT_GOT_SUNNY_DAY_FROM_RADIO_TOWER
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5e59d:
|
.GotSunnyDay:
|
||||||
writetext UnknownText_0x5e85c
|
writetext UnknownText_0x5e85c
|
||||||
waitbutton
|
waitbutton
|
||||||
UnknownScript_0x5e5a1:
|
.NoRoom:
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -129,10 +129,10 @@ MapRadioTower3FSignpost2Script::
|
|||||||
writetext UnknownText_0x5eaa4
|
writetext UnknownText_0x5eaa4
|
||||||
waitbutton
|
waitbutton
|
||||||
checkevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
|
checkevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
|
||||||
iftrue UnknownScript_0x5e603
|
iftrue .UsedCardKey
|
||||||
checkitem CARD_KEY
|
checkitem CARD_KEY
|
||||||
iftrue UnknownScript_0x5e605
|
iftrue UnknownScript_0x5e605
|
||||||
UnknownScript_0x5e603:
|
.UsedCardKey:
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -6,27 +6,27 @@ Route30BerryHouse_MapScripts:
|
|||||||
|
|
||||||
db 0 ; callbacks
|
db 0 ; callbacks
|
||||||
|
|
||||||
PokefanMScript_0x196d64:
|
Route30BerryHousePokefanMScript:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE
|
checkevent EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE
|
||||||
iftrue UnknownScript_0x196d79
|
iftrue .GotBerry
|
||||||
writetext UnknownText_0x196d82
|
writetext Route30BerrySpeechHouseMonEatBerriesText
|
||||||
buttonsound
|
buttonsound
|
||||||
verbosegiveitem BERRY
|
verbosegiveitem BERRY
|
||||||
iffalse UnknownScript_0x196d7d
|
iffalse .NoRoom
|
||||||
setevent EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE
|
setevent EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE
|
||||||
UnknownScript_0x196d79:
|
.GotBerry:
|
||||||
writetext UnknownText_0x196dec
|
writetext Route30BerrySpeechHouseCheckTreesText
|
||||||
waitbutton
|
waitbutton
|
||||||
UnknownScript_0x196d7d:
|
.NoRoom:
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
Route30BerryHouseBookshelf:
|
Route30BerryHouseBookshelf:
|
||||||
jumpstd magazinebookshelf
|
jumpstd magazinebookshelf
|
||||||
|
|
||||||
UnknownText_0x196d82:
|
Route30BerrySpeechHouseMonEatBerriesText:
|
||||||
text "You know, #MON"
|
text "You know, #MON"
|
||||||
line "eat BERRIES."
|
line "eat BERRIES."
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ UnknownText_0x196d82:
|
|||||||
line "one with you!"
|
line "one with you!"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x196dec:
|
Route30BerrySpeechHouseCheckTreesText:
|
||||||
text "Check trees for"
|
text "Check trees for"
|
||||||
line "BERRIES. They just"
|
line "BERRIES. They just"
|
||||||
cont "drop right off."
|
cont "drop right off."
|
||||||
@ -58,4 +58,4 @@ Route30BerryHouse_MapEvents:
|
|||||||
bg_event 1, 1, BGEVENT_READ, Route30BerryHouseBookshelf
|
bg_event 1, 1, BGEVENT_READ, Route30BerryHouseBookshelf
|
||||||
|
|
||||||
db 1 ; object events
|
db 1 ; object events
|
||||||
object_event 2, 3, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, PokefanMScript_0x196d64, -1
|
object_event 2, 3, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, Route30BerryHousePokefanMScript, -1
|
||||||
|
@ -22,9 +22,9 @@ Route34IlexForestGate_MapScripts:
|
|||||||
appear ROUTE34ILEXFORESTGATE_TEACHER1
|
appear ROUTE34ILEXFORESTGATE_TEACHER1
|
||||||
return
|
return
|
||||||
|
|
||||||
UnknownScript_0x62d3d:
|
Route34IlexForestGateCelebiEvent:
|
||||||
checkevent EVENT_FOREST_IS_RESTLESS
|
checkevent EVENT_FOREST_IS_RESTLESS
|
||||||
iffalse UnknownScript_0x62d62
|
iffalse .skip
|
||||||
showemote EMOTE_SHOCK, ROUTE34ILEXFORESTGATE_TEACHER2, 20
|
showemote EMOTE_SHOCK, ROUTE34ILEXFORESTGATE_TEACHER2, 20
|
||||||
turnobject ROUTE34ILEXFORESTGATE_TEACHER2, LEFT
|
turnobject ROUTE34ILEXFORESTGATE_TEACHER2, LEFT
|
||||||
turnobject PLAYER, RIGHT
|
turnobject PLAYER, RIGHT
|
||||||
@ -37,29 +37,29 @@ UnknownScript_0x62d3d:
|
|||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
applymovement ROUTE34ILEXFORESTGATE_TEACHER2, MovementData_0x62d9a
|
applymovement ROUTE34ILEXFORESTGATE_TEACHER2, MovementData_0x62d9a
|
||||||
UnknownScript_0x62d62:
|
.skip:
|
||||||
end
|
end
|
||||||
|
|
||||||
TeacherScript_0x62d63:
|
TeacherScript_0x62d63:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_FOREST_IS_RESTLESS
|
checkevent EVENT_FOREST_IS_RESTLESS
|
||||||
iftrue UnknownScript_0x62d84
|
iftrue .ForestIsRestless
|
||||||
checkevent EVENT_GOT_TM12_SWEET_SCENT
|
checkevent EVENT_GOT_TM12_SWEET_SCENT
|
||||||
iftrue UnknownScript_0x62d7e
|
iftrue .GotSweetScent
|
||||||
writetext UnknownText_0x62d9d
|
writetext UnknownText_0x62d9d
|
||||||
buttonsound
|
buttonsound
|
||||||
verbosegiveitem TM_SWEET_SCENT
|
verbosegiveitem TM_SWEET_SCENT
|
||||||
iffalse UnknownScript_0x62d82
|
iffalse .NoRoom
|
||||||
setevent EVENT_GOT_TM12_SWEET_SCENT
|
setevent EVENT_GOT_TM12_SWEET_SCENT
|
||||||
UnknownScript_0x62d7e:
|
.GotSweetScent:
|
||||||
writetext UnknownText_0x62df6
|
writetext UnknownText_0x62df6
|
||||||
waitbutton
|
waitbutton
|
||||||
UnknownScript_0x62d82:
|
.NoRoom:
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x62d84:
|
.ForestIsRestless:
|
||||||
writetext UnknownText_0x62e41
|
writetext UnknownText_0x62e41
|
||||||
buttonsound
|
buttonsound
|
||||||
closetext
|
closetext
|
||||||
@ -143,7 +143,7 @@ Route34IlexForestGate_MapEvents:
|
|||||||
warp_event 5, 7, ILEX_FOREST, 1
|
warp_event 5, 7, ILEX_FOREST, 1
|
||||||
|
|
||||||
db 1 ; coord events
|
db 1 ; coord events
|
||||||
coord_event 4, 7, SCENE_DEFAULT, UnknownScript_0x62d3d
|
coord_event 4, 7, SCENE_DEFAULT, Route34IlexForestGateCelebiEvent
|
||||||
|
|
||||||
db 0 ; bg events
|
db 0 ; bg events
|
||||||
|
|
||||||
|
@ -307,13 +307,13 @@ YoungsterScript_0x6ad06:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
||||||
iffalse UnknownScript_0x6ad14
|
iffalse .StillCompeting
|
||||||
writetext UnknownText_0x6b399
|
writetext UnknownText_0x6b399
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x6ad14:
|
.StillCompeting:
|
||||||
writetext UnknownText_0x6b3c4
|
writetext UnknownText_0x6b3c4
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -323,13 +323,13 @@ YoungsterScript_0x6ad1a:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
||||||
iffalse UnknownScript_0x6ad28
|
iffalse .StillCompeting
|
||||||
writetext UnknownText_0x6b40f
|
writetext UnknownText_0x6b40f
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x6ad28:
|
.StillCompeting:
|
||||||
writetext UnknownText_0x6b440
|
writetext UnknownText_0x6b440
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -339,13 +339,13 @@ RockerScript_0x6ad2e:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
||||||
iffalse UnknownScript_0x6ad3c
|
iffalse .StillCompeting
|
||||||
writetext UnknownText_0x6b462
|
writetext UnknownText_0x6b462
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x6ad3c:
|
.StillCompeting:
|
||||||
writetext UnknownText_0x6b496
|
writetext UnknownText_0x6b496
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -355,13 +355,13 @@ PokefanMScript_0x6ad42:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
||||||
iffalse UnknownScript_0x6ad50
|
iffalse .StillCompeting
|
||||||
writetext UnknownText_0x6b4da
|
writetext UnknownText_0x6b4da
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x6ad50:
|
.StillCompeting:
|
||||||
writetext UnknownText_0x6b50a
|
writetext UnknownText_0x6b50a
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -371,13 +371,13 @@ YoungsterScript_0x6ad56:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
||||||
iffalse UnknownScript_0x6ad64
|
iffalse .StillCompeting
|
||||||
writetext UnknownText_0x6b54e
|
writetext UnknownText_0x6b54e
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x6ad64:
|
.StillCompeting:
|
||||||
writetext UnknownText_0x6b57c
|
writetext UnknownText_0x6b57c
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -387,13 +387,13 @@ YoungsterScript_0x6ad6a:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
||||||
iffalse UnknownScript_0x6ad78
|
iffalse .StillCompeting
|
||||||
writetext UnknownText_0x6b5b0
|
writetext UnknownText_0x6b5b0
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x6ad78:
|
.StillCompeting:
|
||||||
writetext UnknownText_0x6b5dd
|
writetext UnknownText_0x6b5dd
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -403,13 +403,13 @@ LassScript_0x6ad7e:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
||||||
iffalse UnknownScript_0x6ad8c
|
iffalse .StillCompeting
|
||||||
writetext UnknownText_0x6b64b
|
writetext UnknownText_0x6b64b
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x6ad8c:
|
.StillCompeting:
|
||||||
writetext UnknownText_0x6b698
|
writetext UnknownText_0x6b698
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -419,13 +419,13 @@ YoungsterScript_0x6ad92:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
||||||
iffalse UnknownScript_0x6ada0
|
iffalse .StillCompeting
|
||||||
writetext UnknownText_0x6b6b8
|
writetext UnknownText_0x6b6b8
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x6ada0:
|
.StillCompeting:
|
||||||
writetext UnknownText_0x6b6e9
|
writetext UnknownText_0x6b6e9
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -435,13 +435,13 @@ YoungsterScript_0x6ada6:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
||||||
iffalse UnknownScript_0x6adb4
|
iffalse .StillCompeting
|
||||||
writetext UnknownText_0x6b71b
|
writetext UnknownText_0x6b71b
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x6adb4:
|
.StillCompeting:
|
||||||
writetext UnknownText_0x6b740
|
writetext UnknownText_0x6b740
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -451,13 +451,13 @@ YoungsterScript_0x6adba:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
||||||
iffalse UnknownScript_0x6adc8
|
iffalse .StillCompeting
|
||||||
writetext UnknownText_0x6b76f
|
writetext UnknownText_0x6b76f
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x6adc8:
|
.StillCompeting:
|
||||||
writetext UnknownText_0x6b7af
|
writetext UnknownText_0x6b7af
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -50,10 +50,10 @@ MapRuinsOfAlphAerodactylChamberSignpost2Script:
|
|||||||
writebyte UNOWNPUZZLE_AERODACTYL
|
writebyte UNOWNPUZZLE_AERODACTYL
|
||||||
special UnownPuzzle
|
special UnownPuzzle
|
||||||
closetext
|
closetext
|
||||||
iftrue UnknownScript_0x58df7
|
iftrue .PuzzleComplete
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x58df7:
|
.PuzzleComplete:
|
||||||
setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS
|
setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS
|
||||||
setevent EVENT_SOLVED_AERODACTYL_PUZZLE
|
setevent EVENT_SOLVED_AERODACTYL_PUZZLE
|
||||||
setflag ENGINE_UNLOCKED_UNOWNS_S_TO_W
|
setflag ENGINE_UNLOCKED_UNOWNS_S_TO_W
|
||||||
@ -88,7 +88,7 @@ MapRuinsOfAlphAerodactylChamberSignpost4Script:
|
|||||||
|
|
||||||
MapRuinsOfAlphAerodactylChamberSignpost5Script:
|
MapRuinsOfAlphAerodactylChamberSignpost5Script:
|
||||||
checkevent EVENT_WALL_OPENED_IN_AERODACTYL_CHAMBER
|
checkevent EVENT_WALL_OPENED_IN_AERODACTYL_CHAMBER
|
||||||
iftrue UnknownScript_0x58e46
|
iftrue .WallOpen
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x58e81
|
writetext UnknownText_0x58e81
|
||||||
writebyte UNOWNWORDS_LIGHT
|
writebyte UNOWNWORDS_LIGHT
|
||||||
@ -96,7 +96,7 @@ MapRuinsOfAlphAerodactylChamberSignpost5Script:
|
|||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x58e46:
|
.WallOpen:
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x58ea2
|
writetext UnknownText_0x58ea2
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -51,10 +51,10 @@ MapRuinsOfAlphHoOhChamberSignpost2Script:
|
|||||||
writebyte UNOWNPUZZLE_HO_OH
|
writebyte UNOWNPUZZLE_HO_OH
|
||||||
special UnownPuzzle
|
special UnownPuzzle
|
||||||
closetext
|
closetext
|
||||||
iftrue UnknownScript_0x585ba
|
iftrue .PuzzleComplete
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x585ba:
|
.PuzzleComplete:
|
||||||
setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS
|
setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS
|
||||||
setevent EVENT_SOLVED_HO_OH_PUZZLE
|
setevent EVENT_SOLVED_HO_OH_PUZZLE
|
||||||
setflag ENGINE_UNLOCKED_UNOWNS_X_TO_Z
|
setflag ENGINE_UNLOCKED_UNOWNS_X_TO_Z
|
||||||
@ -89,7 +89,7 @@ MapRuinsOfAlphHoOhChamberSignpost4Script:
|
|||||||
|
|
||||||
MapRuinsOfAlphHoOhChamberSignpost5Script:
|
MapRuinsOfAlphHoOhChamberSignpost5Script:
|
||||||
checkevent EVENT_WALL_OPENED_IN_HO_OH_CHAMBER
|
checkevent EVENT_WALL_OPENED_IN_HO_OH_CHAMBER
|
||||||
iftrue UnknownScript_0x58609
|
iftrue .WallOpen
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x58644
|
writetext UnknownText_0x58644
|
||||||
writebyte UNOWNWORDS_HO_OH
|
writebyte UNOWNWORDS_HO_OH
|
||||||
@ -97,7 +97,7 @@ MapRuinsOfAlphHoOhChamberSignpost5Script:
|
|||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x58609:
|
.WallOpen:
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x58665
|
writetext UnknownText_0x58665
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -57,10 +57,10 @@ MapRuinsOfAlphKabutoChamberSignpost2Script:
|
|||||||
writebyte UNOWNPUZZLE_KABUTO
|
writebyte UNOWNPUZZLE_KABUTO
|
||||||
special UnownPuzzle
|
special UnownPuzzle
|
||||||
closetext
|
closetext
|
||||||
iftrue UnknownScript_0x58778
|
iftrue .PuzzleComplete
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x58778:
|
.PuzzleComplete:
|
||||||
setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS
|
setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS
|
||||||
setevent EVENT_SOLVED_KABUTO_PUZZLE
|
setevent EVENT_SOLVED_KABUTO_PUZZLE
|
||||||
setflag ENGINE_UNLOCKED_UNOWNS_A_TO_K
|
setflag ENGINE_UNLOCKED_UNOWNS_A_TO_K
|
||||||
@ -84,27 +84,27 @@ ScientistScript_0x587a8:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkcode VAR_UNOWNCOUNT
|
checkcode VAR_UNOWNCOUNT
|
||||||
ifequal NUM_UNOWN, UnknownScript_0x587cf
|
ifequal NUM_UNOWN, .AllUnownCaught
|
||||||
checkevent EVENT_WALL_OPENED_IN_KABUTO_CHAMBER
|
checkevent EVENT_WALL_OPENED_IN_KABUTO_CHAMBER
|
||||||
iftrue UnknownScript_0x587c9
|
iftrue .WallOpen
|
||||||
checkevent EVENT_SOLVED_KABUTO_PUZZLE
|
checkevent EVENT_SOLVED_KABUTO_PUZZLE
|
||||||
iffalse UnknownScript_0x587c0
|
iffalse .PuzzleIncomplete
|
||||||
writetext UnknownText_0x589b8
|
writetext UnknownText_0x589b8
|
||||||
buttonsound
|
buttonsound
|
||||||
UnknownScript_0x587c0:
|
.PuzzleIncomplete:
|
||||||
writetext UnknownText_0x588f5
|
writetext UnknownText_0x588f5
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
turnobject RUINSOFALPHKABUTOCHAMBER_SCIENTIST, UP
|
turnobject RUINSOFALPHKABUTOCHAMBER_SCIENTIST, UP
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x587c9:
|
.WallOpen:
|
||||||
writetext UnknownText_0x5897c
|
writetext UnknownText_0x5897c
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x587cf:
|
.AllUnownCaught:
|
||||||
writetext UnknownText_0x594cb
|
writetext UnknownText_0x594cb
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -126,7 +126,7 @@ MapRuinsOfAlphKabutoChamberSignpost4Script:
|
|||||||
|
|
||||||
MapRuinsOfAlphKabutoChamberSignpost5Script:
|
MapRuinsOfAlphKabutoChamberSignpost5Script:
|
||||||
checkevent EVENT_WALL_OPENED_IN_KABUTO_CHAMBER
|
checkevent EVENT_WALL_OPENED_IN_KABUTO_CHAMBER
|
||||||
iftrue UnknownScript_0x587f7
|
iftrue .WallOpen
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x58ad9
|
writetext UnknownText_0x58ad9
|
||||||
writebyte UNOWNWORDS_ESCAPE
|
writebyte UNOWNWORDS_ESCAPE
|
||||||
@ -134,7 +134,7 @@ MapRuinsOfAlphKabutoChamberSignpost5Script:
|
|||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x587f7:
|
.WallOpen:
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x58afa
|
writetext UnknownText_0x58afa
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -51,10 +51,10 @@ MapRuinsOfAlphOmanyteChamberSignpost2Script:
|
|||||||
writebyte UNOWNPUZZLE_OMANYTE
|
writebyte UNOWNPUZZLE_OMANYTE
|
||||||
special UnownPuzzle
|
special UnownPuzzle
|
||||||
closetext
|
closetext
|
||||||
iftrue UnknownScript_0x58c36
|
iftrue .PuzzleComplete
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x58c36:
|
.PuzzleComplete:
|
||||||
setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS
|
setevent EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS
|
||||||
setevent EVENT_SOLVED_OMANYTE_PUZZLE
|
setevent EVENT_SOLVED_OMANYTE_PUZZLE
|
||||||
setflag ENGINE_UNLOCKED_UNOWNS_L_TO_R
|
setflag ENGINE_UNLOCKED_UNOWNS_L_TO_R
|
||||||
@ -89,7 +89,7 @@ MapRuinsOfAlphOmanyteChamberSignpost4Script:
|
|||||||
|
|
||||||
MapRuinsOfAlphOmanyteChamberSignpost5Script:
|
MapRuinsOfAlphOmanyteChamberSignpost5Script:
|
||||||
checkevent EVENT_WALL_OPENED_IN_OMANYTE_CHAMBER
|
checkevent EVENT_WALL_OPENED_IN_OMANYTE_CHAMBER
|
||||||
iftrue UnknownScript_0x58c85
|
iftrue .WallOpen
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x58cc0
|
writetext UnknownText_0x58cc0
|
||||||
writebyte UNOWNWORDS_WATER
|
writebyte UNOWNWORDS_WATER
|
||||||
@ -97,7 +97,7 @@ MapRuinsOfAlphOmanyteChamberSignpost5Script:
|
|||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x58c85:
|
.WallOpen:
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x58ce1
|
writetext UnknownText_0x58ce1
|
||||||
waitbutton
|
waitbutton
|
||||||
|
@ -61,13 +61,13 @@ ScientistScript_0x591d1:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkcode VAR_UNOWNCOUNT
|
checkcode VAR_UNOWNCOUNT
|
||||||
ifequal NUM_UNOWN, UnknownScript_0x591df
|
ifequal NUM_UNOWN, .PrinterAvailable
|
||||||
writetext UnknownText_0x59311
|
writetext UnknownText_0x59311
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x591df:
|
.PrinterAvailable:
|
||||||
writetext UnknownText_0x5935f
|
writetext UnknownText_0x5935f
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -77,29 +77,29 @@ ScientistScript_0x591e5:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkcode VAR_UNOWNCOUNT
|
checkcode VAR_UNOWNCOUNT
|
||||||
ifequal NUM_UNOWN, UnknownScript_0x5920b
|
ifequal NUM_UNOWN, .GotAllUnown
|
||||||
checkflag ENGINE_UNOWN_DEX
|
checkflag ENGINE_UNOWN_DEX
|
||||||
iftrue UnknownScript_0x59205
|
iftrue .GotUnownDex
|
||||||
checkevent EVENT_MADE_UNOWN_APPEAR_IN_RUINS
|
checkevent EVENT_MADE_UNOWN_APPEAR_IN_RUINS
|
||||||
iftrue UnknownScript_0x591ff
|
iftrue .UnownAppeared
|
||||||
writetext UnknownText_0x593ed
|
writetext UnknownText_0x593ed
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x591ff:
|
.UnownAppeared:
|
||||||
writetext UnknownText_0x59478
|
writetext UnknownText_0x59478
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x59205:
|
.GotUnownDex:
|
||||||
writetext UnknownText_0x59445
|
writetext UnknownText_0x59445
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5920b:
|
.GotAllUnown:
|
||||||
writetext UnknownText_0x594cb
|
writetext UnknownText_0x594cb
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -110,21 +110,21 @@ ScientistScript_0x59214:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkcode VAR_UNOWNCOUNT
|
checkcode VAR_UNOWNCOUNT
|
||||||
ifequal NUM_UNOWN, UnknownScript_0x5922e
|
ifequal NUM_UNOWN, .GotAllUnown
|
||||||
checkevent EVENT_MADE_UNOWN_APPEAR_IN_RUINS
|
checkevent EVENT_MADE_UNOWN_APPEAR_IN_RUINS
|
||||||
iftrue UnknownScript_0x59228
|
iftrue .UnownAppeared
|
||||||
writetext UnknownText_0x5954f
|
writetext UnknownText_0x5954f
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x59228:
|
.UnownAppeared:
|
||||||
writetext UnknownText_0x595cb
|
writetext UnknownText_0x595cb
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x5922e:
|
.GotAllUnown:
|
||||||
writetext UnknownText_0x59769
|
writetext UnknownText_0x59769
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -133,16 +133,16 @@ UnknownScript_0x5922e:
|
|||||||
MapRuinsOfAlphResearchCenterSignpost1Script:
|
MapRuinsOfAlphResearchCenterSignpost1Script:
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_RUINS_OF_ALPH_RESEARCH_CENTER_SCIENTIST
|
checkevent EVENT_RUINS_OF_ALPH_RESEARCH_CENTER_SCIENTIST
|
||||||
iftrue UnknownScript_0x59241
|
iftrue .SkipChecking
|
||||||
checkcode VAR_UNOWNCOUNT
|
checkcode VAR_UNOWNCOUNT
|
||||||
ifequal NUM_UNOWN, UnknownScript_0x59247
|
ifequal NUM_UNOWN, .GotAllUnown
|
||||||
UnknownScript_0x59241:
|
.SkipChecking:
|
||||||
writetext UnknownText_0x597b6
|
writetext UnknownText_0x597b6
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x59247:
|
.GotAllUnown:
|
||||||
writetext UnknownText_0x597d9
|
writetext UnknownText_0x597d9
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -151,16 +151,16 @@ UnknownScript_0x59247:
|
|||||||
MapRuinsOfAlphResearchCenterSignpost2Script:
|
MapRuinsOfAlphResearchCenterSignpost2Script:
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_RUINS_OF_ALPH_RESEARCH_CENTER_SCIENTIST
|
checkevent EVENT_RUINS_OF_ALPH_RESEARCH_CENTER_SCIENTIST
|
||||||
iftrue UnknownScript_0x5925a
|
iftrue .SkipChecking
|
||||||
checkcode VAR_UNOWNCOUNT
|
checkcode VAR_UNOWNCOUNT
|
||||||
ifequal NUM_UNOWN, UnknownScript_0x59260
|
ifequal NUM_UNOWN, .PrinterAvailable
|
||||||
UnknownScript_0x5925a:
|
.SkipChecking:
|
||||||
writetext UnknownText_0x5980e
|
writetext UnknownText_0x5980e
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x59260:
|
.PrinterAvailable:
|
||||||
writetext UnknownText_0x5982d
|
writetext UnknownText_0x5982d
|
||||||
waitbutton
|
waitbutton
|
||||||
special UnownPrinter
|
special UnownPrinter
|
||||||
|
@ -22,13 +22,13 @@ LassScript_0x19932a:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_RETURNED_MACHINE_PART
|
checkevent EVENT_RETURNED_MACHINE_PART
|
||||||
iftrue UnknownScript_0x199338
|
iftrue .ReturnedPart
|
||||||
writetext UnknownText_0x19938d
|
writetext UnknownText_0x19938d
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x199338:
|
.ReturnedPart:
|
||||||
writetext UnknownText_0x19940d
|
writetext UnknownText_0x19940d
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -38,13 +38,13 @@ PokefanMScript_0x19933e:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_RETURNED_MACHINE_PART
|
checkevent EVENT_RETURNED_MACHINE_PART
|
||||||
iftrue UnknownScript_0x19934c
|
iftrue .ReturnedPart
|
||||||
writetext UnknownText_0x199460
|
writetext UnknownText_0x199460
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x19934c:
|
.ReturnedPart:
|
||||||
writetext UnknownText_0x1994ae
|
writetext UnknownText_0x1994ae
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -60,13 +60,13 @@ FisherScript_0x199358:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_RETURNED_MACHINE_PART
|
checkevent EVENT_RETURNED_MACHINE_PART
|
||||||
iftrue UnknownScript_0x199366
|
iftrue .ReturnedPart
|
||||||
writetext UnknownText_0x1995fc
|
writetext UnknownText_0x1995fc
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x199366:
|
.ReturnedPart:
|
||||||
writetext UnknownText_0x19964b
|
writetext UnknownText_0x19964b
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
|
@ -96,18 +96,18 @@ UnknownScript_0x6e056:
|
|||||||
playmusic MUSIC_ROCKET_ENCOUNTER
|
playmusic MUSIC_ROCKET_ENCOUNTER
|
||||||
turnobject TEAMROCKETBASEB3F_ROCKET1, DOWN
|
turnobject TEAMROCKETBASEB3F_ROCKET1, DOWN
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x6e400
|
writetext ExecutiveM4BeforeText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
applymovement TEAMROCKETBASEB3F_ROCKET1, MovementData_0x6e142
|
applymovement TEAMROCKETBASEB3F_ROCKET1, MovementData_0x6e142
|
||||||
winlosstext UnknownText_0x6e511, 0
|
winlosstext ExecutiveM4BeatenText, 0
|
||||||
setlasttalked TEAMROCKETBASEB3F_ROCKET1
|
setlasttalked TEAMROCKETBASEB3F_ROCKET1
|
||||||
loadtrainer EXECUTIVEM, EXECUTIVEM_4
|
loadtrainer EXECUTIVEM, EXECUTIVEM_4
|
||||||
startbattle
|
startbattle
|
||||||
reloadmapafterbattle
|
reloadmapafterbattle
|
||||||
setevent EVENT_BEAT_ROCKET_EXECUTIVEM_4
|
setevent EVENT_BEAT_ROCKET_EXECUTIVEM_4
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x6e548
|
writetext ExecutiveM4AfterText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
applymovement TEAMROCKETBASEB3F_ROCKET1, MovementData_0x6e144
|
applymovement TEAMROCKETBASEB3F_ROCKET1, MovementData_0x6e144
|
||||||
@ -383,7 +383,7 @@ RocketBaseRivalText:
|
|||||||
cont "the likes of you!"
|
cont "the likes of you!"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x6e400:
|
ExecutiveM4BeforeText:
|
||||||
text "What? Who are you?"
|
text "What? Who are you?"
|
||||||
line "This is the office"
|
line "This is the office"
|
||||||
|
|
||||||
@ -410,7 +410,7 @@ UnknownText_0x6e400:
|
|||||||
cont "place!"
|
cont "place!"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x6e511:
|
ExecutiveM4BeatenText:
|
||||||
text "I… I couldn't do a"
|
text "I… I couldn't do a"
|
||||||
line "thing…"
|
line "thing…"
|
||||||
|
|
||||||
@ -418,7 +418,7 @@ UnknownText_0x6e511:
|
|||||||
line "forgive me…"
|
line "forgive me…"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x6e548:
|
ExecutiveM4AfterText:
|
||||||
text "No, I can't let"
|
text "No, I can't let"
|
||||||
line "this affect me."
|
line "this affect me."
|
||||||
|
|
||||||
|
@ -35,11 +35,11 @@ VermilionPort_MapScripts:
|
|||||||
blackoutmod VERMILION_CITY
|
blackoutmod VERMILION_CITY
|
||||||
end
|
end
|
||||||
|
|
||||||
SailorScript_0x74dc4:
|
VermilionPortSailorAtGangway:
|
||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
||||||
iftrue UnknownScript_0x74e1a
|
iftrue VermilionPortAlreadyRodeScript
|
||||||
writetext UnknownText_0x74f06
|
writetext UnknownText_0x74f06
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -70,71 +70,71 @@ SailorScript_0x74dc4:
|
|||||||
warp FAST_SHIP_1F, 25, 1
|
warp FAST_SHIP_1F, 25, 1
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x74e1a:
|
VermilionPortAlreadyRodeScript:
|
||||||
writetext UnknownText_0x74f31
|
writetext UnknownText_0x74f31
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x74e20:
|
VermilionPortWalkUpToShipScript:
|
||||||
turnobject VERMILIONPORT_SAILOR2, RIGHT
|
turnobject VERMILIONPORT_SAILOR2, RIGHT
|
||||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
||||||
iftrue UnknownScript_0x74e86
|
iftrue .skip
|
||||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
|
||||||
iftrue UnknownScript_0x74e86
|
iftrue .skip
|
||||||
turnobject PLAYER, LEFT
|
turnobject PLAYER, LEFT
|
||||||
opentext
|
opentext
|
||||||
checkcode VAR_WEEKDAY
|
checkcode VAR_WEEKDAY
|
||||||
ifequal MONDAY, UnknownScript_0x74e72
|
ifequal MONDAY, .NextShipWednesday
|
||||||
ifequal TUESDAY, UnknownScript_0x74e72
|
ifequal TUESDAY, .NextShipWednesday
|
||||||
ifequal THURSDAY, UnknownScript_0x74e7c
|
ifequal THURSDAY, .NextShipSunday
|
||||||
ifequal FRIDAY, UnknownScript_0x74e7c
|
ifequal FRIDAY, .NextShipSunday
|
||||||
ifequal SATURDAY, UnknownScript_0x74e7c
|
ifequal SATURDAY, .NextShipSunday
|
||||||
writetext UnknownText_0x74f4d
|
writetext UnknownText_0x74f4d
|
||||||
yesorno
|
yesorno
|
||||||
iffalse UnknownScript_0x74e8d
|
iffalse VermilionPortNotRidingMoveAwayScript
|
||||||
writetext UnknownText_0x74f8b
|
writetext UnknownText_0x74f8b
|
||||||
buttonsound
|
buttonsound
|
||||||
checkitem S_S_TICKET
|
checkitem S_S_TICKET
|
||||||
iffalse UnknownScript_0x74e68
|
iffalse .NoTicket
|
||||||
writetext UnknownText_0x74fc2
|
writetext VermilionPortSSTicketText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
|
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
|
||||||
applymovement PLAYER, MovementData_0x74ef8
|
applymovement PLAYER, MovementData_0x74ef8
|
||||||
jump SailorScript_0x74dc4
|
jump VermilionPortSailorAtGangway
|
||||||
|
|
||||||
UnknownScript_0x74e68:
|
.NoTicket:
|
||||||
writetext UnknownText_0x74ff2
|
writetext UnknownText_0x74ff2
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
applymovement PLAYER, MovementData_0x74ef5
|
applymovement PLAYER, MovementData_0x74ef5
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x74e72:
|
.NextShipWednesday:
|
||||||
writetext UnknownText_0x75059
|
writetext UnknownText_0x75059
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
applymovement PLAYER, MovementData_0x74ef5
|
applymovement PLAYER, MovementData_0x74ef5
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x74e7c:
|
.NextShipSunday:
|
||||||
writetext UnknownText_0x75080
|
writetext UnknownText_0x75080
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
applymovement PLAYER, MovementData_0x74ef5
|
applymovement PLAYER, MovementData_0x74ef5
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x74e86:
|
.skip:
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x74e87:
|
VermilionPortNotRidingScript:
|
||||||
writetext UnknownText_0x74fa7
|
writetext UnknownText_0x74fa7
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x74e8d:
|
VermilionPortNotRidingMoveAwayScript:
|
||||||
writetext UnknownText_0x74fa7
|
writetext UnknownText_0x74fa7
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
@ -145,7 +145,7 @@ SailorScript_0x74e97:
|
|||||||
faceplayer
|
faceplayer
|
||||||
opentext
|
opentext
|
||||||
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
||||||
iftrue UnknownScript_0x74e1a
|
iftrue VermilionPortAlreadyRodeScript
|
||||||
checkcode VAR_WEEKDAY
|
checkcode VAR_WEEKDAY
|
||||||
ifequal MONDAY, .NextShipWednesday
|
ifequal MONDAY, .NextShipWednesday
|
||||||
ifequal TUESDAY, .NextShipWednesday
|
ifequal TUESDAY, .NextShipWednesday
|
||||||
@ -154,17 +154,17 @@ SailorScript_0x74e97:
|
|||||||
ifequal SATURDAY, .NextShipSunday
|
ifequal SATURDAY, .NextShipSunday
|
||||||
writetext UnknownText_0x74f4d
|
writetext UnknownText_0x74f4d
|
||||||
yesorno
|
yesorno
|
||||||
iffalse UnknownScript_0x74e87
|
iffalse VermilionPortNotRidingScript
|
||||||
writetext UnknownText_0x74f8b
|
writetext UnknownText_0x74f8b
|
||||||
buttonsound
|
buttonsound
|
||||||
checkitem S_S_TICKET
|
checkitem S_S_TICKET
|
||||||
iffalse .NoTicket
|
iffalse .NoTicket
|
||||||
writetext UnknownText_0x74fc2
|
writetext VermilionPortSSTicketText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
|
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
|
||||||
applymovement PLAYER, MovementData_0x74efe
|
applymovement PLAYER, MovementData_0x74efe
|
||||||
jump SailorScript_0x74dc4
|
jump VermilionPortSailorAtGangway
|
||||||
|
|
||||||
.NoTicket:
|
.NoTicket:
|
||||||
writetext UnknownText_0x74ff2
|
writetext UnknownText_0x74ff2
|
||||||
@ -255,7 +255,7 @@ UnknownText_0x74fa7:
|
|||||||
line "again!"
|
line "again!"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x74fc2:
|
VermilionPortSSTicketText:
|
||||||
text "<PLAYER> flashed"
|
text "<PLAYER> flashed"
|
||||||
line "the S.S.TICKET."
|
line "the S.S.TICKET."
|
||||||
|
|
||||||
@ -304,12 +304,12 @@ VermilionPort_MapEvents:
|
|||||||
warp_event 7, 17, FAST_SHIP_1F, 1
|
warp_event 7, 17, FAST_SHIP_1F, 1
|
||||||
|
|
||||||
db 1 ; coord events
|
db 1 ; coord events
|
||||||
coord_event 7, 11, SCENE_DEFAULT, UnknownScript_0x74e20
|
coord_event 7, 11, SCENE_DEFAULT, VermilionPortWalkUpToShipScript
|
||||||
|
|
||||||
db 1 ; bg events
|
db 1 ; bg events
|
||||||
bg_event 16, 13, BGEVENT_ITEM, VermilionPortHiddenIron
|
bg_event 16, 13, BGEVENT_ITEM, VermilionPortHiddenIron
|
||||||
|
|
||||||
db 3 ; object events
|
db 3 ; object events
|
||||||
object_event 7, 17, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SailorScript_0x74dc4, EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
|
object_event 7, 17, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionPortSailorAtGangway, EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
|
||||||
object_event 6, 11, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SailorScript_0x74e97, -1
|
object_event 6, 11, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SailorScript_0x74e97, -1
|
||||||
object_event 11, 11, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SuperNerdScript_0x74ee6, -1
|
object_event 11, 11, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SuperNerdScript_0x74ee6, -1
|
||||||
|
@ -19,7 +19,7 @@ VictoryRoad_MapScripts:
|
|||||||
.DummyScene1:
|
.DummyScene1:
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x74492:
|
VictoryRoadRivalLeft:
|
||||||
moveobject VICTORYROAD_SILVER, 18, 11
|
moveobject VICTORYROAD_SILVER, 18, 11
|
||||||
turnobject PLAYER, DOWN
|
turnobject PLAYER, DOWN
|
||||||
showemote EMOTE_SHOCK, PLAYER, 15
|
showemote EMOTE_SHOCK, PLAYER, 15
|
||||||
@ -27,69 +27,69 @@ UnknownScript_0x74492:
|
|||||||
pause 15
|
pause 15
|
||||||
appear VICTORYROAD_SILVER
|
appear VICTORYROAD_SILVER
|
||||||
applymovement VICTORYROAD_SILVER, MovementData_0x74539
|
applymovement VICTORYROAD_SILVER, MovementData_0x74539
|
||||||
scall UnknownScript_0x744d4
|
scall VictoryRoadRivalNext
|
||||||
applymovement VICTORYROAD_SILVER, MovementData_0x7454c
|
applymovement VICTORYROAD_SILVER, MovementData_0x7454c
|
||||||
disappear VICTORYROAD_SILVER
|
disappear VICTORYROAD_SILVER
|
||||||
setscene SCENE_FINISHED
|
setscene SCENE_FINISHED
|
||||||
playmapmusic
|
playmapmusic
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x744b5:
|
VictoryRoadRivalRight:
|
||||||
turnobject PLAYER, DOWN
|
turnobject PLAYER, DOWN
|
||||||
showemote EMOTE_SHOCK, PLAYER, 15
|
showemote EMOTE_SHOCK, PLAYER, 15
|
||||||
special FadeOutMusic
|
special FadeOutMusic
|
||||||
pause 15
|
pause 15
|
||||||
appear VICTORYROAD_SILVER
|
appear VICTORYROAD_SILVER
|
||||||
applymovement VICTORYROAD_SILVER, MovementData_0x74542
|
applymovement VICTORYROAD_SILVER, MovementData_0x74542
|
||||||
scall UnknownScript_0x744d4
|
scall VictoryRoadRivalNext
|
||||||
applymovement VICTORYROAD_SILVER, MovementData_0x74555
|
applymovement VICTORYROAD_SILVER, MovementData_0x74555
|
||||||
disappear VICTORYROAD_SILVER
|
disappear VICTORYROAD_SILVER
|
||||||
setscene SCENE_FINISHED
|
setscene SCENE_FINISHED
|
||||||
playmapmusic
|
playmapmusic
|
||||||
end
|
end
|
||||||
|
|
||||||
UnknownScript_0x744d4:
|
VictoryRoadRivalNext:
|
||||||
turnobject PLAYER, DOWN
|
turnobject PLAYER, DOWN
|
||||||
playmusic MUSIC_RIVAL_ENCOUNTER
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x7455f
|
writetext VictoryRoadRivalBeforeText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
setevent EVENT_RIVAL_VICTORY_ROAD
|
setevent EVENT_RIVAL_VICTORY_ROAD
|
||||||
checkevent EVENT_GOT_TOTODILE_FROM_ELM
|
checkevent EVENT_GOT_TOTODILE_FROM_ELM
|
||||||
iftrue UnknownScript_0x744ff
|
iftrue .GotTotodile
|
||||||
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
|
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
|
||||||
iftrue UnknownScript_0x7450f
|
iftrue .GotChikorita
|
||||||
winlosstext UnknownText_0x7463d, UnknownText_0x747aa
|
winlosstext VictoryRoadRivalDefeatText, VictoryRoadRivalVictoryText
|
||||||
setlasttalked VICTORYROAD_SILVER
|
setlasttalked VICTORYROAD_SILVER
|
||||||
loadtrainer RIVAL1, RIVAL1_5_TOTODILE
|
loadtrainer RIVAL1, RIVAL1_5_TOTODILE
|
||||||
startbattle
|
startbattle
|
||||||
dontrestartmapmusic
|
dontrestartmapmusic
|
||||||
reloadmapafterbattle
|
reloadmapafterbattle
|
||||||
jump UnknownScript_0x7451f
|
jump .AfterBattle
|
||||||
|
|
||||||
UnknownScript_0x744ff:
|
.GotTotodile:
|
||||||
winlosstext UnknownText_0x7463d, UnknownText_0x747aa
|
winlosstext VictoryRoadRivalDefeatText, VictoryRoadRivalVictoryText
|
||||||
setlasttalked VICTORYROAD_SILVER
|
setlasttalked VICTORYROAD_SILVER
|
||||||
loadtrainer RIVAL1, RIVAL1_5_CHIKORITA
|
loadtrainer RIVAL1, RIVAL1_5_CHIKORITA
|
||||||
startbattle
|
startbattle
|
||||||
dontrestartmapmusic
|
dontrestartmapmusic
|
||||||
reloadmapafterbattle
|
reloadmapafterbattle
|
||||||
jump UnknownScript_0x7451f
|
jump .AfterBattle
|
||||||
|
|
||||||
UnknownScript_0x7450f:
|
.GotChikorita:
|
||||||
winlosstext UnknownText_0x7463d, UnknownText_0x747aa
|
winlosstext VictoryRoadRivalDefeatText, VictoryRoadRivalVictoryText
|
||||||
setlasttalked VICTORYROAD_SILVER
|
setlasttalked VICTORYROAD_SILVER
|
||||||
loadtrainer RIVAL1, RIVAL1_5_CYNDAQUIL
|
loadtrainer RIVAL1, RIVAL1_5_CYNDAQUIL
|
||||||
startbattle
|
startbattle
|
||||||
dontrestartmapmusic
|
dontrestartmapmusic
|
||||||
reloadmapafterbattle
|
reloadmapafterbattle
|
||||||
jump UnknownScript_0x7451f
|
jump .AfterBattle
|
||||||
|
|
||||||
UnknownScript_0x7451f:
|
.AfterBattle:
|
||||||
playmusic MUSIC_RIVAL_AFTER
|
playmusic MUSIC_RIVAL_AFTER
|
||||||
opentext
|
opentext
|
||||||
writetext UnknownText_0x746ce
|
writetext VictoryRoadRivalAfterText
|
||||||
waitbutton
|
waitbutton
|
||||||
closetext
|
closetext
|
||||||
end
|
end
|
||||||
@ -161,7 +161,7 @@ MovementData_0x74555:
|
|||||||
step DOWN
|
step DOWN
|
||||||
step_end
|
step_end
|
||||||
|
|
||||||
UnknownText_0x7455f:
|
VictoryRoadRivalBeforeText:
|
||||||
text "Hold it."
|
text "Hold it."
|
||||||
|
|
||||||
para "…Are you going to"
|
para "…Are you going to"
|
||||||
@ -187,7 +187,7 @@ UnknownText_0x7455f:
|
|||||||
line "I challenge you!"
|
line "I challenge you!"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x7463d:
|
VictoryRoadRivalDefeatText:
|
||||||
text "…I couldn't win…"
|
text "…I couldn't win…"
|
||||||
|
|
||||||
para "I gave it every-"
|
para "I gave it every-"
|
||||||
@ -203,7 +203,7 @@ UnknownText_0x7463d:
|
|||||||
line "said to me…"
|
line "said to me…"
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x746ce:
|
VictoryRoadRivalAfterText:
|
||||||
text "…I haven't given up"
|
text "…I haven't given up"
|
||||||
line "on becoming the"
|
line "on becoming the"
|
||||||
cont "greatest trainer…"
|
cont "greatest trainer…"
|
||||||
@ -225,7 +225,7 @@ UnknownText_0x746ce:
|
|||||||
line "at it until then."
|
line "at it until then."
|
||||||
done
|
done
|
||||||
|
|
||||||
UnknownText_0x747aa:
|
VictoryRoadRivalVictoryText:
|
||||||
text "…Humph!"
|
text "…Humph!"
|
||||||
|
|
||||||
para "When it comes down"
|
para "When it comes down"
|
||||||
@ -252,8 +252,8 @@ VictoryRoad_MapEvents:
|
|||||||
warp_event 13, 5, ROUTE_23, 3
|
warp_event 13, 5, ROUTE_23, 3
|
||||||
|
|
||||||
db 2 ; coord events
|
db 2 ; coord events
|
||||||
coord_event 12, 8, SCENE_DEFAULT, UnknownScript_0x74492
|
coord_event 12, 8, SCENE_DEFAULT, VictoryRoadRivalLeft
|
||||||
coord_event 13, 8, SCENE_DEFAULT, UnknownScript_0x744b5
|
coord_event 13, 8, SCENE_DEFAULT, VictoryRoadRivalRight
|
||||||
|
|
||||||
db 2 ; bg events
|
db 2 ; bg events
|
||||||
bg_event 3, 29, BGEVENT_ITEM, VictoryRoadHiddenMaxPotion
|
bg_event 3, 29, BGEVENT_ITEM, VictoryRoadHiddenMaxPotion
|
||||||
|
@ -5410,7 +5410,7 @@ Function1023c6: ; 1023c6
|
|||||||
ld a, [wcd4c]
|
ld a, [wcd4c]
|
||||||
dec a
|
dec a
|
||||||
ld [wCurPartyMon], a
|
ld [wCurPartyMon], a
|
||||||
xor a
|
xor a ; REMOVE_PARTY
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
farcall RemoveMonFromPartyOrBox
|
farcall RemoveMonFromPartyOrBox
|
||||||
ld hl, wPartyCount
|
ld hl, wPartyCount
|
||||||
|
@ -7143,8 +7143,8 @@ Function11b483: ; 11b483
|
|||||||
add hl, de
|
add hl, de
|
||||||
pop de
|
pop de
|
||||||
push de
|
push de
|
||||||
ld b, OTPARTYMON
|
ld b, TRUE
|
||||||
predef CalcPkmnStats
|
predef CalcMonStats
|
||||||
pop de
|
pop de
|
||||||
ld h, d
|
ld h, d
|
||||||
ld l, e
|
ld l, e
|
||||||
@ -7321,7 +7321,7 @@ Function11b5c0: ; 11b5c0
|
|||||||
ld a, [wcd82]
|
ld a, [wcd82]
|
||||||
dec a
|
dec a
|
||||||
ld [wCurPartyMon], a
|
ld [wCurPartyMon], a
|
||||||
xor a
|
xor a ; REMOVE_PARTY
|
||||||
ld [wPokemonWithdrawDepositParameter], a
|
ld [wPokemonWithdrawDepositParameter], a
|
||||||
farcall RemoveMonFromPartyOrBox
|
farcall RemoveMonFromPartyOrBox
|
||||||
farcall Function170807
|
farcall Function170807
|
||||||
@ -7562,8 +7562,8 @@ Function11b6b4: ; 11b6b4
|
|||||||
|
|
||||||
ld hl, $c60d + MON_STAT_EXP - 1
|
ld hl, $c60d + MON_STAT_EXP - 1
|
||||||
ld de, $c60d + MON_MAXHP
|
ld de, $c60d + MON_MAXHP
|
||||||
ld b, $1
|
ld b, TRUE
|
||||||
predef CalcPkmnStats
|
predef CalcMonStats
|
||||||
ld de, $c60d + MON_MAXHP
|
ld de, $c60d + MON_MAXHP
|
||||||
ld hl, $c60d + MON_HP
|
ld hl, $c60d + MON_HP
|
||||||
ld a, [de]
|
ld a, [de]
|
||||||
|
@ -220,7 +220,7 @@ Function170c8b: ; 170c8b
|
|||||||
|
|
||||||
CheckBTMonMovesForErrors: ; 170c98
|
CheckBTMonMovesForErrors: ; 170c98
|
||||||
ld c, BATTLETOWER_PARTY_LENGTH
|
ld c, BATTLETOWER_PARTY_LENGTH
|
||||||
ld hl, wBT_OTTempPkmn1Moves
|
ld hl, wBT_OTTempMon1Moves
|
||||||
.loop
|
.loop
|
||||||
push hl
|
push hl
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
|
@ -2441,8 +2441,8 @@ Function17ded9: ; 17ded9
|
|||||||
ld d, h
|
ld d, h
|
||||||
ld e, l
|
ld e, l
|
||||||
push hl
|
push hl
|
||||||
ld b, $0
|
ld b, FALSE
|
||||||
farcall CalcPkmnStats
|
farcall CalcMonStats
|
||||||
ld a, [wPartyCount]
|
ld a, [wPartyCount]
|
||||||
dec a
|
dec a
|
||||||
ld hl, wPartyMon1HP
|
ld hl, wPartyMon1HP
|
||||||
@ -2531,7 +2531,7 @@ Function17e026: ; 17e026
|
|||||||
push bc
|
push bc
|
||||||
push hl
|
push hl
|
||||||
farcall LoadEnemyMon
|
farcall LoadEnemyMon
|
||||||
farcall SendPkmnIntoBox
|
farcall SendMonIntoBox
|
||||||
farcall SetBoxMonCaughtData
|
farcall SetBoxMonCaughtData
|
||||||
pop hl
|
pop hl
|
||||||
pop bc
|
pop bc
|
||||||
|
14
sram.asm
@ -208,14 +208,14 @@ sBattleTowerSaveFileFlags:: db
|
|||||||
sBattleTowerReward:: db
|
sBattleTowerReward:: db
|
||||||
|
|
||||||
; team of previous trainer
|
; team of previous trainer
|
||||||
sBTPkmnOfTrainers:: ; 0xbe51
|
sBTMonOfTrainers:: ; 0xbe51
|
||||||
sBTPkmnPrevTrainer1:: db
|
sBTMonPrevTrainer1:: db
|
||||||
sBTPkmnPrevTrainer2:: db
|
sBTMonPrevTrainer2:: db
|
||||||
sBTPkmnPrevTrainer3:: db
|
sBTMonPrevTrainer3:: db
|
||||||
; team of preprevious trainer
|
; team of preprevious trainer
|
||||||
sBTPkmnPrevPrevTrainer1:: db
|
sBTMonPrevPrevTrainer1:: db
|
||||||
sBTPkmnPrevPrevTrainer2:: db
|
sBTMonPrevPrevTrainer2:: db
|
||||||
sBTPkmnPrevPrevTrainer3:: db
|
sBTMonPrevPrevTrainer3:: db
|
||||||
|
|
||||||
|
|
||||||
SECTION "Boxes 1-7", SRAM, BANK [2]
|
SECTION "Boxes 1-7", SRAM, BANK [2]
|
||||||
|
2
wram.asm
@ -1640,7 +1640,7 @@ wCurrentRadioLine:: db
|
|||||||
wNextRadioLine:: db
|
wNextRadioLine:: db
|
||||||
wRadioTextDelay:: db
|
wRadioTextDelay:: db
|
||||||
wNumRadioLinesPrinted:: db
|
wNumRadioLinesPrinted:: db
|
||||||
wOaksPkmnTalkSegmentCounter:: db
|
wOaksPKMNTalkSegmentCounter:: db
|
||||||
ds 5
|
ds 5
|
||||||
wRadioText:: ds 2 * SCREEN_WIDTH
|
wRadioText:: ds 2 * SCREEN_WIDTH
|
||||||
wRadioTextEnd::
|
wRadioTextEnd::
|
||||||
|