Trainer data structure and field move functions

Trainer data in map scripts is now a macro-defined structure.

Field move functions in main.asm are now nearly completely annotated, with local references.

Trailing white space deleted.
This commit is contained in:
PikalaxALT 2015-07-18 23:45:39 -04:00
parent e674869018
commit 60cd04b023
116 changed files with 2148 additions and 8705 deletions

View File

@ -151,7 +151,7 @@ AI_Setup: ; 385e0
AI_Types: ; 38635
; Dismiss any move that the player is immune to.
; Encourage super-effective moves.
; Discourage not very effective moves unless
; Discourage not very effective moves unless
; all damaging moves are of the same type.
ld hl, Buffer1 - 1
@ -963,9 +963,9 @@ AI_Smart_Bide: ; 38a1e
AI_Smart_Whirlwind: ; 38a2a
; Whirlwind, Roar.
; Discourage this move if the player has not shown
; Discourage this move if the player has not shown
; a super-effective move against the enemy.
; Consider player's type(s) if its moves are unknown.
; Consider player's type(s) if its moves are unknown.
push hl
callab Function3484e
@ -1231,7 +1231,7 @@ AI_Smart_Paralyze: ; 38b26
call AICheckPlayerQuarterHP
jr nc, .asm_38b3a
; 80% chance to greatly encourage this move
; 80% chance to greatly encourage this move
; if enemy is slower than player and its HP is above 25%.
call AICompareSpeed
ret c
@ -1879,7 +1879,7 @@ AI_Smart_MeanLook: ; 38dfb
bit SUBSTATUS_TOXIC, a
jr nz, .asm_38e26
; 80% chance to greatly encourage this move if the player is either
; 80% chance to greatly encourage this move if the player is either
; in love, identified, stuck in Rollout, or has a Nightmare.
ld a, [PlayerSubStatus1]
and 1<<SUBSTATUS_IN_LOVE | 1<<SUBSTATUS_ROLLOUT | 1<<SUBSTATUS_IDENTIFIED | 1<<SUBSTATUS_NIGHTMARE
@ -3292,7 +3292,7 @@ AI_Aggressive: ; 39369
call AIGetEnemyMove
; Ignore this move if its power is 0 or 1.
; Moves such as Seismic Toss, Hidden Power,
; Moves such as Seismic Toss, Hidden Power,
; Counter and Fissure have a base power of 1.
ld a, [wEnemyMoveStruct + MOVE_POWER]
cp 2

View File

@ -96,54 +96,54 @@ const_value SET 3
; substatus
enum_start 7, -1
enum SUBSTATUS_IN_LOVE
enum SUBSTATUS_ROLLOUT
enum SUBSTATUS_ENDURE
enum SUBSTATUS_PERISH
enum SUBSTATUS_IDENTIFIED
enum SUBSTATUS_PROTECT
enum SUBSTATUS_CURSE
enum SUBSTATUS_NIGHTMARE
enum SUBSTATUS_IN_LOVE
enum SUBSTATUS_ROLLOUT
enum SUBSTATUS_ENDURE
enum SUBSTATUS_PERISH
enum SUBSTATUS_IDENTIFIED
enum SUBSTATUS_PROTECT
enum SUBSTATUS_CURSE
enum SUBSTATUS_NIGHTMARE
SUBSTATUS_CURLED EQU 0
enum_start 7, -1
enum SUBSTATUS_CONFUSED
enum SUBSTATUS_FLYING
enum SUBSTATUS_UNDERGROUND
enum SUBSTATUS_CHARGED
enum SUBSTATUS_FLINCHED
enum SUBSTATUS_IN_LOOP
enum SUBSTATUS_RAMPAGE
enum SUBSTATUS_BIDE
enum SUBSTATUS_CONFUSED
enum SUBSTATUS_FLYING
enum SUBSTATUS_UNDERGROUND
enum SUBSTATUS_CHARGED
enum SUBSTATUS_FLINCHED
enum SUBSTATUS_IN_LOOP
enum SUBSTATUS_RAMPAGE
enum SUBSTATUS_BIDE
enum_start 7, -1
enum SUBSTATUS_LEECH_SEED
enum SUBSTATUS_RAGE
enum SUBSTATUS_RECHARGE
enum SUBSTATUS_SUBSTITUTE
enum SUBSTATUS_UNKNOWN_1
enum SUBSTATUS_LEECH_SEED
enum SUBSTATUS_RAGE
enum SUBSTATUS_RECHARGE
enum SUBSTATUS_SUBSTITUTE
enum SUBSTATUS_UNKNOWN_1
enum SUBSTATUS_FOCUS_ENERGY
enum SUBSTATUS_MIST
enum SUBSTATUS_X_ACCURACY
enum SUBSTATUS_MIST
enum SUBSTATUS_X_ACCURACY
enum_start 7, -1
enum SUBSTATUS_CANT_RUN
enum SUBSTATUS_CANT_RUN
enum SUBSTATUS_DESTINY_BOND
enum SUBSTATUS_LOCK_ON
enum SUBSTATUS_ENCORED
enum SUBSTATUS_TRANSFORMED
enum SUBSTATUS_UNKNOWN_2
enum SUBSTATUS_UNKNOWN_3
enum SUBSTATUS_TOXIC
enum SUBSTATUS_LOCK_ON
enum SUBSTATUS_ENCORED
enum SUBSTATUS_TRANSFORMED
enum SUBSTATUS_UNKNOWN_2
enum SUBSTATUS_UNKNOWN_3
enum SUBSTATUS_TOXIC
; environmental
enum_start 4, -1
enum SCREENS_REFLECT
enum SCREENS_REFLECT
enum SCREENS_LIGHT_SCREEN
enum SCREENS_SAFEGUARD
enum SCREENS_SAFEGUARD
enum SCREENS_UNUSED
enum SCREENS_SPIKES
enum SCREENS_SPIKES
; weather
const_def
@ -158,160 +158,160 @@ SUBSTATUS_CURLED EQU 0
; move effects
const_def
const EFFECT_NORMAL_HIT
const EFFECT_SLEEP
const EFFECT_POISON_HIT
const EFFECT_LEECH_HIT
const EFFECT_BURN_HIT
const EFFECT_FREEZE_HIT
const EFFECT_PARALYZE_HIT
const EFFECT_EXPLOSION
const EFFECT_DREAM_EATER
const EFFECT_MIRROR_MOVE
const EFFECT_ATTACK_UP
const EFFECT_DEFENSE_UP
const EFFECT_SPEED_UP
const EFFECT_SP_ATK_UP
const EFFECT_SP_DEF_UP
const EFFECT_ACCURACY_UP
const EFFECT_EVASION_UP
const EFFECT_ALWAYS_HIT
const EFFECT_ATTACK_DOWN
const EFFECT_DEFENSE_DOWN
const EFFECT_SPEED_DOWN
const EFFECT_SP_ATK_DOWN
const EFFECT_SP_DEF_DOWN
const EFFECT_ACCURACY_DOWN
const EFFECT_EVASION_DOWN
const EFFECT_HAZE
const EFFECT_BIDE
const EFFECT_RAMPAGE
const EFFECT_WHIRLWIND
const EFFECT_MULTI_HIT
const EFFECT_CONVERSION
const EFFECT_FLINCH_HIT
const EFFECT_HEAL
const EFFECT_TOXIC
const EFFECT_PAY_DAY
const EFFECT_LIGHT_SCREEN
const EFFECT_TRI_ATTACK
const EFFECT_UNUSED_25
const EFFECT_OHKO
const EFFECT_RAZOR_WIND
const EFFECT_SUPER_FANG
const EFFECT_STATIC_DAMAGE
const EFFECT_BIND
const EFFECT_UNUSED_2B
const EFFECT_DOUBLE_HIT
const EFFECT_JUMP_KICK
const EFFECT_MIST
const EFFECT_FOCUS_ENERGY
const EFFECT_RECOIL_HIT
const EFFECT_CONFUSE
const EFFECT_ATTACK_UP_2
const EFFECT_DEFENSE_UP_2
const EFFECT_SPEED_UP_2
const EFFECT_SP_ATK_UP_2
const EFFECT_SP_DEF_UP_2
const EFFECT_ACCURACY_UP_2
const EFFECT_EVASION_UP_2
const EFFECT_TRANSFORM
const EFFECT_ATTACK_DOWN_2
const EFFECT_DEFENSE_DOWN_2
const EFFECT_SPEED_DOWN_2
const EFFECT_SP_ATK_DOWN_2
const EFFECT_SP_DEF_DOWN_2
const EFFECT_ACCURACY_DOWN_2
const EFFECT_EVASION_DOWN_2
const EFFECT_REFLECT
const EFFECT_POISON
const EFFECT_PARALYZE
const EFFECT_ATTACK_DOWN_HIT
const EFFECT_DEFENSE_DOWN_HIT
const EFFECT_SPEED_DOWN_HIT
const EFFECT_SP_ATK_DOWN_HIT
const EFFECT_SP_DEF_DOWN_HIT
const EFFECT_ACCURACY_DOWN_HIT
const EFFECT_EVASION_DOWN_HIT
const EFFECT_SKY_ATTACK
const EFFECT_CONFUSE_HIT
const EFFECT_TWINEEDLE
const EFFECT_UNUSED_4E
const EFFECT_SUBSTITUTE
const EFFECT_HYPER_BEAM
const EFFECT_RAGE
const EFFECT_MIMIC
const EFFECT_METRONOME
const EFFECT_LEECH_SEED
const EFFECT_SPLASH
const EFFECT_DISABLE
const EFFECT_LEVEL_DAMAGE
const EFFECT_PSYWAVE
const EFFECT_COUNTER
const EFFECT_ENCORE
const EFFECT_PAIN_SPLIT
const EFFECT_SNORE
const EFFECT_CONVERSION2
const EFFECT_LOCK_ON
const EFFECT_SKETCH
const EFFECT_DEFROST_OPPONENT
const EFFECT_SLEEP_TALK
const EFFECT_DESTINY_BOND
const EFFECT_REVERSAL
const EFFECT_SPITE
const EFFECT_FALSE_SWIPE
const EFFECT_HEAL_BELL
const EFFECT_PRIORITY_HIT
const EFFECT_TRIPLE_KICK
const EFFECT_THIEF
const EFFECT_MEAN_LOOK
const EFFECT_NIGHTMARE
const EFFECT_FLAME_WHEEL
const EFFECT_CURSE
const EFFECT_UNUSED_6E
const EFFECT_PROTECT
const EFFECT_SPIKES
const EFFECT_FORESIGHT
const EFFECT_PERISH_SONG
const EFFECT_SANDSTORM
const EFFECT_ENDURE
const EFFECT_ROLLOUT
const EFFECT_SWAGGER
const EFFECT_FURY_CUTTER
const EFFECT_ATTRACT
const EFFECT_RETURN
const EFFECT_PRESENT
const EFFECT_FRUSTRATION
const EFFECT_SAFEGUARD
const EFFECT_SACRED_FIRE
const EFFECT_MAGNITUDE
const EFFECT_BATON_PASS
const EFFECT_PURSUIT
const EFFECT_RAPID_SPIN
const EFFECT_UNUSED_82
const EFFECT_UNUSED_83
const EFFECT_MORNING_SUN
const EFFECT_SYNTHESIS
const EFFECT_MOONLIGHT
const EFFECT_HIDDEN_POWER
const EFFECT_RAIN_DANCE
const EFFECT_SUNNY_DAY
const EFFECT_STEEL_WING
const EFFECT_METAL_CLAW
const EFFECT_ANCIENTPOWER
const EFFECT_FAKE_OUT
const EFFECT_BELLY_DRUM
const EFFECT_PSYCH_UP
const EFFECT_MIRROR_COAT
const EFFECT_SKULL_BASH
const EFFECT_TWISTER
const EFFECT_EARTHQUAKE
const EFFECT_FUTURE_SIGHT
const EFFECT_GUST
const EFFECT_STOMP
const EFFECT_SOLARBEAM
const EFFECT_THUNDER
const EFFECT_TELEPORT
const EFFECT_BEAT_UP
const EFFECT_FLY
const EFFECT_DEFENSE_CURL
const EFFECT_NORMAL_HIT
const EFFECT_SLEEP
const EFFECT_POISON_HIT
const EFFECT_LEECH_HIT
const EFFECT_BURN_HIT
const EFFECT_FREEZE_HIT
const EFFECT_PARALYZE_HIT
const EFFECT_EXPLOSION
const EFFECT_DREAM_EATER
const EFFECT_MIRROR_MOVE
const EFFECT_ATTACK_UP
const EFFECT_DEFENSE_UP
const EFFECT_SPEED_UP
const EFFECT_SP_ATK_UP
const EFFECT_SP_DEF_UP
const EFFECT_ACCURACY_UP
const EFFECT_EVASION_UP
const EFFECT_ALWAYS_HIT
const EFFECT_ATTACK_DOWN
const EFFECT_DEFENSE_DOWN
const EFFECT_SPEED_DOWN
const EFFECT_SP_ATK_DOWN
const EFFECT_SP_DEF_DOWN
const EFFECT_ACCURACY_DOWN
const EFFECT_EVASION_DOWN
const EFFECT_HAZE
const EFFECT_BIDE
const EFFECT_RAMPAGE
const EFFECT_WHIRLWIND
const EFFECT_MULTI_HIT
const EFFECT_CONVERSION
const EFFECT_FLINCH_HIT
const EFFECT_HEAL
const EFFECT_TOXIC
const EFFECT_PAY_DAY
const EFFECT_LIGHT_SCREEN
const EFFECT_TRI_ATTACK
const EFFECT_UNUSED_25
const EFFECT_OHKO
const EFFECT_RAZOR_WIND
const EFFECT_SUPER_FANG
const EFFECT_STATIC_DAMAGE
const EFFECT_BIND
const EFFECT_UNUSED_2B
const EFFECT_DOUBLE_HIT
const EFFECT_JUMP_KICK
const EFFECT_MIST
const EFFECT_FOCUS_ENERGY
const EFFECT_RECOIL_HIT
const EFFECT_CONFUSE
const EFFECT_ATTACK_UP_2
const EFFECT_DEFENSE_UP_2
const EFFECT_SPEED_UP_2
const EFFECT_SP_ATK_UP_2
const EFFECT_SP_DEF_UP_2
const EFFECT_ACCURACY_UP_2
const EFFECT_EVASION_UP_2
const EFFECT_TRANSFORM
const EFFECT_ATTACK_DOWN_2
const EFFECT_DEFENSE_DOWN_2
const EFFECT_SPEED_DOWN_2
const EFFECT_SP_ATK_DOWN_2
const EFFECT_SP_DEF_DOWN_2
const EFFECT_ACCURACY_DOWN_2
const EFFECT_EVASION_DOWN_2
const EFFECT_REFLECT
const EFFECT_POISON
const EFFECT_PARALYZE
const EFFECT_ATTACK_DOWN_HIT
const EFFECT_DEFENSE_DOWN_HIT
const EFFECT_SPEED_DOWN_HIT
const EFFECT_SP_ATK_DOWN_HIT
const EFFECT_SP_DEF_DOWN_HIT
const EFFECT_ACCURACY_DOWN_HIT
const EFFECT_EVASION_DOWN_HIT
const EFFECT_SKY_ATTACK
const EFFECT_CONFUSE_HIT
const EFFECT_TWINEEDLE
const EFFECT_UNUSED_4E
const EFFECT_SUBSTITUTE
const EFFECT_HYPER_BEAM
const EFFECT_RAGE
const EFFECT_MIMIC
const EFFECT_METRONOME
const EFFECT_LEECH_SEED
const EFFECT_SPLASH
const EFFECT_DISABLE
const EFFECT_LEVEL_DAMAGE
const EFFECT_PSYWAVE
const EFFECT_COUNTER
const EFFECT_ENCORE
const EFFECT_PAIN_SPLIT
const EFFECT_SNORE
const EFFECT_CONVERSION2
const EFFECT_LOCK_ON
const EFFECT_SKETCH
const EFFECT_DEFROST_OPPONENT
const EFFECT_SLEEP_TALK
const EFFECT_DESTINY_BOND
const EFFECT_REVERSAL
const EFFECT_SPITE
const EFFECT_FALSE_SWIPE
const EFFECT_HEAL_BELL
const EFFECT_PRIORITY_HIT
const EFFECT_TRIPLE_KICK
const EFFECT_THIEF
const EFFECT_MEAN_LOOK
const EFFECT_NIGHTMARE
const EFFECT_FLAME_WHEEL
const EFFECT_CURSE
const EFFECT_UNUSED_6E
const EFFECT_PROTECT
const EFFECT_SPIKES
const EFFECT_FORESIGHT
const EFFECT_PERISH_SONG
const EFFECT_SANDSTORM
const EFFECT_ENDURE
const EFFECT_ROLLOUT
const EFFECT_SWAGGER
const EFFECT_FURY_CUTTER
const EFFECT_ATTRACT
const EFFECT_RETURN
const EFFECT_PRESENT
const EFFECT_FRUSTRATION
const EFFECT_SAFEGUARD
const EFFECT_SACRED_FIRE
const EFFECT_MAGNITUDE
const EFFECT_BATON_PASS
const EFFECT_PURSUIT
const EFFECT_RAPID_SPIN
const EFFECT_UNUSED_82
const EFFECT_UNUSED_83
const EFFECT_MORNING_SUN
const EFFECT_SYNTHESIS
const EFFECT_MOONLIGHT
const EFFECT_HIDDEN_POWER
const EFFECT_RAIN_DANCE
const EFFECT_SUNNY_DAY
const EFFECT_STEEL_WING
const EFFECT_METAL_CLAW
const EFFECT_ANCIENTPOWER
const EFFECT_FAKE_OUT
const EFFECT_BELLY_DRUM
const EFFECT_PSYCH_UP
const EFFECT_MIRROR_COAT
const EFFECT_SKULL_BASH
const EFFECT_TWISTER
const EFFECT_EARTHQUAKE
const EFFECT_FUTURE_SIGHT
const EFFECT_GUST
const EFFECT_STOMP
const EFFECT_SOLARBEAM
const EFFECT_THUNDER
const EFFECT_TELEPORT
const EFFECT_BEAT_UP
const EFFECT_FLY
const EFFECT_DEFENSE_CURL

View File

@ -718,11 +718,11 @@
const EVENT_2C9
const EVENT_2CA
const EVENT_2CB
const EVENT_2CC
const EVENT_KRISS_ROOM_POSTER
const EVENT_2CD
const EVENT_2CE
const EVENT_2CF
const EVENT_2D0
const EVENT_2D0 ; 2d0
const EVENT_2D1
const EVENT_2D2
const EVENT_SWITCH_1
@ -738,7 +738,7 @@
const EVENT_SWITCH_10
const EVENT_SWITCH_11
const EVENT_SWITCH_12
const EVENT_SWITCH_13
const EVENT_SWITCH_13 ; 2e0
const EVENT_SWITCH_14
const EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART
const EVENT_TURNED_OFF_SECURITY_CAMERAS
@ -754,7 +754,7 @@
const EVENT_EXPLODING_TRAP_5
const EVENT_EXPLODING_TRAP_6
const EVENT_EXPLODING_TRAP_7
const EVENT_EXPLODING_TRAP_8
const EVENT_EXPLODING_TRAP_8 ; 2f0
const EVENT_EXPLODING_TRAP_9
const EVENT_EXPLODING_TRAP_10
const EVENT_EXPLODING_TRAP_11
@ -770,7 +770,7 @@
const EVENT_EXPLODING_TRAP_21
const EVENT_EXPLODING_TRAP_22
const EVENT_LEARNED_HAIL_GIOVANNI
const EVENT_OPENED_DOOR_TO_ROCKET_HIDEOUT_TRANSMITTER
const EVENT_OPENED_DOOR_TO_ROCKET_HIDEOUT_TRANSMITTER ; 300
const EVENT_LEARNED_SLOWPOKETAIL
const EVENT_LEARNED_RATICATE_TAIL
const EVENT_OPENED_DOOR_TO_GIOVANNIS_OFFICE
@ -786,7 +786,7 @@
const EVENT_BRUNOS_ROOM_ENTRANCE_CLOSED
const EVENT_BRUNOS_ROOM_EXIT_OPEN
const EVENT_KARENS_ROOM_ENTRANCE_CLOSED
const EVENT_KARENS_ROOM_EXIT_OPEN
const EVENT_KARENS_ROOM_EXIT_OPEN ; 310
const EVENT_LANCES_ROOM_ENTRANCE_CLOSED
const EVENT_LANCES_ROOM_EXIT_OPEN
const EVENT_CONTEST_OFFICER_HAS_SUN_STONE
@ -802,7 +802,7 @@
const EVENT_SHOWED_STARYU_TO_BILLS_GRANDPA
const EVENT_SHOWED_GROWLITHE_VULPIX_TO_BILLS_GRANDPA
const EVENT_SHOWED_PICHU_TO_BILLS_GRANDPA
const EVENT_GOT_EVERSTONE_FROM_BILLS_GRANDPA
const EVENT_GOT_EVERSTONE_FROM_BILLS_GRANDPA ; 320
const EVENT_GOT_LEAF_STONE_FROM_BILLS_GRANDPA
const EVENT_GOT_WATER_STONE_FROM_BILLS_GRANDPA
const EVENT_GOT_FIRE_STONE_FROM_BILLS_GRANDPA
@ -1910,7 +1910,7 @@
const EVENT_WHIRL_ISLAND_LUGIA_CHAMBER_LUGIA
const EVENT_KURTS_HOUSE_KURT_1
const EVENT_KURTS_HOUSE_KURT_2
const EVENT_SLOWPOKE_WELL_KURT
const EVENT_SLOWPOKE_WELL_KURT ; 740
const EVENT_KRISS_HOUSE_2F_CONSOLE
const EVENT_KRISS_HOUSE_2F_DOLL_1
const EVENT_KRISS_HOUSE_2F_DOLL_2
@ -1926,7 +1926,7 @@
const EVENT_BLACKTHORN_CITY_GRAMPS_NOT_BLOCKING_DRAGONS_DEN
const EVENT_RUINS_OF_ALPH_KABUTO_CHAMBER_RECEPTIONIST
const EVENT_OPENED_MT_SILVER
const EVENT_FOUGHT_SNORLAX
const EVENT_FOUGHT_SNORLAX ; 750
const EVENT_LAKE_OF_RAGE_RED_GYARADOS
const EVENT_WAREHOUSE_ENTRANCE_GRANNY
const EVENT_WAREHOUSE_ENTRANCE_GRAMPS
@ -1942,7 +1942,7 @@
const EVENT_BLACKTHORN_CITY_SANTOS_OF_SATURDAY
const EVENT_ROUTE_40_MONICA_OF_MONDAY
const EVENT_LANCES_ROOM_OAK_AND_MARY
const EVENT_UNION_CAVE_B2F_LAPRAS
const EVENT_UNION_CAVE_B2F_LAPRAS ; 760
const EVENT_761
const EVENT_RED_IN_MT_SILVER
const EVENT_GOLDENROD_DEPT_STORE_5F_HAPPINESS_EVENT_LADY
@ -1959,7 +1959,7 @@
const EVENT_CERULEAN_GYM_ROCKET
const EVENT_ROUTE_25_MISTY_BOYFRIEND
const EVENT_TRAINERS_IN_CERULEAN_GYM
const EVENT_VERMILION_CITY_SNORLAX
const EVENT_VERMILION_CITY_SNORLAX ; 770
const EVENT_ROUTE_5_6_POKEFAN_M_BLOCKS_UNDERGROUND_PATH
const EVENT_SAFFRON_TRAIN_STATION_POPULATION
const EVENT_COPYCATS_HOUSE_2F_DOLL
@ -1975,7 +1975,7 @@
const EVENT_PICKED_UP_FOCUS_BAND
const EVENT_ROCK_TUNNEL_1F_ELIXER
const EVENT_ROCK_TUNNEL_1F_TM_STEEL_WING
const EVENT_ROCK_TUNNEL_B1F_IRON
const EVENT_ROCK_TUNNEL_B1F_IRON ; 780
const EVENT_ROCK_TUNNEL_B1F_PP_UP
const EVENT_ROCK_TUNNEL_B1F_REVIVE
const EVENT_ROUTE_2_DIRE_HIT
@ -1992,7 +1992,7 @@
const EVENT_KURTS_HOUSE_GRANDDAUGHTER_2
const EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_FISHER
const EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_YOUNGSTERS
const EVENT_DRAGON_SHRINE_CLAIR
const EVENT_DRAGON_SHRINE_CLAIR ; 790
const EVENT_BATTLE_TOWER_BATTLE_ROOM_YOUNGSTER
const EVENT_KRISS_HOUSE_1F_NEIGHBOR
const EVENT_KRISS_NEIGHBORS_HOUSE_NEIGHBOR
@ -2008,7 +2008,7 @@
const EVENT_PICKED_UP_MYSTIC_WATER_FROM_OMANYTE_ITEM_ROOM
const EVENT_PICKED_UP_STARDUST_FROM_OMANYTE_ITEM_ROOM
const EVENT_PICKED_UP_STAR_PIECE_FROM_OMANYTE_ITEM_ROOM
const EVENT_PICKED_UP_GOLD_BERRY_FROM_AERODACTYL_ITEM_ROOM
const EVENT_PICKED_UP_GOLD_BERRY_FROM_AERODACTYL_ITEM_ROOM ; 7a0
const EVENT_PICKED_UP_MOON_STONE_FROM_AERODACTYL_ITEM_ROOM
const EVENT_PICKED_UP_HEAL_POWDER_FROM_AERODACTYL_ITEM_ROOM
const EVENT_PICKED_UP_ENERGY_ROOT_FROM_AERODACTYL_ITEM_ROOM
@ -2024,7 +2024,7 @@
const EVENT_CIANWOOD_CITY_EUSINE
const EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
const EVENT_SAW_SUICUNE_ON_ROUTE_42
const EVENT_SAW_SUICUNE_ON_ROUTE_36
const EVENT_SAW_SUICUNE_ON_ROUTE_36 ; 7b0
const EVENT_ECRUTEAK_HOUSE_WANDERING_SAGE
const EVENT_TIN_TOWER_1F_SUICUNE
const EVENT_TIN_TOWER_1F_ENTEI
@ -2040,7 +2040,7 @@
const EVENT_ROUTE_44_MAX_REPEL
const EVENT_ICE_PATH_1F_PROTEIN
const EVENT_DRAGONS_DEN_B1F_CALCIUM
const EVENT_DRAGONS_DEN_B1F_MAX_ELIXER
const EVENT_DRAGONS_DEN_B1F_MAX_ELIXER ; 7c0
const EVENT_SILVER_CAVE_ROOM_1_ULTRA_BALL
const EVENT_SILVER_CAVE_ROOM_2_CALCIUM
const EVENT_SILVER_CAVE_ROOM_2_ULTRA_BALL
@ -2056,5 +2056,4 @@
const EVENT_RADIO_TOWER_5F_ULTRA_BALL
const EVENT_DARK_CAVE_VIOLET_ENTRANCE_DIRE_HIT
const EVENT_BATTLE_TOWER_OUTSIDE_SAILOR
NUM_EVENTS EQU const_value
NUM_EVENTS EQU const_value ; 7d0

View File

@ -354,3 +354,13 @@ const_value SET 70
const HELD_BRIGHTPOWDER
const HELD_4E
const HELD_FOCUS_BAND
const_def
const ITEMATTR_PRICE
const ITEMATTR_PRICE_HI
const ITEMATTR_EFFECT
const ITEMATTR_PARAM
const ITEMATTR_PERMISSIONS
const ITEMATTR_POCKET
const ITEMATTR_HELP
NUM_ITEMATTRS EQU const_value

View File

@ -1,34 +1,43 @@
PHONE_SCHOOLBOY_JACK EQU $05
PHONE_POKEFAN_BEVERLY EQU $06
PHONE_SAILOR_HUEY EQU $07
PHONE_COOLTRAINERM_GAVEN EQU $0b
PHONE_COOLTRAINERF_BETH EQU $0c
PHONE_BIRDKEEPER_JOSE EQU $0d
PHONE_COOLTRAINERF_REENA EQU $0e
PHONE_YOUNGSTER_JOEY EQU $0f
PHONE_BUG_CATCHER_WADE EQU $10
PHONE_FISHER_RALPH EQU $11
PHONE_PICNICKER_LIZ EQU $12
PHONE_HIKER_ANTHONY EQU $13
PHONE_CAMPER_TODD EQU $14
PHONE_PICNICKER_GINA EQU $15
PHONE_JUGGLER_IRWIN EQU $16
PHONE_BUG_CATCHER_ARNIE EQU $17
PHONE_SCHOOLBOY_ALAN EQU $18
PHONE_LASS_DANA EQU $1a
PHONE_SCHOOLBOY_CHAD EQU $1b
PHONE_POKEFANM_DEREK EQU $1c
PHONE_FISHER_TULLY EQU $1d
PHONE_POKEMANIAC_BRENT EQU $1e
PHONE_PICNICKER_TIFFANY EQU $1f
PHONE_BIRDKEEPER_VANCE EQU $20
PHONE_FISHER_WILTON EQU $21
PHONE_BLACKBELT_KENJI EQU $22
PHONE_HIKER_PARRY EQU $23
PHONE_PICNICKER_ERIN EQU $24
const_def
const PHONE_00
const PHONE_MOM
const PHONE_OAK
const PHONE_BILL
const PHONE_ELM
const PHONE_SCHOOLBOY_JACK
const PHONE_POKEFAN_BEVERLY
const PHONE_SAILOR_HUEY
const PHONE_08
const PHONE_09
const PHONE_0A
const PHONE_COOLTRAINERM_GAVEN
const PHONE_COOLTRAINERF_BETH
const PHONE_BIRDKEEPER_JOSE
const PHONE_COOLTRAINERF_REENA
const PHONE_YOUNGSTER_JOEY
const PHONE_BUG_CATCHER_WADE
const PHONE_FISHER_RALPH
const PHONE_PICNICKER_LIZ
const PHONE_HIKER_ANTHONY
const PHONE_CAMPER_TODD
const PHONE_PICNICKER_GINA
const PHONE_JUGGLER_IRWIN
const PHONE_BUG_CATCHER_ARNIE
const PHONE_SCHOOLBOY_ALAN
const PHONE_19
const PHONE_LASS_DANA
const PHONE_SCHOOLBOY_CHAD
const PHONE_POKEFANM_DEREK
const PHONE_FISHER_TULLY
const PHONE_POKEMANIAC_BRENT
const PHONE_PICNICKER_TIFFANY
const PHONE_BIRDKEEPER_VANCE
const PHONE_FISHER_WILTON
const PHONE_BLACKBELT_KENJI
const PHONE_HIKER_PARRY
const PHONE_PICNICKER_ERIN
const PHONE_BUENA
const_def
const ELMCALL_NONE

View File

@ -1,210 +1,210 @@
const_def
const SFX_DEX_FANFARE_50_79
const SFX_ITEM
const SFX_CAUGHT_MON
const SFX_POKEBALLS_PLACED_ON_TABLE
const SFX_POTION
const SFX_FULL_HEAL
const SFX_MENU
const SFX_READ_TEXT
const SFX_READ_TEXT_2
const SFX_DEX_FANFARE_20_49
const SFX_DEX_FANFARE_80_109
const SFX_POISON
const SFX_GOT_SAFARI_BALLS
const SFX_BOOT_PC
const SFX_SHUT_DOWN_PC
const SFX_CHOOSE_PC_OPTION
const SFX_ESCAPE_ROPE
const SFX_PUSH_BUTTON
const SFX_SECOND_PART_OF_ITEMFINDER
const SFX_WARP_TO
const SFX_WARP_FROM
const SFX_CHANGE_DEX_MODE
const SFX_JUMP_OVER_LEDGE
const SFX_GRASS_RUSTLE
const SFX_FLY
const SFX_WRONG
const SFX_SQUEAK
const SFX_STRENGTH
const SFX_BOAT
const SFX_WALL_OPEN
const SFX_PLACE_PUZZLE_PIECE_DOWN
const SFX_ENTER_DOOR
const SFX_SWITCH_POKEMON
const SFX_TALLY
const SFX_TRANSACTION
const SFX_EXIT_BUILDING
const SFX_BUMP
const SFX_SAVE
const SFX_POKEFLUTE
const SFX_ELEVATOR_END
const SFX_THROW_BALL
const SFX_BALL_POOF
const SFX_UNKNOWN_2A
const SFX_RUN
const SFX_SLOT_MACHINE_START
const SFX_FANFARE
const SFX_PECK
const SFX_KINESIS
const SFX_LICK
const SFX_POUND
const SFX_MOVE_PUZZLE_PIECE
const SFX_COMET_PUNCH
const SFX_MEGA_PUNCH
const SFX_SCRATCH
const SFX_VICEGRIP
const SFX_RAZOR_WIND
const SFX_CUT
const SFX_WING_ATTACK
const SFX_WHIRLWIND
const SFX_BIND
const SFX_VINE_WHIP
const SFX_DOUBLE_KICK
const SFX_MEGA_KICK
const SFX_HEADBUTT
const SFX_HORN_ATTACK
const SFX_TACKLE
const SFX_POISON_STING
const SFX_POWDER
const SFX_DOUBLESLAP
const SFX_BITE
const SFX_JUMP_KICK
const SFX_STOMP
const SFX_TAIL_WHIP
const SFX_KARATE_CHOP
const SFX_SUBMISSION
const SFX_WATER_GUN
const SFX_SWORDS_DANCE
const SFX_THUNDER
const SFX_SUPERSONIC
const SFX_LEER
const SFX_EMBER
const SFX_BUBBLEBEAM
const SFX_HYDRO_PUMP
const SFX_SURF
const SFX_PSYBEAM
const SFX_CHARGE
const SFX_THUNDERSHOCK
const SFX_PSYCHIC
const SFX_SCREECH
const SFX_BONE_CLUB
const SFX_SHARPEN
const SFX_EGG_BOMB
const SFX_SING
const SFX_HYPER_BEAM
const SFX_SHINE
const SFX_UNKNOWN_5F
const SFX_UNKNOWN_60
const SFX_UNKNOWN_61
const SFX_UNKNOWN_62
const SFX_UNKNOWN_63
const SFX_BURN
const SFX_TITLE_SCREEN_ENTRANCE
const SFX_UNKNOWN_66
const SFX_GET_COIN_FROM_SLOTS
const SFX_PAY_DAY
const SFX_METRONOME
const SFX_CALL
const SFX_HANG_UP
const SFX_NO_SIGNAL
const SFX_SANDSTORM
const SFX_ELEVATOR
const SFX_PROTECT
const SFX_SKETCH
const SFX_RAIN_DANCE
const SFX_AEROBLAST
const SFX_SPARK
const SFX_CURSE
const SFX_RAGE
const SFX_THIEF
const SFX_THIEF_2
const SFX_SPIDER_WEB
const SFX_MIND_READER
const SFX_NIGHTMARE
const SFX_SNORE
const SFX_SWEET_KISS
const SFX_SWEET_KISS_2
const SFX_BELLY_DRUM
const SFX_UNKNOWN_7F
const SFX_SLUDGE_BOMB
const SFX_FORESIGHT
const SFX_SPITE
const SFX_OUTRAGE
const SFX_PERISH_SONG
const SFX_GIGA_DRAIN
const SFX_ATTRACT
const SFX_KINESIS_2
const SFX_ZAP_CANNON
const SFX_MEAN_LOOK
const SFX_HEAL_BELL
const SFX_RETURN
const SFX_EXP_BAR
const SFX_MILK_DRINK
const SFX_PRESENT
const SFX_MORNING_SUN
const SFX_LEVEL_UP
const SFX_KEY_ITEM
const SFX_FANFARE_2
const SFX_REGISTER_PHONE_NUMBER
const SFX_3RD_PLACE
const SFX_GET_EGG_FROM_DAYCARE_MAN
const SFX_GET_EGG_FROM_DAYCARE_LADY
const SFX_MOVE_DELETED
const SFX_2ND_PLACE
const SFX_1ST_PLACE
const SFX_CHOOSE_A_CARD
const SFX_GET_TM
const SFX_GET_BADGE
const SFX_QUIT_SLOTS
const SFX_EGG_CRACK
const SFX_DEX_FANFARE_LESS_THAN_20
const SFX_DEX_FANFARE_140_169
const SFX_DEX_FANFARE_170_199
const SFX_DEX_FANFARE_200_229
const SFX_DEX_FANFARE_230_PLUS
const SFX_EVOLVED
const SFX_MASTER_BALL
const SFX_EGG_HATCH
const SFX_DEX_FANFARE_50_79
const SFX_ITEM
const SFX_CAUGHT_MON
const SFX_POKEBALLS_PLACED_ON_TABLE
const SFX_POTION
const SFX_FULL_HEAL
const SFX_MENU
const SFX_READ_TEXT
const SFX_READ_TEXT_2
const SFX_DEX_FANFARE_20_49
const SFX_DEX_FANFARE_80_109
const SFX_POISON
const SFX_GOT_SAFARI_BALLS
const SFX_BOOT_PC
const SFX_SHUT_DOWN_PC
const SFX_CHOOSE_PC_OPTION
const SFX_ESCAPE_ROPE
const SFX_PUSH_BUTTON
const SFX_SECOND_PART_OF_ITEMFINDER
const SFX_WARP_TO
const SFX_WARP_FROM
const SFX_CHANGE_DEX_MODE
const SFX_JUMP_OVER_LEDGE
const SFX_GRASS_RUSTLE
const SFX_FLY
const SFX_WRONG
const SFX_SQUEAK
const SFX_STRENGTH
const SFX_BOAT
const SFX_WALL_OPEN
const SFX_PLACE_PUZZLE_PIECE_DOWN
const SFX_ENTER_DOOR
const SFX_SWITCH_POKEMON
const SFX_TALLY
const SFX_TRANSACTION
const SFX_EXIT_BUILDING
const SFX_BUMP
const SFX_SAVE
const SFX_POKEFLUTE
const SFX_ELEVATOR_END
const SFX_THROW_BALL
const SFX_BALL_POOF
const SFX_UNKNOWN_2A
const SFX_RUN
const SFX_SLOT_MACHINE_START
const SFX_FANFARE
const SFX_PECK
const SFX_KINESIS
const SFX_LICK
const SFX_POUND
const SFX_MOVE_PUZZLE_PIECE
const SFX_COMET_PUNCH
const SFX_MEGA_PUNCH
const SFX_SCRATCH
const SFX_VICEGRIP
const SFX_RAZOR_WIND
const SFX_CUT
const SFX_WING_ATTACK
const SFX_WHIRLWIND
const SFX_BIND
const SFX_VINE_WHIP
const SFX_DOUBLE_KICK
const SFX_MEGA_KICK
const SFX_HEADBUTT
const SFX_HORN_ATTACK
const SFX_TACKLE
const SFX_POISON_STING
const SFX_POWDER
const SFX_DOUBLESLAP
const SFX_BITE
const SFX_JUMP_KICK
const SFX_STOMP
const SFX_TAIL_WHIP
const SFX_KARATE_CHOP
const SFX_SUBMISSION
const SFX_WATER_GUN
const SFX_SWORDS_DANCE
const SFX_THUNDER
const SFX_SUPERSONIC
const SFX_LEER
const SFX_EMBER
const SFX_BUBBLEBEAM
const SFX_HYDRO_PUMP
const SFX_SURF
const SFX_PSYBEAM
const SFX_CHARGE
const SFX_THUNDERSHOCK
const SFX_PSYCHIC
const SFX_SCREECH
const SFX_BONE_CLUB
const SFX_SHARPEN
const SFX_EGG_BOMB
const SFX_SING
const SFX_HYPER_BEAM
const SFX_SHINE
const SFX_UNKNOWN_5F
const SFX_UNKNOWN_60
const SFX_UNKNOWN_61
const SFX_UNKNOWN_62
const SFX_UNKNOWN_63
const SFX_BURN
const SFX_TITLE_SCREEN_ENTRANCE
const SFX_UNKNOWN_66
const SFX_GET_COIN_FROM_SLOTS
const SFX_PAY_DAY
const SFX_METRONOME
const SFX_CALL
const SFX_HANG_UP
const SFX_NO_SIGNAL
const SFX_SANDSTORM
const SFX_ELEVATOR
const SFX_PROTECT
const SFX_SKETCH
const SFX_RAIN_DANCE
const SFX_AEROBLAST
const SFX_SPARK
const SFX_CURSE
const SFX_RAGE
const SFX_THIEF
const SFX_THIEF_2
const SFX_SPIDER_WEB
const SFX_MIND_READER
const SFX_NIGHTMARE
const SFX_SNORE
const SFX_SWEET_KISS
const SFX_SWEET_KISS_2
const SFX_BELLY_DRUM
const SFX_UNKNOWN_7F
const SFX_SLUDGE_BOMB
const SFX_FORESIGHT
const SFX_SPITE
const SFX_OUTRAGE
const SFX_PERISH_SONG
const SFX_GIGA_DRAIN
const SFX_ATTRACT
const SFX_KINESIS_2
const SFX_ZAP_CANNON
const SFX_MEAN_LOOK
const SFX_HEAL_BELL
const SFX_RETURN
const SFX_EXP_BAR
const SFX_MILK_DRINK
const SFX_PRESENT
const SFX_MORNING_SUN
const SFX_LEVEL_UP
const SFX_KEY_ITEM
const SFX_FANFARE_2
const SFX_REGISTER_PHONE_NUMBER
const SFX_3RD_PLACE
const SFX_GET_EGG_FROM_DAYCARE_MAN
const SFX_GET_EGG_FROM_DAYCARE_LADY
const SFX_MOVE_DELETED
const SFX_2ND_PLACE
const SFX_1ST_PLACE
const SFX_CHOOSE_A_CARD
const SFX_GET_TM
const SFX_GET_BADGE
const SFX_QUIT_SLOTS
const SFX_EGG_CRACK
const SFX_DEX_FANFARE_LESS_THAN_20
const SFX_DEX_FANFARE_140_169
const SFX_DEX_FANFARE_170_199
const SFX_DEX_FANFARE_200_229
const SFX_DEX_FANFARE_230_PLUS
const SFX_EVOLVED
const SFX_MASTER_BALL
const SFX_EGG_HATCH
const SFX_GS_INTRO_CHARIZARD_FIREBALL
const SFX_GS_INTRO_POKEMON_APPEARS
const SFX_FLASH
const SFX_GAME_FREAK_LOGO_GS
const SFX_NOT_VERY_EFFECTIVE
const SFX_DAMAGE
const SFX_SUPER_EFFECTIVE
const SFX_BALL_BOUNCE
const SFX_MOONLIGHT
const SFX_ENCORE
const SFX_BEAT_UP
const SFX_BATON_PASS
const SFX_BALL_WIGGLE
const SFX_SWEET_SCENT
const SFX_SWEET_SCENT_2
const SFX_HIT_END_OF_EXP_BAR
const SFX_GIVE_TRADEMON
const SFX_GET_TRADEMON
const SFX_TRAIN_ARRIVED
const SFX_STOP_SLOT
const SFX_2_BOOPS
const SFX_GLASS_TING
const SFX_GLASS_TING_2
const SFX_GS_INTRO_POKEMON_APPEARS
const SFX_FLASH
const SFX_GAME_FREAK_LOGO_GS
const SFX_NOT_VERY_EFFECTIVE
const SFX_DAMAGE
const SFX_SUPER_EFFECTIVE
const SFX_BALL_BOUNCE
const SFX_MOONLIGHT
const SFX_ENCORE
const SFX_BEAT_UP
const SFX_BATON_PASS
const SFX_BALL_WIGGLE
const SFX_SWEET_SCENT
const SFX_SWEET_SCENT_2
const SFX_HIT_END_OF_EXP_BAR
const SFX_GIVE_TRADEMON
const SFX_GET_TRADEMON
const SFX_TRAIN_ARRIVED
const SFX_STOP_SLOT
const SFX_2_BOOPS
const SFX_GLASS_TING
const SFX_GLASS_TING_2
const SFX_INTRO_UNOWN_1
const SFX_INTRO_UNOWN_2
const SFX_INTRO_UNOWN_3
const SFX_DITTO_POP_UP
const SFX_DITTO_TRANSFORM
const SFX_INTRO_SUICUNE_1
const SFX_INTRO_PICHU
const SFX_INTRO_SUICUNE_2
const SFX_INTRO_SUICUNE_3
const SFX_DITTO_BOUNCE
const SFX_INTRO_SUICUNE_4
const SFX_GAME_FREAK_PRESENTS
const SFX_TINGLE
const SFX_UNKNOWN_CB
const SFX_TWO_PC_BEEPS
const SFX_4_NOTE_DITTY
const SFX_TWINKLE
const SFX_INTRO_UNOWN_1
const SFX_INTRO_UNOWN_2
const SFX_INTRO_UNOWN_3
const SFX_DITTO_POP_UP
const SFX_DITTO_TRANSFORM
const SFX_INTRO_SUICUNE_1
const SFX_INTRO_PICHU
const SFX_INTRO_SUICUNE_2
const SFX_INTRO_SUICUNE_3
const SFX_DITTO_BOUNCE
const SFX_INTRO_SUICUNE_4
const SFX_GAME_FREAK_PRESENTS
const SFX_TINGLE
const SFX_UNKNOWN_CB
const SFX_TWO_PC_BEEPS
const SFX_4_NOTE_DITTY
const SFX_TWINKLE

View File

@ -1,7 +1,7 @@
; More overworld event handling.
WarpToLastSpawn:: ; 97c28
WarpToSpawnPoint:: ; 97c28
ld hl, StatusFlags2
res 1, [hl]
res 2, [hl]

View File

@ -2446,19 +2446,19 @@ Function503d: ; 503d
; 5041
Function5041: ; 5041
call Function5055
call CopyMovementPointer
.loop
xor a
ld [wc2ea], a
call Function505e
call Function506b
call GetMovementByte
call DoMovementFunction
ld a, [wc2ea]
and a
jr nz, .loop
ret
; 5055
Function5055: ; 5055
CopyMovementPointer: ; 5055
ld a, l
ld [wc2eb], a
ld a, h
@ -2466,7 +2466,7 @@ Function5055: ; 5055
ret
; 505e
Function505e: ; 505e
GetMovementByte: ; 505e
ld hl, wc2eb
ld a, [hli]
ld h, [hl]
@ -2480,7 +2480,7 @@ Function5065: ; 5065
ret
; 506b
Function506b: ; 506b
DoMovementFunction: ; 506b
push af
call Function54b8
pop af

View File

@ -130,7 +130,7 @@ Movement_step_wait5: ; 5145
ld hl, $000b
add hl, bc
ld [hl], $4
call Function505e
call GetMovementByte
ld hl, $000a
add hl, bc
ld [hl], a
@ -150,7 +150,7 @@ Function516a: ; 516a
ld hl, $000c
add hl, bc
ld [hl], a
call Function505e
call GetMovementByte
ld hl, $000a
add hl, bc
ld [hl], a
@ -174,7 +174,7 @@ Function5189: ; 5189
; 5196
Function5196: ; 5196
call Function505e
call GetMovementByte
ld hl, $000a
add hl, bc
ld [hl], a
@ -228,7 +228,7 @@ Function51db: ; 51db
ld hl, $001b
add hl, bc
ld [hl], $0
call Function505e
call GetMovementByte
ld hl, $000a
add hl, bc
ld [hl], a
@ -302,7 +302,7 @@ Movement_step_sleep: ; 5242
; parameters:
; duration (DecimalParam)
call Function505e
call GetMovementByte
jr Function5247
Function5247: ; 5247
@ -411,7 +411,7 @@ Movement_step_shake: ; 52d5
; parameters:
; displacement (DecimalParam)
call Function505e
call GetMovementByte
call Function5565
jp Function5065
; 52de

View File

@ -500,7 +500,7 @@ Function10364: ; 10364
jr c, .asm_1039c
call Function10a1d
ld hl, UnknownText_0x10ae9
call Function1d4f
call MenuTextBox
call YesNoBox
push af
call Function1c07
@ -1673,7 +1673,7 @@ UnknownText_0x10b07: ; 0x10b07
; 0x10b0c
UnknownText_0x10b0c: ; 0x10b0c
;
;
text_jump UnknownText_0x1c0c83
db "@"
; 0x10b11

View File

@ -912,12 +912,12 @@ Script_winlosstext: ; 0x9714c
; win_text_pointer (TextPointerLabelParam)
; loss_text_pointer (TextPointerLabelParam)
ld hl, WalkingTile
ld hl, wWinTextPointer ; d047
call GetScriptByte
ld [hli], a
call GetScriptByte
ld [hli], a
ld hl, wd048 + 1
ld hl, wLossTextPointer ; d049; this is unnecessary
call GetScriptByte
ld [hli], a
call GetScriptByte
@ -2675,7 +2675,7 @@ Script_setevent: ; 0x97988
ld e, a
call GetScriptByte
ld d, a
ld b, 1 ; set
ld b, SET_FLAG
call EventFlagAction
ret
; 0x97996
@ -2689,7 +2689,7 @@ Script_clearevent: ; 0x97996
ld e, a
call GetScriptByte
ld d, a
ld b, 0 ; clear
ld b, RESET_FLAG
call EventFlagAction
ret
; 0x979a4
@ -2703,7 +2703,7 @@ Script_checkevent: ; 0x979a4
ld e, a
call GetScriptByte
ld d, a
ld b, 2 ; check
ld b, CHECK_FLAG
call EventFlagAction
ld a, c
and a

View File

@ -41,10 +41,10 @@ ENDM
spawn BLACKTHORN, BLACKTHORN_CITY, 21, 30
spawn MT_SILVER, SILVER_CAVE_OUTSIDE, 23, 20
spawn FAST_SHIP, FAST_SHIP_CABINS_SW_SSW_NW, 6, 2
NUM_SPAWNS EQU const_value
const_value = -1
spawn N_A, N_A, -1, -1
NUM_SPAWNS EQU const_value
LoadSpawnPoint: ; 1531f

View File

@ -14,7 +14,7 @@ Special:: ; c01b
; c029
SpecialsPointers:: ; c029
add_special WarpToLastSpawn
add_special WarpToSpawnPoint
; Communications
add_special Special_SetBitsForLinkTradeRequest
@ -58,7 +58,7 @@ SpecialsPointers:: ; c029
add_special Function90913
add_special Functionc2c0
add_special Functionc2cd
add_special Functionc355
add_special MapRadio
add_special Functionc360
add_special Functionc373
add_special Functionc380
@ -92,7 +92,7 @@ SpecialsPointers:: ; c029
add_special Special_SelectRandomBugContestContestants
add_special Functionc3fc
add_special Function26feb
add_special Function27043
add_special ToggleDecorationsVisibility
add_special SpecialGiveShuckle
add_special SpecialReturnShuckle
add_special Function73f7
@ -150,7 +150,7 @@ SpecialsPointers:: ; c029
add_special Function101225
add_special Function101231
add_special Function4925b
add_special Function8adef
add_special SpecialOmanyteChamber
add_special Function11c1ab
add_special Function170687
add_special Function8ae68
@ -367,10 +367,10 @@ BugContestJudging: ; c34a
ret
; c355
Functionc355: ; c355
MapRadio: ; c355
ld a, [ScriptVar]
ld e, a
callba Function91a53
callba PlayRadio
ret
; c360

View File

@ -204,7 +204,7 @@ HomepageScript:
Radio1Script:
loadfont
writebyte $0
special Functionc355
special MapRadio
loadmovesprites
end
@ -212,7 +212,7 @@ Radio2Script:
; Lucky Channel
loadfont
writebyte $4
special Functionc355
special MapRadio
loadmovesprites
end

View File

@ -51,7 +51,7 @@ rTAC EQU $ff07 ; Timer Control (R/W)
rTAC_ON EQU 2
rTAC_4096_HZ EQU 0
rTAC_262144_HZ EQU 1
rTAC_65536_HZ EQU 2
rTAC_65536_HZ EQU 2
rTAC_16384_HZ EQU 3
rIF EQU $ff0f ; Interrupt Flag (R/W)
rNR10 EQU $ff10 ; Channel 1 Sweep register (R/W)

View File

@ -481,7 +481,7 @@ CallPointerAt:: ; 31be
; 31cd
Function31cd:: ; 31cd
ExitMenuCallScript:: ; 31cd
; Push pointer hl in the current bank to wd0e8.
ld a, [hROMBank]
@ -1379,14 +1379,14 @@ CheckTrainerBattle:: ; 360d
push de
; Has a sprite
ld hl, $0001
ld hl, MAPOBJECT_SPRITE
add hl, de
ld a, [hl]
and a
jr z, .next
; Is a trainer
ld hl, $0008
ld hl, MAPOBJECT_COLOR
add hl, de
ld a, [hl]
and $f
@ -1394,10 +1394,10 @@ CheckTrainerBattle:: ; 360d
jr nz, .next
; Is visible on the map
ld hl, $0000
ld hl, MAPOBJECT_OBJECT_STRUCT_ID
add hl, de
ld a, [hl]
cp $ff
cp -1
jr z, .next
; Is facing the player...
@ -1406,7 +1406,7 @@ CheckTrainerBattle:: ; 360d
jr nc, .next
; ...within their sight range
ld hl, $0009
ld hl, MAPOBJECT_RANGE
add hl, de
ld a, [hl]
cp b
@ -1415,7 +1415,7 @@ CheckTrainerBattle:: ; 360d
; And hasn't already been beaten
push bc
push de
ld hl, $000a
ld hl, MAPOBJECT_SCRIPT_POINTER
add hl, de
ld a, [hli]
ld h, [hl]
@ -1429,7 +1429,7 @@ CheckTrainerBattle:: ; 360d
pop de
pop bc
and a
jr z, .asm_3666
jr z, .startbattle
.next
pop de
@ -1445,7 +1445,7 @@ CheckTrainerBattle:: ; 360d
xor a
ret
.asm_3666
.startbattle
pop de
pop af
ld [$ffe0], a
@ -1457,9 +1457,9 @@ CheckTrainerBattle:: ; 360d
; 3674
Function3674:: ; 3674
ld a, $1
ld a, 1
ld [CurFruit], a
ld a, $ff
ld a, -1
ld [wd040], a
Function367e:: ; 367e
@ -1467,7 +1467,7 @@ Function367e:: ; 367e
ld [EngineBuffer1], a
ld a, [$ffe0]
call GetMapObject
ld hl, $000a
ld hl, MAPOBJECT_SCRIPT_POINTER
add hl, bc
ld a, [EngineBuffer1]
call GetFarHalfword
@ -1564,13 +1564,13 @@ FacingPlayerDistance:: ; 36ad
; 36f5
Function36f5:: ; 36f5
CheckTrainerFlag:: ; 36f5
push bc
ld hl, $0001
ld hl, OBJECT_MAP_OBJECT_INDEX
add hl, bc
ld a, [hl]
call GetMapObject
ld hl, OBJECT_STEP_DURATION
ld hl, MAPOBJECT_SCRIPT_POINTER
add hl, bc
ld a, [hli]
ld h, [hl]
@ -1580,7 +1580,7 @@ Function36f5:: ; 36f5
ld d, h
ld e, l
push de
ld b, $2 ; check
ld b, CHECK_FLAG
call EventFlagAction
pop de
ld a, c

View File

@ -1774,9 +1774,9 @@ Function2a3c:: ; 2a3c
GetBlockLocation:: ; 2a66
ld a, [MapWidth]
add $6
add 6
ld c, a
ld b, $0
ld b, 0
ld hl, wc801
add hl, bc
ld a, e
@ -1797,7 +1797,7 @@ GetBlockLocation:: ; 2a66
.nope
ld c, d
srl c
ld b, $0
ld b, 0
add hl, bc
ret
; 2a8b

View File

@ -21,9 +21,9 @@ Function1d4b:: ; 1d4b
; 1d4f
Function1d4f:: ; 1d4f
MenuTextBox:: ; 1d4f
push hl
call Function1d58
call LoadMenuTextBox
pop hl
jp PrintText
; 1d57
@ -32,7 +32,7 @@ Function1d57:: ; 1d57
ret
; 1d58
Function1d58:: ; 1d58
LoadMenuTextBox:: ; 1d58
ld hl, MenuDataHeader_0x1d5f
call LoadMenuDataHeader
ret
@ -46,8 +46,8 @@ MenuDataHeader_0x1d5f:: ; 1d5f
db 0 ; default option
; 1d67
Function1d67:: ; 1d67
call Function1d4f
MenuTextBoxBackup:: ; 1d67
call MenuTextBox
call WriteBackup
ret
; 1d6e
@ -252,7 +252,7 @@ MenuFunc_1e7f:: ; 0x1e7f
MenuWriteText:: ; 0x1e8c
xor a
ld [hBGMapMode], a
call Function1ebd ; sort out the text
call Function1ebd ; sort out the text
call Function1eda ; actually write it
call Function2e31
ld a, [hOAMUpdate]
@ -530,7 +530,7 @@ Function1ff8:: ; 1ff8
; 2009
PlayClickSFX:: ; 2009
PlayClickSFX:: ; 2009
push de
ld de, SFX_READ_TEXT_2
call PlaySFX
@ -539,7 +539,7 @@ PlayClickSFX:: ; 2009
; 0x2012
Function2012:: ; 2012
call Function1d4f
call MenuTextBox
call CloseText
call Function1c07
ret

View File

@ -363,7 +363,7 @@ VBlank5:: ; 400
; bg map
; tiles
; joypad
;
;
ld a, [hROMBank]
ld [hROMBankBackup], a

File diff suppressed because it is too large Load Diff

View File

@ -1177,7 +1177,7 @@ TownMap: ; ee01
Bicycle: ; ee08
callba Functiond0b3
callba BikeFunction
ret
; ee0f
@ -2209,7 +2209,7 @@ Functionf419: ; f419 (3:7419)
.asm_f440
push bc
ld hl, UnknownText_0xf44a
call Function1d67
call MenuTextBoxBackup
pop bc
jr Functionf419
; f44a (3:744a)
@ -2224,7 +2224,7 @@ UnknownText_0xf44a: ; 0xf44a
EscapeRope: ; f44f
xor a
ld [wd0ec], a
callba Functioncb95
callba EscapeRopeFunction
ld a, [wd0ec]
cp 1
@ -2492,7 +2492,7 @@ SuperRod: ; f5ad
; f5b1
Function_0xf5b1: ; f5b1
callba Functioncf8e
callba FishFunction
ret
; f5b8

View File

@ -292,7 +292,11 @@ fix_facing: macro
db movement_fix_facing ; $3b
endm
__enum__ = $3d
enum movement_return_dig
return_dig: macro
db movement_return_dig
db \1
endm
enum movement_hide_person
hide_person: macro
@ -351,7 +355,17 @@ step_wait5: macro
db movement_step_wait5 ; $4f
endm
__enum__ = $53
__enum__ = $51
enum movement_fish_got_bite
fish_got_bite: macro
db movement_fish_got_bite
endm
enum movement_fish_got_bite_2
fish_got_bite_2: macro
db movement_fish_got_bite_2
endm
enum movement_hide_emote
hide_emote: macro

View File

@ -2,3 +2,10 @@ trainerclass: MACRO
enum \1
const_value = 1
ENDM
trainer: MACRO
; flag, group, id, seen text, win text, lost text, talk-again text
dw \1
db \2, \3
dw \4, \5, \6, \7
ENDM

1786
main.asm

File diff suppressed because it is too large Load Diff

View File

@ -61,23 +61,7 @@ AzaleaGymTriggerRockets:
jumpstd radiotowerrockets
TrainerTwinsAmyandmay1:
; bit/flag number
dw EVENT_BEAT_TWINS_AMY_AND_MAY
; trainer group && trainer id
db TWINS, AMYANDMAY1
; text when seen
dw TwinsAmyandmay1SeenText
; text when trainer beaten
dw TwinsAmyandmay1BeatenText
; script when lost
dw $0000
; script when talk again
dw TwinsAmyandmay1Script
trainer EVENT_BEAT_TWINS_AMY_AND_MAY, TWINS, AMYANDMAY1, TwinsAmyandmay1SeenText, TwinsAmyandmay1BeatenText, $0000, TwinsAmyandmay1Script
TwinsAmyandmay1Script:
talkaftercancel
@ -88,23 +72,7 @@ TwinsAmyandmay1Script:
end
TrainerTwinsAmyandmay2:
; bit/flag number
dw EVENT_BEAT_TWINS_AMY_AND_MAY
; trainer group && trainer id
db TWINS, AMYANDMAY2
; text when seen
dw TwinsAmyandmay2SeenText
; text when trainer beaten
dw TwinsAmyandmay2BeatenText
; script when lost
dw $0000
; script when talk again
dw TwinsAmyandmay2Script
trainer EVENT_BEAT_TWINS_AMY_AND_MAY, TWINS, AMYANDMAY2, TwinsAmyandmay2SeenText, TwinsAmyandmay2BeatenText, $0000, TwinsAmyandmay2Script
TwinsAmyandmay2Script:
talkaftercancel
@ -115,23 +83,7 @@ TwinsAmyandmay2Script:
end
TrainerBug_catcherBug_catcher_benny:
; bit/flag number
dw EVENT_BEAT_BUG_CATCHER_BENNY
; trainer group && trainer id
db BUG_CATCHER, BUG_CATCHER_BENNY
; text when seen
dw Bug_catcherBug_catcher_bennySeenText
; text when trainer beaten
dw Bug_catcherBug_catcher_bennyBeatenText
; script when lost
dw $0000
; script when talk again
dw Bug_catcherBug_catcher_bennyScript
trainer EVENT_BEAT_BUG_CATCHER_BENNY, BUG_CATCHER, BUG_CATCHER_BENNY, Bug_catcherBug_catcher_bennySeenText, Bug_catcherBug_catcher_bennyBeatenText, $0000, Bug_catcherBug_catcher_bennyScript
Bug_catcherBug_catcher_bennyScript:
talkaftercancel
@ -142,23 +94,7 @@ Bug_catcherBug_catcher_bennyScript:
end
TrainerBug_catcherAl:
; bit/flag number
dw EVENT_BEAT_BUG_CATCHER_AL
; trainer group && trainer id
db BUG_CATCHER, AL
; text when seen
dw Bug_catcherAlSeenText
; text when trainer beaten
dw Bug_catcherAlBeatenText
; script when lost
dw $0000
; script when talk again
dw Bug_catcherAlScript
trainer EVENT_BEAT_BUG_CATCHER_AL, BUG_CATCHER, AL, Bug_catcherAlSeenText, Bug_catcherAlBeatenText, $0000, Bug_catcherAlScript
Bug_catcherAlScript:
talkaftercancel
@ -169,23 +105,7 @@ Bug_catcherAlScript:
end
TrainerBug_catcherJosh:
; bit/flag number
dw EVENT_BEAT_BUG_CATCHER_JOSH
; trainer group && trainer id
db BUG_CATCHER, JOSH
; text when seen
dw Bug_catcherJoshSeenText
; text when trainer beaten
dw Bug_catcherJoshBeatenText
; script when lost
dw $0000
; script when talk again
dw Bug_catcherJoshScript
trainer EVENT_BEAT_BUG_CATCHER_JOSH, BUG_CATCHER, JOSH, Bug_catcherJoshSeenText, Bug_catcherJoshBeatenText, $0000, Bug_catcherJoshScript
Bug_catcherJoshScript:
talkaftercancel

View File

@ -87,23 +87,7 @@ UnknownScript_0x194e94:
end
TrainerCooltrainermPaul:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERM_PAUL
; trainer group && trainer id
db COOLTRAINERM, PAUL
; text when seen
dw CooltrainermPaulSeenText
; text when trainer beaten
dw CooltrainermPaulBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainermPaulScript
trainer EVENT_BEAT_COOLTRAINERM_PAUL, COOLTRAINERM, PAUL, CooltrainermPaulSeenText, CooltrainermPaulBeatenText, $0000, CooltrainermPaulScript
CooltrainermPaulScript:
talkaftercancel
@ -114,23 +98,7 @@ CooltrainermPaulScript:
end
TrainerCooltrainermMike:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERM_MIKE
; trainer group && trainer id
db COOLTRAINERM, MIKE
; text when seen
dw CooltrainermMikeSeenText
; text when trainer beaten
dw CooltrainermMikeBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainermMikeScript
trainer EVENT_BEAT_COOLTRAINERM_MIKE, COOLTRAINERM, MIKE, CooltrainermMikeSeenText, CooltrainermMikeBeatenText, $0000, CooltrainermMikeScript
CooltrainermMikeScript:
talkaftercancel
@ -141,23 +109,7 @@ CooltrainermMikeScript:
end
TrainerCooltrainerfLola:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERF_LOLA
; trainer group && trainer id
db COOLTRAINERF, LOLA
; text when seen
dw CooltrainerfLolaSeenText
; text when trainer beaten
dw CooltrainerfLolaBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfLolaScript
trainer EVENT_BEAT_COOLTRAINERF_LOLA, COOLTRAINERF, LOLA, CooltrainerfLolaSeenText, CooltrainerfLolaBeatenText, $0000, CooltrainerfLolaScript
CooltrainerfLolaScript:
talkaftercancel

View File

@ -59,23 +59,7 @@ BlackthornGymBoulder:
jumpstd strengthboulder
TrainerCooltrainermCody:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERM_CODY
; trainer group && trainer id
db COOLTRAINERM, CODY
; text when seen
dw CooltrainermCodySeenText
; text when trainer beaten
dw CooltrainermCodyBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainermCodyScript
trainer EVENT_BEAT_COOLTRAINERM_CODY, COOLTRAINERM, CODY, CooltrainermCodySeenText, CooltrainermCodyBeatenText, $0000, CooltrainermCodyScript
CooltrainermCodyScript:
talkaftercancel
@ -86,23 +70,7 @@ CooltrainermCodyScript:
end
TrainerCooltrainerfFran:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERF_FRAN
; trainer group && trainer id
db COOLTRAINERF, FRAN
; text when seen
dw CooltrainerfFranSeenText
; text when trainer beaten
dw CooltrainerfFranBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfFranScript
trainer EVENT_BEAT_COOLTRAINERF_FRAN, COOLTRAINERF, FRAN, CooltrainerfFranSeenText, CooltrainerfFranBeatenText, $0000, CooltrainerfFranScript
CooltrainerfFranScript:
talkaftercancel

View File

@ -42,23 +42,7 @@ UnknownScript_0x72aae:
end
TrainerLassMichelle:
; bit/flag number
dw EVENT_BEAT_LASS_MICHELLE
; trainer group && trainer id
db LASS, MICHELLE
; text when seen
dw LassMichelleSeenText
; text when trainer beaten
dw LassMichelleBeatenText
; script when lost
dw $0000
; script when talk again
dw LassMichelleScript
trainer EVENT_BEAT_LASS_MICHELLE, LASS, MICHELLE, LassMichelleSeenText, LassMichelleBeatenText, $0000, LassMichelleScript
LassMichelleScript:
talkaftercancel
@ -69,23 +53,7 @@ LassMichelleScript:
end
TrainerPicnickerTanya:
; bit/flag number
dw EVENT_BEAT_PICNICKER_TANYA
; trainer group && trainer id
db PICNICKER, TANYA
; text when seen
dw PicnickerTanyaSeenText
; text when trainer beaten
dw PicnickerTanyaBeatenText
; script when lost
dw $0000
; script when talk again
dw PicnickerTanyaScript
trainer EVENT_BEAT_PICNICKER_TANYA, PICNICKER, TANYA, PicnickerTanyaSeenText, PicnickerTanyaBeatenText, $0000, PicnickerTanyaScript
PicnickerTanyaScript:
talkaftercancel
@ -96,23 +64,7 @@ PicnickerTanyaScript:
end
TrainerBeautyJulia:
; bit/flag number
dw EVENT_BEAT_BEAUTY_JULIA
; trainer group && trainer id
db BEAUTY, JULIA
; text when seen
dw BeautyJuliaSeenText
; text when trainer beaten
dw BeautyJuliaBeatenText
; script when lost
dw $0000
; script when talk again
dw BeautyJuliaScript
trainer EVENT_BEAT_BEAUTY_JULIA, BEAUTY, JULIA, BeautyJuliaSeenText, BeautyJuliaBeatenText, $0000, BeautyJuliaScript
BeautyJuliaScript:
talkaftercancel
@ -123,23 +75,7 @@ BeautyJuliaScript:
end
TrainerTwinsJoandzoe1:
; bit/flag number
dw EVENT_BEAT_TWINS_JO_AND_ZOE
; trainer group && trainer id
db TWINS, JOANDZOE1
; text when seen
dw TwinsJoandzoe1SeenText
; text when trainer beaten
dw TwinsJoandzoe1BeatenText
; script when lost
dw $0000
; script when talk again
dw TwinsJoandzoe1Script
trainer EVENT_BEAT_TWINS_JO_AND_ZOE, TWINS, JOANDZOE1, TwinsJoandzoe1SeenText, TwinsJoandzoe1BeatenText, $0000, TwinsJoandzoe1Script
TwinsJoandzoe1Script:
talkaftercancel
@ -150,23 +86,7 @@ TwinsJoandzoe1Script:
end
TrainerTwinsJoandzoe2:
; bit/flag number
dw EVENT_BEAT_TWINS_JO_AND_ZOE
; trainer group && trainer id
db TWINS, JOANDZOE2
; text when seen
dw TwinsJoandzoe2SeenText
; text when trainer beaten
dw TwinsJoandzoe2BeatenText
; script when lost
dw $0000
; script when talk again
dw TwinsJoandzoe2Script
trainer EVENT_BEAT_TWINS_JO_AND_ZOE, TWINS, JOANDZOE2, TwinsJoandzoe2SeenText, TwinsJoandzoe2BeatenText, $0000, TwinsJoandzoe2Script
TwinsJoandzoe2Script:
talkaftercancel

View File

@ -80,23 +80,7 @@ MistyScript_0x188432:
end
TrainerSwimmerfDiana:
; bit/flag number
dw EVENT_BEAT_SWIMMERF_DIANA
; trainer group && trainer id
db SWIMMERF, DIANA
; text when seen
dw SwimmerfDianaSeenText
; text when trainer beaten
dw SwimmerfDianaBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfDianaScript
trainer EVENT_BEAT_SWIMMERF_DIANA, SWIMMERF, DIANA, SwimmerfDianaSeenText, SwimmerfDianaBeatenText, $0000, SwimmerfDianaScript
SwimmerfDianaScript:
talkaftercancel
@ -107,23 +91,7 @@ SwimmerfDianaScript:
end
TrainerSwimmerfBriana:
; bit/flag number
dw EVENT_BEAT_SWIMMERF_BRIANA
; trainer group && trainer id
db SWIMMERF, BRIANA
; text when seen
dw SwimmerfBrianaSeenText
; text when trainer beaten
dw SwimmerfBrianaBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfBrianaScript
trainer EVENT_BEAT_SWIMMERF_BRIANA, SWIMMERF, BRIANA, SwimmerfBrianaSeenText, SwimmerfBrianaBeatenText, $0000, SwimmerfBrianaScript
SwimmerfBrianaScript:
talkaftercancel
@ -134,23 +102,7 @@ SwimmerfBrianaScript:
end
TrainerSwimmermParker:
; bit/flag number
dw EVENT_BEAT_SWIMMERM_PARKER
; trainer group && trainer id
db SWIMMERM, PARKER
; text when seen
dw SwimmermParkerSeenText
; text when trainer beaten
dw SwimmermParkerBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmermParkerScript
trainer EVENT_BEAT_SWIMMERM_PARKER, SWIMMERM, PARKER, SwimmermParkerSeenText, SwimmermParkerBeatenText, $0000, SwimmermParkerScript
SwimmermParkerScript:
talkaftercancel

View File

@ -76,23 +76,7 @@ CianwoodGymTriggerRockets:
jumpstd radiotowerrockets
TrainerBlackbeltYoshi:
; bit/flag number
dw EVENT_BEAT_BLACKBELT_YOSHI
; trainer group && trainer id
db BLACKBELT_T, YOSHI
; text when seen
dw BlackbeltYoshiSeenText
; text when trainer beaten
dw BlackbeltYoshiBeatenText
; script when lost
dw $0000
; script when talk again
dw BlackbeltYoshiScript
trainer EVENT_BEAT_BLACKBELT_YOSHI, BLACKBELT_T, YOSHI, BlackbeltYoshiSeenText, BlackbeltYoshiBeatenText, $0000, BlackbeltYoshiScript
BlackbeltYoshiScript:
talkaftercancel
@ -103,23 +87,7 @@ BlackbeltYoshiScript:
end
TrainerBlackbeltLao:
; bit/flag number
dw EVENT_BEAT_BLACKBELT_LAO
; trainer group && trainer id
db BLACKBELT_T, LAO
; text when seen
dw BlackbeltLaoSeenText
; text when trainer beaten
dw BlackbeltLaoBeatenText
; script when lost
dw $0000
; script when talk again
dw BlackbeltLaoScript
trainer EVENT_BEAT_BLACKBELT_LAO, BLACKBELT_T, LAO, BlackbeltLaoSeenText, BlackbeltLaoBeatenText, $0000, BlackbeltLaoScript
BlackbeltLaoScript:
talkaftercancel
@ -130,23 +98,7 @@ BlackbeltLaoScript:
end
TrainerBlackbeltNob:
; bit/flag number
dw EVENT_BEAT_BLACKBELT_NOB
; trainer group && trainer id
db BLACKBELT_T, NOB
; text when seen
dw BlackbeltNobSeenText
; text when trainer beaten
dw BlackbeltNobBeatenText
; script when lost
dw $0000
; script when talk again
dw BlackbeltNobScript
trainer EVENT_BEAT_BLACKBELT_NOB, BLACKBELT_T, NOB, BlackbeltNobSeenText, BlackbeltNobBeatenText, $0000, BlackbeltNobScript
BlackbeltNobScript:
talkaftercancel
@ -157,23 +109,7 @@ BlackbeltNobScript:
end
TrainerBlackbeltLung:
; bit/flag number
dw EVENT_BEAT_BLACKBELT_LUNG
; trainer group && trainer id
db BLACKBELT_T, LUNG
; text when seen
dw BlackbeltLungSeenText
; text when trainer beaten
dw BlackbeltLungBeatenText
; script when lost
dw $0000
; script when talk again
dw BlackbeltLungScript
trainer EVENT_BEAT_BLACKBELT_LUNG, BLACKBELT_T, LUNG, BlackbeltLungSeenText, BlackbeltLungBeatenText, $0000, BlackbeltLungScript
BlackbeltLungScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ DanceTheatre_MapScriptHeader:
db 0
TrainerKimono_girlNaoko2:
; bit/flag number
dw EVENT_BEAT_KIMONO_GIRL_NAOKO
; trainer group && trainer id
db KIMONO_GIRL, NAOKO2
; text when seen
dw Kimono_girlNaoko2SeenText
; text when trainer beaten
dw Kimono_girlNaoko2BeatenText
; script when lost
dw $0000
; script when talk again
dw Kimono_girlNaoko2Script
trainer EVENT_BEAT_KIMONO_GIRL_NAOKO, KIMONO_GIRL, NAOKO2, Kimono_girlNaoko2SeenText, Kimono_girlNaoko2BeatenText, $0000, Kimono_girlNaoko2Script
Kimono_girlNaoko2Script:
talkaftercancel
@ -33,23 +17,7 @@ Kimono_girlNaoko2Script:
end
TrainerKimono_girlSayo:
; bit/flag number
dw EVENT_BEAT_KIMONO_GIRL_SAYO
; trainer group && trainer id
db KIMONO_GIRL, SAYO
; text when seen
dw Kimono_girlSayoSeenText
; text when trainer beaten
dw Kimono_girlSayoBeatenText
; script when lost
dw $0000
; script when talk again
dw Kimono_girlSayoScript
trainer EVENT_BEAT_KIMONO_GIRL_SAYO, KIMONO_GIRL, SAYO, Kimono_girlSayoSeenText, Kimono_girlSayoBeatenText, $0000, Kimono_girlSayoScript
Kimono_girlSayoScript:
talkaftercancel
@ -60,23 +28,7 @@ Kimono_girlSayoScript:
end
TrainerKimono_girlZuki:
; bit/flag number
dw EVENT_BEAT_KIMONO_GIRL_ZUKI
; trainer group && trainer id
db KIMONO_GIRL, ZUKI
; text when seen
dw Kimono_girlZukiSeenText
; text when trainer beaten
dw Kimono_girlZukiBeatenText
; script when lost
dw $0000
; script when talk again
dw Kimono_girlZukiScript
trainer EVENT_BEAT_KIMONO_GIRL_ZUKI, KIMONO_GIRL, ZUKI, Kimono_girlZukiSeenText, Kimono_girlZukiBeatenText, $0000, Kimono_girlZukiScript
Kimono_girlZukiScript:
talkaftercancel
@ -87,23 +39,7 @@ Kimono_girlZukiScript:
end
TrainerKimono_girlKuni:
; bit/flag number
dw EVENT_BEAT_KIMONO_GIRL_KUNI
; trainer group && trainer id
db KIMONO_GIRL, KUNI
; text when seen
dw Kimono_girlKuniSeenText
; text when trainer beaten
dw Kimono_girlKuniBeatenText
; script when lost
dw $0000
; script when talk again
dw Kimono_girlKuniScript
trainer EVENT_BEAT_KIMONO_GIRL_KUNI, KIMONO_GIRL, KUNI, Kimono_girlKuniSeenText, Kimono_girlKuniBeatenText, $0000, Kimono_girlKuniScript
Kimono_girlKuniScript:
talkaftercancel
@ -114,23 +50,7 @@ Kimono_girlKuniScript:
end
TrainerKimono_girlMiki:
; bit/flag number
dw EVENT_BEAT_KIMONO_GIRL_MIKI
; trainer group && trainer id
db KIMONO_GIRL, MIKI
; text when seen
dw Kimono_girlMikiSeenText
; text when trainer beaten
dw Kimono_girlMikiBeatenText
; script when lost
dw $0000
; script when talk again
dw Kimono_girlMikiScript
trainer EVENT_BEAT_KIMONO_GIRL_MIKI, KIMONO_GIRL, MIKI, Kimono_girlMikiSeenText, Kimono_girlMikiBeatenText, $0000, Kimono_girlMikiScript
Kimono_girlMikiScript:
talkaftercancel

View File

@ -78,23 +78,7 @@ UnknownScript_0x18c8f9:
end
TrainerCooltrainermDarin:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERM_DARIN
; trainer group && trainer id
db COOLTRAINERM, DARIN
; text when seen
dw CooltrainermDarinSeenText
; text when trainer beaten
dw CooltrainermDarinBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainermDarinScript
trainer EVENT_BEAT_COOLTRAINERM_DARIN, COOLTRAINERM, DARIN, CooltrainermDarinSeenText, CooltrainermDarinBeatenText, $0000, CooltrainermDarinScript
CooltrainermDarinScript:
talkaftercancel
@ -105,23 +89,7 @@ CooltrainermDarinScript:
end
TrainerCooltrainerfCara:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERF_CARA
; trainer group && trainer id
db COOLTRAINERF, CARA
; text when seen
dw CooltrainerfCaraSeenText
; text when trainer beaten
dw CooltrainerfCaraBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfCaraScript
trainer EVENT_BEAT_COOLTRAINERF_CARA, COOLTRAINERF, CARA, CooltrainerfCaraSeenText, CooltrainerfCaraBeatenText, $0000, CooltrainerfCaraScript
CooltrainerfCaraScript:
talkaftercancel
@ -132,23 +100,7 @@ CooltrainerfCaraScript:
end
TrainerTwinsLeaandpia1:
; bit/flag number
dw EVENT_BEAT_TWINS_LEA_AND_PIA
; trainer group && trainer id
db TWINS, LEAANDPIA1
; text when seen
dw TwinsLeaandpia1SeenText
; text when trainer beaten
dw TwinsLeaandpia1BeatenText
; script when lost
dw $0000
; script when talk again
dw TwinsLeaandpia1Script
trainer EVENT_BEAT_TWINS_LEA_AND_PIA, TWINS, LEAANDPIA1, TwinsLeaandpia1SeenText, TwinsLeaandpia1BeatenText, $0000, TwinsLeaandpia1Script
TwinsLeaandpia1Script:
talkaftercancel
@ -159,23 +111,7 @@ TwinsLeaandpia1Script:
end
TrainerTwinsLeaandpia2:
; bit/flag number
dw EVENT_BEAT_TWINS_LEA_AND_PIA
; trainer group && trainer id
db TWINS, LEAANDPIA1
; text when seen
dw TwinsLeaandpia2SeenText
; text when trainer beaten
dw TwinsLeaandpia2BeatenText
; script when lost
dw $0000
; script when talk again
dw TwinsLeaandpia2Script
trainer EVENT_BEAT_TWINS_LEA_AND_PIA, TWINS, LEAANDPIA1, TwinsLeaandpia2SeenText, TwinsLeaandpia2BeatenText, $0000, TwinsLeaandpia2Script
TwinsLeaandpia2Script:
talkaftercancel

View File

@ -91,23 +91,7 @@ UnknownScript_0x99dc6:
end
TrainerSageJeffrey:
; bit/flag number
dw EVENT_BEAT_SAGE_JEFFREY
; trainer group && trainer id
db SAGE, JEFFREY
; text when seen
dw SageJeffreySeenText
; text when trainer beaten
dw SageJeffreyBeatenText
; script when lost
dw $0000
; script when talk again
dw SageJeffreyScript
trainer EVENT_BEAT_SAGE_JEFFREY, SAGE, JEFFREY, SageJeffreySeenText, SageJeffreyBeatenText, $0000, SageJeffreyScript
SageJeffreyScript:
talkaftercancel
@ -118,23 +102,7 @@ SageJeffreyScript:
end
TrainerSagePing:
; bit/flag number
dw EVENT_BEAT_SAGE_PING
; trainer group && trainer id
db SAGE, PING
; text when seen
dw SagePingSeenText
; text when trainer beaten
dw SagePingBeatenText
; script when lost
dw $0000
; script when talk again
dw SagePingScript
trainer EVENT_BEAT_SAGE_PING, SAGE, PING, SagePingSeenText, SagePingBeatenText, $0000, SagePingScript
SagePingScript:
talkaftercancel
@ -145,23 +113,7 @@ SagePingScript:
end
TrainerMediumMartha:
; bit/flag number
dw EVENT_BEAT_MEDIUM_MARTHA
; trainer group && trainer id
db MEDIUM, MARTHA
; text when seen
dw MediumMarthaSeenText
; text when trainer beaten
dw MediumMarthaBeatenText
; script when lost
dw $0000
; script when talk again
dw MediumMarthaScript
trainer EVENT_BEAT_MEDIUM_MARTHA, MEDIUM, MARTHA, MediumMarthaSeenText, MediumMarthaBeatenText, $0000, MediumMarthaScript
MediumMarthaScript:
talkaftercancel
@ -172,23 +124,7 @@ MediumMarthaScript:
end
TrainerMediumGrace:
; bit/flag number
dw EVENT_BEAT_MEDIUM_GRACE
; trainer group && trainer id
db MEDIUM, GRACE
; text when seen
dw MediumGraceSeenText
; text when trainer beaten
dw MediumGraceBeatenText
; script when lost
dw $0000
; script when talk again
dw MediumGraceScript
trainer EVENT_BEAT_MEDIUM_GRACE, MEDIUM, GRACE, MediumGraceSeenText, MediumGraceBeatenText, $0000, MediumGraceScript
MediumGraceScript:
talkaftercancel

View File

@ -252,7 +252,7 @@ ElmDirectionsScript:
writetext ElmDirectionsText1
closetext
loadmovesprites
addcellnum $4
addcellnum PHONE_ELM
loadfont
writetext GotElmsNumberText
playsound SFX_REGISTER_PHONE_NUMBER

View File

@ -82,23 +82,7 @@ UnknownScript_0x767a0:
end
TrainerSailorJeff:
; bit/flag number
dw EVENT_BEAT_SAILOR_JEFF
; trainer group && trainer id
db SAILOR, JEFF
; text when seen
dw SailorJeffSeenText
; text when trainer beaten
dw SailorJeffBeatenText
; script when lost
dw $0000
; script when talk again
dw SailorJeffScript
trainer EVENT_BEAT_SAILOR_JEFF, SAILOR, JEFF, SailorJeffSeenText, SailorJeffBeatenText, $0000, SailorJeffScript
SailorJeffScript:
talkaftercancel
@ -109,23 +93,7 @@ SailorJeffScript:
end
TrainerPicnickerDebra:
; bit/flag number
dw EVENT_BEAT_PICNICKER_DEBRA
; trainer group && trainer id
db PICNICKER, DEBRA
; text when seen
dw PicnickerDebraSeenText
; text when trainer beaten
dw PicnickerDebraBeatenText
; script when lost
dw $0000
; script when talk again
dw PicnickerDebraScript
trainer EVENT_BEAT_PICNICKER_DEBRA, PICNICKER, DEBRA, PicnickerDebraSeenText, PicnickerDebraBeatenText, $0000, PicnickerDebraScript
PicnickerDebraScript:
talkaftercancel
@ -136,23 +104,7 @@ PicnickerDebraScript:
end
TrainerJugglerFritz:
; bit/flag number
dw EVENT_BEAT_JUGGLER_FRITZ
; trainer group && trainer id
db JUGGLER, FRITZ
; text when seen
dw JugglerFritzSeenText
; text when trainer beaten
dw JugglerFritzBeatenText
; script when lost
dw $0000
; script when talk again
dw JugglerFritzScript
trainer EVENT_BEAT_JUGGLER_FRITZ, JUGGLER, FRITZ, JugglerFritzSeenText, JugglerFritzBeatenText, $0000, JugglerFritzScript
JugglerFritzScript:
talkaftercancel
@ -163,23 +115,7 @@ JugglerFritzScript:
end
TrainerSailorGarrett:
; bit/flag number
dw EVENT_BEAT_SAILOR_GARRETT
; trainer group && trainer id
db SAILOR, GARRETT
; text when seen
dw SailorGarrettSeenText
; text when trainer beaten
dw SailorGarrettBeatenText
; script when lost
dw $0000
; script when talk again
dw SailorGarrettScript
trainer EVENT_BEAT_SAILOR_GARRETT, SAILOR, GARRETT, SailorGarrettSeenText, SailorGarrettBeatenText, $0000, SailorGarrettScript
SailorGarrettScript:
talkaftercancel
@ -190,23 +126,7 @@ SailorGarrettScript:
end
TrainerFisherJonah:
; bit/flag number
dw EVENT_BEAT_FISHER_JONAH
; trainer group && trainer id
db FISHER, JONAH
; text when seen
dw FisherJonahSeenText
; text when trainer beaten
dw FisherJonahBeatenText
; script when lost
dw $0000
; script when talk again
dw FisherJonahScript
trainer EVENT_BEAT_FISHER_JONAH, FISHER, JONAH, FisherJonahSeenText, FisherJonahBeatenText, $0000, FisherJonahScript
FisherJonahScript:
talkaftercancel
@ -217,23 +137,7 @@ FisherJonahScript:
end
TrainerBlackbeltWai:
; bit/flag number
dw EVENT_BEAT_BLACKBELT_WAI
; trainer group && trainer id
db BLACKBELT_T, WAI
; text when seen
dw BlackbeltWaiSeenText
; text when trainer beaten
dw BlackbeltWaiBeatenText
; script when lost
dw $0000
; script when talk again
dw BlackbeltWaiScript
trainer EVENT_BEAT_BLACKBELT_WAI, BLACKBELT_T, WAI, BlackbeltWaiSeenText, BlackbeltWaiBeatenText, $0000, BlackbeltWaiScript
BlackbeltWaiScript:
talkaftercancel
@ -244,23 +148,7 @@ BlackbeltWaiScript:
end
TrainerSailorKenneth:
; bit/flag number
dw EVENT_BEAT_SAILOR_KENNETH
; trainer group && trainer id
db SAILOR, KENNETH
; text when seen
dw SailorKennethSeenText
; text when trainer beaten
dw SailorKennethBeatenText
; script when lost
dw $0000
; script when talk again
dw SailorKennethScript
trainer EVENT_BEAT_SAILOR_KENNETH, SAILOR, KENNETH, SailorKennethSeenText, SailorKennethBeatenText, $0000, SailorKennethScript
SailorKennethScript:
talkaftercancel
@ -271,23 +159,7 @@ SailorKennethScript:
end
TrainerTeacherShirley:
; bit/flag number
dw EVENT_BEAT_TEACHER_SHIRLEY
; trainer group && trainer id
db TEACHER, SHIRLEY
; text when seen
dw TeacherShirleySeenText
; text when trainer beaten
dw TeacherShirleyBeatenText
; script when lost
dw $0000
; script when talk again
dw TeacherShirleyScript
trainer EVENT_BEAT_TEACHER_SHIRLEY, TEACHER, SHIRLEY, TeacherShirleySeenText, TeacherShirleyBeatenText, $0000, TeacherShirleyScript
TeacherShirleyScript:
talkaftercancel
@ -298,23 +170,7 @@ TeacherShirleyScript:
end
TrainerSchoolboyNate:
; bit/flag number
dw EVENT_BEAT_SCHOOLBOY_NATE
; trainer group && trainer id
db SCHOOLBOY, NATE
; text when seen
dw SchoolboyNateSeenText
; text when trainer beaten
dw SchoolboyNateBeatenText
; script when lost
dw $0000
; script when talk again
dw SchoolboyNateScript
trainer EVENT_BEAT_SCHOOLBOY_NATE, SCHOOLBOY, NATE, SchoolboyNateSeenText, SchoolboyNateBeatenText, $0000, SchoolboyNateScript
SchoolboyNateScript:
talkaftercancel
@ -325,23 +181,7 @@ SchoolboyNateScript:
end
TrainerSchoolboyRicky:
; bit/flag number
dw EVENT_BEAT_SCHOOLBOY_RICKY
; trainer group && trainer id
db SCHOOLBOY, RICKY
; text when seen
dw SchoolboyRickySeenText
; text when trainer beaten
dw SchoolboyRickyBeatenText
; script when lost
dw $0000
; script when talk again
dw SchoolboyRickyScript
trainer EVENT_BEAT_SCHOOLBOY_RICKY, SCHOOLBOY, RICKY, SchoolboyRickySeenText, SchoolboyRickyBeatenText, $0000, SchoolboyRickyScript
SchoolboyRickyScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ FastShipCabins_NNW_NNE_NE_MapScriptHeader:
db 0
TrainerCooltrainermSean:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERM_SEAN
; trainer group && trainer id
db COOLTRAINERM, SEAN
; text when seen
dw CooltrainermSeanSeenText
; text when trainer beaten
dw CooltrainermSeanBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainermSeanScript
trainer EVENT_BEAT_COOLTRAINERM_SEAN, COOLTRAINERM, SEAN, CooltrainermSeanSeenText, CooltrainermSeanBeatenText, $0000, CooltrainermSeanScript
CooltrainermSeanScript:
talkaftercancel
@ -33,23 +17,7 @@ CooltrainermSeanScript:
end
TrainerCooltrainerfCarol:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERF_CAROL
; trainer group && trainer id
db COOLTRAINERF, CAROL
; text when seen
dw CooltrainerfCarolSeenText
; text when trainer beaten
dw CooltrainerfCarolBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfCarolScript
trainer EVENT_BEAT_COOLTRAINERF_CAROL, COOLTRAINERF, CAROL, CooltrainerfCarolSeenText, CooltrainerfCarolBeatenText, $0000, CooltrainerfCarolScript
CooltrainerfCarolScript:
talkaftercancel
@ -60,23 +28,7 @@ CooltrainerfCarolScript:
end
TrainerPokemaniacEthan:
; bit/flag number
dw EVENT_BEAT_POKEMANIAC_ETHAN
; trainer group && trainer id
db POKEMANIAC, ETHAN
; text when seen
dw PokemaniacEthanSeenText
; text when trainer beaten
dw PokemaniacEthanBeatenText
; script when lost
dw $0000
; script when talk again
dw PokemaniacEthanScript
trainer EVENT_BEAT_POKEMANIAC_ETHAN, POKEMANIAC, ETHAN, PokemaniacEthanSeenText, PokemaniacEthanBeatenText, $0000, PokemaniacEthanScript
PokemaniacEthanScript:
talkaftercancel
@ -87,23 +39,7 @@ PokemaniacEthanScript:
end
TrainerHikerNoland:
; bit/flag number
dw EVENT_BEAT_HIKER_NOLAND
; trainer group && trainer id
db HIKER, NOLAND
; text when seen
dw HikerNolandSeenText
; text when trainer beaten
dw HikerNolandBeatenText
; script when lost
dw $0000
; script when talk again
dw HikerNolandScript
trainer EVENT_BEAT_HIKER_NOLAND, HIKER, NOLAND, HikerNolandSeenText, HikerNolandBeatenText, $0000, HikerNolandScript
HikerNolandScript:
talkaftercancel
@ -114,23 +50,7 @@ HikerNolandScript:
end
TrainerGentlemanEdward:
; bit/flag number
dw EVENT_BEAT_GENTLEMAN_EDWARD
; trainer group && trainer id
db GENTLEMAN, EDWARD
; text when seen
dw GentlemanEdwardSeenText
; text when trainer beaten
dw GentlemanEdwardBeatenText
; script when lost
dw $0000
; script when talk again
dw GentlemanEdwardScript
trainer EVENT_BEAT_GENTLEMAN_EDWARD, GENTLEMAN, EDWARD, GentlemanEdwardSeenText, GentlemanEdwardBeatenText, $0000, GentlemanEdwardScript
GentlemanEdwardScript:
talkaftercancel
@ -141,23 +61,7 @@ GentlemanEdwardScript:
end
TrainerBurglarCorey:
; bit/flag number
dw EVENT_BEAT_BURGLAR_COREY
; trainer group && trainer id
db BURGLAR, COREY
; text when seen
dw BurglarCoreySeenText
; text when trainer beaten
dw BurglarCoreyBeatenText
; script when lost
dw $0000
; script when talk again
dw BurglarCoreyScript
trainer EVENT_BEAT_BURGLAR_COREY, BURGLAR, COREY, BurglarCoreySeenText, BurglarCoreyBeatenText, $0000, BurglarCoreyScript
BurglarCoreyScript:
talkaftercancel

View File

@ -128,23 +128,7 @@ TwinScript_0x75f6d:
end
TrainerPokefanmColin:
; bit/flag number
dw EVENT_BEAT_POKEFANM_COLIN
; trainer group && trainer id
db POKEFANM, COLIN
; text when seen
dw PokefanmColinSeenText
; text when trainer beaten
dw PokefanmColinBeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanmColinScript
trainer EVENT_BEAT_POKEFANM_COLIN, POKEFANM, COLIN, PokefanmColinSeenText, PokefanmColinBeatenText, $0000, PokefanmColinScript
PokefanmColinScript:
talkaftercancel
@ -155,23 +139,7 @@ PokefanmColinScript:
end
TrainerTwinsMegandpeg1:
; bit/flag number
dw EVENT_BEAT_TWINS_MEG_AND_PEG
; trainer group && trainer id
db TWINS, MEGANDPEG1
; text when seen
dw TwinsMegandpeg1SeenText
; text when trainer beaten
dw TwinsMegandpeg1BeatenText
; script when lost
dw $0000
; script when talk again
dw TwinsMegandpeg1Script
trainer EVENT_BEAT_TWINS_MEG_AND_PEG, TWINS, MEGANDPEG1, TwinsMegandpeg1SeenText, TwinsMegandpeg1BeatenText, $0000, TwinsMegandpeg1Script
TwinsMegandpeg1Script:
talkaftercancel
@ -182,23 +150,7 @@ TwinsMegandpeg1Script:
end
TrainerTwinsMegandpeg2:
; bit/flag number
dw EVENT_BEAT_TWINS_MEG_AND_PEG
; trainer group && trainer id
db TWINS, MEGANDPEG2
; text when seen
dw TwinsMegandpeg2SeenText
; text when trainer beaten
dw TwinsMegandpeg2BeatenText
; script when lost
dw $0000
; script when talk again
dw TwinsMegandpeg2Script
trainer EVENT_BEAT_TWINS_MEG_AND_PEG, TWINS, MEGANDPEG2, TwinsMegandpeg2SeenText, TwinsMegandpeg2BeatenText, $0000, TwinsMegandpeg2Script
TwinsMegandpeg2Script:
talkaftercancel
@ -209,23 +161,7 @@ TwinsMegandpeg2Script:
end
TrainerPsychicRodney:
; bit/flag number
dw EVENT_BEAT_PSYCHIC_RODNEY
; trainer group && trainer id
db PSYCHIC_T, RODNEY
; text when seen
dw PsychicRodneySeenText
; text when trainer beaten
dw PsychicRodneyBeatenText
; script when lost
dw $0000
; script when talk again
dw PsychicRodneyScript
trainer EVENT_BEAT_PSYCHIC_RODNEY, PSYCHIC_T, RODNEY, PsychicRodneySeenText, PsychicRodneyBeatenText, $0000, PsychicRodneyScript
PsychicRodneyScript:
talkaftercancel
@ -236,23 +172,7 @@ PsychicRodneyScript:
end
TrainerPokefanmJeremy:
; bit/flag number
dw EVENT_BEAT_POKEFANM_JEREMY
; trainer group && trainer id
db POKEFANM, JEREMY
; text when seen
dw PokefanmJeremySeenText
; text when trainer beaten
dw PokefanmJeremyBeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanmJeremyScript
trainer EVENT_BEAT_POKEFANM_JEREMY, POKEFANM, JEREMY, PokefanmJeremySeenText, PokefanmJeremyBeatenText, $0000, PokefanmJeremyScript
PokefanmJeremyScript:
talkaftercancel
@ -263,23 +183,7 @@ PokefanmJeremyScript:
end
TrainerPokefanfGeorgia:
; bit/flag number
dw EVENT_BEAT_POKEFANF_GEORGIA
; trainer group && trainer id
db POKEFANF, GEORGIA
; text when seen
dw PokefanfGeorgiaSeenText
; text when trainer beaten
dw PokefanfGeorgiaBeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanfGeorgiaScript
trainer EVENT_BEAT_POKEFANF_GEORGIA, POKEFANF, GEORGIA, PokefanfGeorgiaSeenText, PokefanfGeorgiaBeatenText, $0000, PokefanfGeorgiaScript
PokefanfGeorgiaScript:
talkaftercancel
@ -290,23 +194,7 @@ PokefanfGeorgiaScript:
end
TrainerSupernerdShawn:
; bit/flag number
dw EVENT_BEAT_SUPER_NERD_SHAWN
; trainer group && trainer id
db SUPER_NERD, SHAWN
; text when seen
dw SupernerdShawnSeenText
; text when trainer beaten
dw SupernerdShawnBeatenText
; script when lost
dw $0000
; script when talk again
dw SupernerdShawnScript
trainer EVENT_BEAT_SUPER_NERD_SHAWN, SUPER_NERD, SHAWN, SupernerdShawnSeenText, SupernerdShawnBeatenText, $0000, SupernerdShawnScript
SupernerdShawnScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ FastShipCabins_SW_SSW_NW_MapScriptHeader:
db 0
TrainerFirebreatherLyle:
; bit/flag number
dw EVENT_BEAT_FIREBREATHER_LYLE
; trainer group && trainer id
db FIREBREATHER, LYLE
; text when seen
dw FirebreatherLyleSeenText
; text when trainer beaten
dw FirebreatherLyleBeatenText
; script when lost
dw $0000
; script when talk again
dw FirebreatherLyleScript
trainer EVENT_BEAT_FIREBREATHER_LYLE, FIREBREATHER, LYLE, FirebreatherLyleSeenText, FirebreatherLyleBeatenText, $0000, FirebreatherLyleScript
FirebreatherLyleScript:
talkaftercancel
@ -33,23 +17,7 @@ FirebreatherLyleScript:
end
TrainerBug_catcherKen:
; bit/flag number
dw EVENT_BEAT_BUG_CATCHER_KEN
; trainer group && trainer id
db BUG_CATCHER, KEN
; text when seen
dw Bug_catcherKenSeenText
; text when trainer beaten
dw Bug_catcherKenBeatenText
; script when lost
dw $0000
; script when talk again
dw Bug_catcherKenScript
trainer EVENT_BEAT_BUG_CATCHER_KEN, BUG_CATCHER, KEN, Bug_catcherKenSeenText, Bug_catcherKenBeatenText, $0000, Bug_catcherKenScript
Bug_catcherKenScript:
talkaftercancel
@ -60,23 +28,7 @@ Bug_catcherKenScript:
end
TrainerBeautyCassie:
; bit/flag number
dw EVENT_BEAT_BEAUTY_CASSIE
; trainer group && trainer id
db BEAUTY, CASSIE
; text when seen
dw BeautyCassieSeenText
; text when trainer beaten
dw BeautyCassieBeatenText
; script when lost
dw $0000
; script when talk again
dw BeautyCassieScript
trainer EVENT_BEAT_BEAUTY_CASSIE, BEAUTY, CASSIE, BeautyCassieSeenText, BeautyCassieBeatenText, $0000, BeautyCassieScript
BeautyCassieScript:
talkaftercancel
@ -87,23 +39,7 @@ BeautyCassieScript:
end
TrainerGuitaristClyde:
; bit/flag number
dw EVENT_BEAT_GUITARIST_CLYDE
; trainer group && trainer id
db GUITARIST, CLYDE
; text when seen
dw GuitaristClydeSeenText
; text when trainer beaten
dw GuitaristClydeBeatenText
; script when lost
dw $0000
; script when talk again
dw GuitaristClydeScript
trainer EVENT_BEAT_GUITARIST_CLYDE, GUITARIST, CLYDE, GuitaristClydeSeenText, GuitaristClydeBeatenText, $0000, GuitaristClydeScript
GuitaristClydeScript:
talkaftercancel

View File

@ -65,14 +65,14 @@ UnknownScript_0x54c33:
BillsSister:
faceplayer
loadfont
checkcellnum $3
checkcellnum PHONE_BILL
iftrue UnknownScript_0x54c58
writetext UnknownText_0x54f9e
askforphonenumber $3
askforphonenumber PHONE_BILL
if_equal $1, UnknownScript_0x54c64
if_equal $2, UnknownScript_0x54c5e
waitbutton
addcellnum $3
addcellnum PHONE_BILL
writetext UnknownText_0x54fd9
playsound SFX_REGISTER_PHONE_NUMBER
waitbutton

View File

@ -87,23 +87,7 @@ GoldenrodGymTriggerRockets:
jumpstd radiotowerrockets
TrainerLassCarrie:
; bit/flag number
dw EVENT_BEAT_LASS_CARRIE
; trainer group && trainer id
db LASS, CARRIE
; text when seen
dw LassCarrieSeenText
; text when trainer beaten
dw LassCarrieBeatenText
; script when lost
dw $0000
; script when talk again
dw LassCarrieScript
trainer EVENT_BEAT_LASS_CARRIE, LASS, CARRIE, LassCarrieSeenText, LassCarrieBeatenText, $0000, LassCarrieScript
LassCarrieScript:
talkaftercancel
@ -127,23 +111,7 @@ WhitneyCriesScript:
end
TrainerLassBridget:
; bit/flag number
dw EVENT_BEAT_LASS_BRIDGET
; trainer group && trainer id
db LASS, BRIDGET
; text when seen
dw LassBridgetSeenText
; text when trainer beaten
dw LassBridgetBeatenText
; script when lost
dw $0000
; script when talk again
dw LassBridgetScript
trainer EVENT_BEAT_LASS_BRIDGET, LASS, BRIDGET, LassBridgetSeenText, LassBridgetBeatenText, $0000, LassBridgetScript
LassBridgetScript:
talkaftercancel
@ -154,23 +122,7 @@ LassBridgetScript:
end
TrainerBeautyVictoria:
; bit/flag number
dw EVENT_BEAT_BEAUTY_VICTORIA
; trainer group && trainer id
db BEAUTY, VICTORIA
; text when seen
dw BeautyVictoriaSeenText
; text when trainer beaten
dw BeautyVictoriaBeatenText
; script when lost
dw $0000
; script when talk again
dw BeautyVictoriaScript
trainer EVENT_BEAT_BEAUTY_VICTORIA, BEAUTY, VICTORIA, BeautyVictoriaSeenText, BeautyVictoriaBeatenText, $0000, BeautyVictoriaScript
BeautyVictoriaScript:
talkaftercancel
@ -181,23 +133,7 @@ BeautyVictoriaScript:
end
TrainerBeautySamantha:
; bit/flag number
dw EVENT_BEAT_BEAUTY_SAMANTHA
; trainer group && trainer id
db BEAUTY, SAMANTHA
; text when seen
dw BeautySamanthaSeenText
; text when trainer beaten
dw BeautySamanthaBeatenText
; script when lost
dw $0000
; script when talk again
dw BeautySamanthaScript
trainer EVENT_BEAT_BEAUTY_SAMANTHA, BEAUTY, SAMANTHA, BeautySamanthaSeenText, BeautySamanthaBeatenText, $0000, BeautySamanthaScript
BeautySamanthaScript:
talkaftercancel

View File

@ -376,23 +376,7 @@ UnknownScript_0x6edf7:
end
TrainerBug_catcherWayne:
; bit/flag number
dw EVENT_BEAT_BUG_CATCHER_WAYNE
; trainer group && trainer id
db BUG_CATCHER, WAYNE
; text when seen
dw Bug_catcherWayneSeenText
; text when trainer beaten
dw Bug_catcherWayneBeatenText
; script when lost
dw $0000
; script when talk again
dw Bug_catcherWayneScript
trainer EVENT_BEAT_BUG_CATCHER_WAYNE, BUG_CATCHER, WAYNE, Bug_catcherWayneSeenText, Bug_catcherWayneBeatenText, $0000, Bug_catcherWayneScript
Bug_catcherWayneScript:
talkaftercancel

View File

@ -15,7 +15,7 @@ UnknownScript_0x7abb3:
end
UnknownScript_0x7abb4:
special Function27043
special ToggleDecorationsVisibility
setevent EVENT_007
checkevent EVENT_036
iftrue UnknownScript_0x7abc4

View File

@ -137,23 +137,7 @@ UnknownScript_0x700b8:
end
TrainerFisherAndre:
; bit/flag number
dw EVENT_BEAT_FISHER_ANDRE
; trainer group && trainer id
db FISHER, ANDRE
; text when seen
dw FisherAndreSeenText
; text when trainer beaten
dw FisherAndreBeatenText
; script when lost
dw $0000
; script when talk again
dw FisherAndreScript
trainer EVENT_BEAT_FISHER_ANDRE, FISHER, ANDRE, FisherAndreSeenText, FisherAndreBeatenText, $0000, FisherAndreScript
FisherAndreScript:
talkaftercancel
@ -164,23 +148,7 @@ FisherAndreScript:
end
TrainerFisherRaymond:
; bit/flag number
dw EVENT_BEAT_FISHER_RAYMOND
; trainer group && trainer id
db FISHER, RAYMOND
; text when seen
dw FisherRaymondSeenText
; text when trainer beaten
dw FisherRaymondBeatenText
; script when lost
dw $0000
; script when talk again
dw FisherRaymondScript
trainer EVENT_BEAT_FISHER_RAYMOND, FISHER, RAYMOND, FisherRaymondSeenText, FisherRaymondBeatenText, $0000, FisherRaymondScript
FisherRaymondScript:
talkaftercancel
@ -191,23 +159,7 @@ FisherRaymondScript:
end
TrainerCooltrainermAaron:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERM_AARON
; trainer group && trainer id
db COOLTRAINERM, AARON
; text when seen
dw CooltrainermAaronSeenText
; text when trainer beaten
dw CooltrainermAaronBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainermAaronScript
trainer EVENT_BEAT_COOLTRAINERM_AARON, COOLTRAINERM, AARON, CooltrainermAaronSeenText, CooltrainermAaronBeatenText, $0000, CooltrainermAaronScript
CooltrainermAaronScript:
talkaftercancel
@ -218,23 +170,7 @@ CooltrainermAaronScript:
end
TrainerCooltrainerfLois:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERF_LOIS
; trainer group && trainer id
db COOLTRAINERF, LOIS
; text when seen
dw CooltrainerfLoisSeenText
; text when trainer beaten
dw CooltrainerfLoisBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfLoisScript
trainer EVENT_BEAT_COOLTRAINERF_LOIS, COOLTRAINERF, LOIS, CooltrainerfLoisSeenText, CooltrainerfLoisBeatenText, $0000, CooltrainerfLoisScript
CooltrainerfLoisScript:
talkaftercancel

View File

@ -62,23 +62,7 @@ MahoganyGymTriggerRockets:
jumpstd radiotowerrockets
TrainerSkierRoxanne:
; bit/flag number
dw EVENT_BEAT_SKIER_ROXANNE
; trainer group && trainer id
db SKIER, ROXANNE
; text when seen
dw SkierRoxanneSeenText
; text when trainer beaten
dw SkierRoxanneBeatenText
; script when lost
dw $0000
; script when talk again
dw SkierRoxanneScript
trainer EVENT_BEAT_SKIER_ROXANNE, SKIER, ROXANNE, SkierRoxanneSeenText, SkierRoxanneBeatenText, $0000, SkierRoxanneScript
SkierRoxanneScript:
talkaftercancel
@ -89,23 +73,7 @@ SkierRoxanneScript:
end
TrainerSkierClarissa:
; bit/flag number
dw EVENT_BEAT_SKIER_CLARISSA
; trainer group && trainer id
db SKIER, CLARISSA
; text when seen
dw SkierClarissaSeenText
; text when trainer beaten
dw SkierClarissaBeatenText
; script when lost
dw $0000
; script when talk again
dw SkierClarissaScript
trainer EVENT_BEAT_SKIER_CLARISSA, SKIER, CLARISSA, SkierClarissaSeenText, SkierClarissaBeatenText, $0000, SkierClarissaScript
SkierClarissaScript:
talkaftercancel
@ -116,23 +84,7 @@ SkierClarissaScript:
end
TrainerBoarderRonald:
; bit/flag number
dw EVENT_BEAT_BOARDER_RONALD
; trainer group && trainer id
db BOARDER, RONALD
; text when seen
dw BoarderRonaldSeenText
; text when trainer beaten
dw BoarderRonaldBeatenText
; script when lost
dw $0000
; script when talk again
dw BoarderRonaldScript
trainer EVENT_BEAT_BOARDER_RONALD, BOARDER, RONALD, BoarderRonaldSeenText, BoarderRonaldBeatenText, $0000, BoarderRonaldScript
BoarderRonaldScript:
talkaftercancel
@ -143,23 +95,7 @@ BoarderRonaldScript:
end
TrainerBoarderBrad:
; bit/flag number
dw EVENT_BEAT_BOARDER_BRAD
; trainer group && trainer id
db BOARDER, BRAD
; text when seen
dw BoarderBradSeenText
; text when trainer beaten
dw BoarderBradBeatenText
; script when lost
dw $0000
; script when talk again
dw BoarderBradScript
trainer EVENT_BEAT_BOARDER_BRAD, BOARDER, BRAD, BoarderBradSeenText, BoarderBradBeatenText, $0000, BoarderBradScript
BoarderBradScript:
talkaftercancel
@ -170,23 +106,7 @@ BoarderBradScript:
end
TrainerBoarderDouglas:
; bit/flag number
dw EVENT_BEAT_BOARDER_DOUGLAS
; trainer group && trainer id
db BOARDER, DOUGLAS
; text when seen
dw BoarderDouglasSeenText
; text when trainer beaten
dw BoarderDouglasBeatenText
; script when lost
dw $0000
; script when talk again
dw BoarderDouglasScript
trainer EVENT_BEAT_BOARDER_DOUGLAS, BOARDER, DOUGLAS, BoarderDouglasSeenText, BoarderDouglasBeatenText, $0000, BoarderDouglasScript
BoarderDouglasScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ MountMortar1FInside_MapScriptHeader:
db 0
TrainerPokemaniacMiller:
; bit/flag number
dw EVENT_BEAT_POKEMANIAC_MILLER
; trainer group && trainer id
db POKEMANIAC, MILLER
; text when seen
dw PokemaniacMillerSeenText
; text when trainer beaten
dw PokemaniacMillerBeatenText
; script when lost
dw $0000
; script when talk again
dw PokemaniacMillerScript
trainer EVENT_BEAT_POKEMANIAC_MILLER, POKEMANIAC, MILLER, PokemaniacMillerSeenText, PokemaniacMillerBeatenText, $0000, PokemaniacMillerScript
PokemaniacMillerScript:
talkaftercancel
@ -33,23 +17,7 @@ PokemaniacMillerScript:
end
TrainerSupernerdMarkus:
; bit/flag number
dw EVENT_BEAT_SUPER_NERD_MARKUS
; trainer group && trainer id
db SUPER_NERD, MARKUS
; text when seen
dw SupernerdMarkusSeenText
; text when trainer beaten
dw SupernerdMarkusBeatenText
; script when lost
dw $0000
; script when talk again
dw SupernerdMarkusScript
trainer EVENT_BEAT_SUPER_NERD_MARKUS, SUPER_NERD, MARKUS, SupernerdMarkusSeenText, SupernerdMarkusBeatenText, $0000, SupernerdMarkusScript
SupernerdMarkusScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ MountMortar2FInside_MapScriptHeader:
db 0
TrainerSupernerdHugh:
; bit/flag number
dw EVENT_BEAT_SUPER_NERD_HUGH
; trainer group && trainer id
db SUPER_NERD, HUGH
; text when seen
dw SupernerdHughSeenText
; text when trainer beaten
dw SupernerdHughBeatenText
; script when lost
dw $0000
; script when talk again
dw SupernerdHughScript
trainer EVENT_BEAT_SUPER_NERD_HUGH, SUPER_NERD, HUGH, SupernerdHughSeenText, SupernerdHughBeatenText, $0000, SupernerdHughScript
SupernerdHughScript:
talkaftercancel

View File

@ -56,31 +56,15 @@ GameboyKidScript_0x5c037:
end
TrainerSchoolboyJack1:
; bit/flag number
dw EVENT_BEAT_SCHOOLBOY_JACK
; trainer group && trainer id
db SCHOOLBOY, JACK1
; text when seen
dw SchoolboyJack1SeenText
; text when trainer beaten
dw SchoolboyJack1BeatenText
; script when lost
dw $0000
; script when talk again
dw SchoolboyJack1Script
trainer EVENT_BEAT_SCHOOLBOY_JACK, SCHOOLBOY, JACK1, SchoolboyJack1SeenText, SchoolboyJack1BeatenText, $0000, SchoolboyJack1Script
SchoolboyJack1Script:
writecode VAR_CALLERID, $5
writecode VAR_CALLERID, PHONE_SCHOOLBOY_JACK
talkaftercancel
loadfont
checkflag ENGINE_JACK
iftrue UnknownScript_0x5c088
checkcellnum $5
checkcellnum PHONE_SCHOOLBOY_JACK
iftrue UnknownScript_0x5c108
checkevent EVENT_JACK_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x5c071
@ -93,7 +77,7 @@ SchoolboyJack1Script:
UnknownScript_0x5c071:
scall UnknownScript_0x5c100
UnknownScript_0x5c074:
askforphonenumber $5
askforphonenumber PHONE_SCHOOLBOY_JACK
if_equal $1, UnknownScript_0x5c110
if_equal $2, UnknownScript_0x5c10c
trainertotext SCHOOLBOY, JACK1, $0
@ -189,23 +173,7 @@ UnknownScript_0x5c114:
end
TrainerPokefanmWilliam:
; bit/flag number
dw EVENT_BEAT_POKEFANM_WILLIAM
; trainer group && trainer id
db POKEFANM, WILLIAM
; text when seen
dw PokefanmWilliamSeenText
; text when trainer beaten
dw PokefanmWilliamBeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanmWilliamScript
trainer EVENT_BEAT_POKEFANM_WILLIAM, POKEFANM, WILLIAM, PokefanmWilliamSeenText, PokefanmWilliamBeatenText, $0000, PokefanmWilliamScript
PokefanmWilliamScript:
talkaftercancel
@ -216,31 +184,15 @@ PokefanmWilliamScript:
end
TrainerPokefanfBeverly1:
; bit/flag number
dw EVENT_BEAT_POKEFANF_BEVERLY
; trainer group && trainer id
db POKEFANF, BEVERLY1
; text when seen
dw PokefanfBeverly1SeenText
; text when trainer beaten
dw PokefanfBeverly1BeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanfBeverly1Script
trainer EVENT_BEAT_POKEFANF_BEVERLY, POKEFANF, BEVERLY1, PokefanfBeverly1SeenText, PokefanfBeverly1BeatenText, $0000, PokefanfBeverly1Script
PokefanfBeverly1Script:
writecode VAR_CALLERID, $6
writecode VAR_CALLERID, PHONE_POKEFAN_BEVERLY
talkaftercancel
loadfont
checkflag ENGINE_BEVERLY_HAS_NUGGET
iftrue UnknownScript_0x5c177
checkcellnum $6
checkcellnum PHONE_POKEFAN_BEVERLY
iftrue UnknownScript_0x5c19b
checkpoke MARILL
iffalse UnknownScript_0x5c189
@ -255,7 +207,7 @@ PokefanfBeverly1Script:
UnknownScript_0x5c160:
scall UnknownScript_0x5c193
UnknownScript_0x5c163:
askforphonenumber $6
askforphonenumber PHONE_POKEFAN_BEVERLY
if_equal $1, UnknownScript_0x5c1a3
if_equal $2, UnknownScript_0x5c19f
trainertotext POKEFANF, BEVERLY1, $0
@ -311,23 +263,7 @@ UnknownScript_0x5c1ab:
end
TrainerLassKrise:
; bit/flag number
dw EVENT_BEAT_LASS_KRISE
; trainer group && trainer id
db LASS, KRISE
; text when seen
dw LassKriseSeenText
; text when trainer beaten
dw LassKriseBeatenText
; script when lost
dw $0000
; script when talk again
dw LassKriseScript
trainer EVENT_BEAT_LASS_KRISE, LASS, KRISE, LassKriseSeenText, LassKriseBeatenText, $0000, LassKriseScript
LassKriseScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ OlivineLighthouse2F_MapScriptHeader:
db 0
TrainerGentlemanAlfred:
; bit/flag number
dw EVENT_BEAT_GENTLEMAN_ALFRED
; trainer group && trainer id
db GENTLEMAN, ALFRED
; text when seen
dw GentlemanAlfredSeenText
; text when trainer beaten
dw GentlemanAlfredBeatenText
; script when lost
dw $0000
; script when talk again
dw GentlemanAlfredScript
trainer EVENT_BEAT_GENTLEMAN_ALFRED, GENTLEMAN, ALFRED, GentlemanAlfredSeenText, GentlemanAlfredBeatenText, $0000, GentlemanAlfredScript
GentlemanAlfredScript:
talkaftercancel
@ -33,31 +17,15 @@ GentlemanAlfredScript:
end
TrainerSailorHuey1:
; bit/flag number
dw EVENT_BEAT_SAILOR_HUEY
; trainer group && trainer id
db SAILOR, HUEY1
; text when seen
dw SailorHuey1SeenText
; text when trainer beaten
dw SailorHuey1BeatenText
; script when lost
dw $0000
; script when talk again
dw SailorHuey1Script
trainer EVENT_BEAT_SAILOR_HUEY, SAILOR, HUEY1, SailorHuey1SeenText, SailorHuey1BeatenText, $0000, SailorHuey1Script
SailorHuey1Script:
writecode VAR_CALLERID, $7
writecode VAR_CALLERID, PHONE_SAILOR_HUEY
talkaftercancel
loadfont
checkflag ENGINE_HUEY
iftrue UnknownScript_0x5afc7
checkcellnum $7
checkcellnum PHONE_SAILOR_HUEY
iftrue UnknownScript_0x5b05f
checkevent EVENT_HUEY_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x5afb0
@ -68,7 +36,7 @@ SailorHuey1Script:
UnknownScript_0x5afb0:
scall UnknownScript_0x5b057
UnknownScript_0x5afb3:
askforphonenumber $7
askforphonenumber PHONE_SAILOR_HUEY
if_equal $1, UnknownScript_0x5b067
if_equal $2, UnknownScript_0x5b063
trainertotext SAILOR, HUEY1, $0

View File

@ -6,23 +6,7 @@ OlivineLighthouse3F_MapScriptHeader:
db 0
TrainerBird_keeperTheo:
; bit/flag number
dw EVENT_BEAT_BIRD_KEEPER_THEO
; trainer group && trainer id
db BIRD_KEEPER, THEO
; text when seen
dw Bird_keeperTheoSeenText
; text when trainer beaten
dw Bird_keeperTheoBeatenText
; script when lost
dw $0000
; script when talk again
dw Bird_keeperTheoScript
trainer EVENT_BEAT_BIRD_KEEPER_THEO, BIRD_KEEPER, THEO, Bird_keeperTheoSeenText, Bird_keeperTheoBeatenText, $0000, Bird_keeperTheoScript
Bird_keeperTheoScript:
talkaftercancel
@ -33,23 +17,7 @@ Bird_keeperTheoScript:
end
TrainerGentlemanPreston:
; bit/flag number
dw EVENT_BEAT_GENTLEMAN_PRESTON
; trainer group && trainer id
db GENTLEMAN, PRESTON
; text when seen
dw GentlemanPrestonSeenText
; text when trainer beaten
dw GentlemanPrestonBeatenText
; script when lost
dw $0000
; script when talk again
dw GentlemanPrestonScript
trainer EVENT_BEAT_GENTLEMAN_PRESTON, GENTLEMAN, PRESTON, GentlemanPrestonSeenText, GentlemanPrestonBeatenText, $0000, GentlemanPrestonScript
GentlemanPrestonScript:
talkaftercancel
@ -60,23 +28,7 @@ GentlemanPrestonScript:
end
TrainerSailorTerrell:
; bit/flag number
dw EVENT_BEAT_SAILOR_TERRELL
; trainer group && trainer id
db SAILOR, TERRELL
; text when seen
dw SailorTerrellSeenText
; text when trainer beaten
dw SailorTerrellBeatenText
; script when lost
dw $0000
; script when talk again
dw SailorTerrellScript
trainer EVENT_BEAT_SAILOR_TERRELL, SAILOR, TERRELL, SailorTerrellSeenText, SailorTerrellBeatenText, $0000, SailorTerrellScript
SailorTerrellScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ OlivineLighthouse4F_MapScriptHeader:
db 0
TrainerLassConnie:
; bit/flag number
dw EVENT_BEAT_LASS_CONNIE
; trainer group && trainer id
db LASS, CONNIE1
; text when seen
dw LassConnie1SeenText
; text when trainer beaten
dw LassConnie1BeatenText
; script when lost
dw $0000
; script when talk again
dw LassConnie1Script
trainer EVENT_BEAT_LASS_CONNIE, LASS, CONNIE1, LassConnie1SeenText, LassConnie1BeatenText, $0000, LassConnie1Script
LassConnie1Script:
talkaftercancel
@ -33,23 +17,7 @@ LassConnie1Script:
end
TrainerSailorKent:
; bit/flag number
dw EVENT_BEAT_SAILOR_KENT
; trainer group && trainer id
db SAILOR, KENT
; text when seen
dw SailorKentSeenText
; text when trainer beaten
dw SailorKentBeatenText
; script when lost
dw $0000
; script when talk again
dw SailorKentScript
trainer EVENT_BEAT_SAILOR_KENT, SAILOR, KENT, SailorKentSeenText, SailorKentBeatenText, $0000, SailorKentScript
SailorKentScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ OlivineLighthouse5F_MapScriptHeader:
db 0
TrainerBird_keeperDenis:
; bit/flag number
dw EVENT_BEAT_BIRD_KEEPER_DENIS
; trainer group && trainer id
db BIRD_KEEPER, DENIS
; text when seen
dw Bird_keeperDenisSeenText
; text when trainer beaten
dw Bird_keeperDenisBeatenText
; script when lost
dw $0000
; script when talk again
dw Bird_keeperDenisScript
trainer EVENT_BEAT_BIRD_KEEPER_DENIS, BIRD_KEEPER, DENIS, Bird_keeperDenisSeenText, Bird_keeperDenisBeatenText, $0000, Bird_keeperDenisScript
Bird_keeperDenisScript:
talkaftercancel
@ -33,23 +17,7 @@ Bird_keeperDenisScript:
end
TrainerSailorErnest:
; bit/flag number
dw EVENT_BEAT_SAILOR_ERNEST
; trainer group && trainer id
db SAILOR, ERNEST
; text when seen
dw SailorErnestSeenText
; text when trainer beaten
dw SailorErnestBeatenText
; script when lost
dw $0000
; script when talk again
dw SailorErnestScript
trainer EVENT_BEAT_SAILOR_ERNEST, SAILOR, ERNEST, SailorErnestSeenText, SailorErnestBeatenText, $0000, SailorErnestScript
SailorErnestScript:
talkaftercancel

View File

@ -36,23 +36,7 @@ BrockScript_0x1a2864:
end
TrainerCamperJerry:
; bit/flag number
dw EVENT_BEAT_CAMPER_JERRY
; trainer group && trainer id
db CAMPER, JERRY
; text when seen
dw CamperJerrySeenText
; text when trainer beaten
dw CamperJerryBeatenText
; script when lost
dw $0000
; script when talk again
dw CamperJerryScript
trainer EVENT_BEAT_CAMPER_JERRY, CAMPER, JERRY, CamperJerrySeenText, CamperJerryBeatenText, $0000, CamperJerryScript
CamperJerryScript:
talkaftercancel

View File

@ -178,23 +178,7 @@ YoungsterScript_0x5ce54:
jumptextfaceplayer UnknownText_0x5d4ac
TrainerGruntM3:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTM_3
; trainer group && trainer id
db GRUNTM, 3
; text when seen
dw GruntM3SeenText
; text when trainer beaten
dw GruntM3BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntM3Script
trainer EVENT_BEAT_ROCKET_GRUNTM_3, GRUNTM, 3, GruntM3SeenText, GruntM3BeatenText, $0000, GruntM3Script
GruntM3Script:
talkaftercancel

View File

@ -42,23 +42,7 @@ BlackBeltScript_0x5d722:
jumptextfaceplayer UnknownText_0x5da44
TrainerGruntM4:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTM_4
; trainer group && trainer id
db GRUNTM, 4
; text when seen
dw GruntM4SeenText
; text when trainer beaten
dw GruntM4BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntM4Script
trainer EVENT_BEAT_ROCKET_GRUNTM_4, GRUNTM, 4, GruntM4SeenText, GruntM4BeatenText, $0000, GruntM4Script
GruntM4Script:
talkaftercancel
@ -69,23 +53,7 @@ GruntM4Script:
end
TrainerGruntM5:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTM_5
; trainer group && trainer id
db GRUNTM, 5
; text when seen
dw GruntM5SeenText
; text when trainer beaten
dw GruntM5BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntM5Script
trainer EVENT_BEAT_ROCKET_GRUNTM_5, GRUNTM, 5, GruntM5SeenText, GruntM5BeatenText, $0000, GruntM5Script
GruntM5Script:
talkaftercancel
@ -96,23 +64,7 @@ GruntM5Script:
end
TrainerGruntM6:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTM_6
; trainer group && trainer id
db GRUNTM, 6
; text when seen
dw GruntM6SeenText
; text when trainer beaten
dw GruntM6BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntM6Script
trainer EVENT_BEAT_ROCKET_GRUNTM_6, GRUNTM, 6, GruntM6SeenText, GruntM6BeatenText, $0000, GruntM6Script
GruntM6Script:
talkaftercancel
@ -123,23 +75,7 @@ GruntM6Script:
end
TrainerGruntF2:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTF_2
; trainer group && trainer id
db GRUNTF, 2
; text when seen
dw GruntF2SeenText
; text when trainer beaten
dw GruntF2BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntF2Script
trainer EVENT_BEAT_ROCKET_GRUNTF_2, GRUNTF, 2, GruntF2SeenText, GruntF2BeatenText, $0000, GruntF2Script
GruntF2Script:
talkaftercancel
@ -220,7 +156,7 @@ UnknownScript_0x5d80a:
writetext UnknownText_0x5de10
closetext
loadmovesprites
checkcellnum $25
checkcellnum PHONE_BUENA
iftrue UnknownScript_0x5d81a
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
iftrue UnknownScript_0x5d8cc
@ -242,7 +178,7 @@ UnknownScript_0x5d82f:
writetext UnknownText_0x5df6c
closetext
loadmovesprites
checkcellnum $25
checkcellnum PHONE_BUENA
iftrue UnknownScript_0x5d83f
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
iftrue UnknownScript_0x5d8cc
@ -279,7 +215,7 @@ UnknownScript_0x5d86b:
writetext UnknownText_0x5e192
closetext
loadmovesprites
checkcellnum $25
checkcellnum PHONE_BUENA
iftrue UnknownScript_0x5d87b
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
iftrue UnknownScript_0x5d8cc
@ -291,7 +227,7 @@ UnknownScript_0x5d87f:
writetext UnknownText_0x5e0f1
closetext
loadmovesprites
checkcellnum $25
checkcellnum PHONE_BUENA
iftrue UnknownScript_0x5d88f
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
iftrue UnknownScript_0x5d8cc
@ -303,7 +239,7 @@ UnknownScript_0x5d893:
writetext UnknownText_0x5e131
closetext
loadmovesprites
checkcellnum $25
checkcellnum PHONE_BUENA
iftrue UnknownScript_0x5d8a3
checkevent EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
iftrue UnknownScript_0x5d8cc
@ -311,7 +247,7 @@ UnknownScript_0x5d8a3:
end
UnknownScript_0x5d8a4:
checkcellnum $25
checkcellnum PHONE_BUENA
iftrue UnknownScript_0x5d8fe
pause 20
spriteface $b, DOWN
@ -331,7 +267,7 @@ UnknownScript_0x5d8cc:
loadfont
writetext UnknownText_0x5e2bf
UnknownScript_0x5d8d0:
askforphonenumber $25
askforphonenumber PHONE_BUENA
if_equal $1, UnknownScript_0x5d8f6
if_equal $2, UnknownScript_0x5d8ed
writetext UnknownText_0x5e2f3
@ -342,7 +278,7 @@ UnknownScript_0x5d8d0:
closetext
loadmovesprites
spriteface $b, RIGHT
addcellnum $25
addcellnum PHONE_BUENA
end
UnknownScript_0x5d8ed:

View File

@ -77,23 +77,7 @@ UnknownScript_0x5e5a1:
end
TrainerGruntM7:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTM_7
; trainer group && trainer id
db GRUNTM, 7
; text when seen
dw GruntM7SeenText
; text when trainer beaten
dw GruntM7BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntM7Script
trainer EVENT_BEAT_ROCKET_GRUNTM_7, GRUNTM, 7, GruntM7SeenText, GruntM7BeatenText, $0000, GruntM7Script
GruntM7Script:
talkaftercancel
@ -104,23 +88,7 @@ GruntM7Script:
end
TrainerGruntM8:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTM_8
; trainer group && trainer id
db GRUNTM, 8
; text when seen
dw GruntM8SeenText
; text when trainer beaten
dw GruntM8BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntM8Script
trainer EVENT_BEAT_ROCKET_GRUNTM_8, GRUNTM, 8, GruntM8SeenText, GruntM8BeatenText, $0000, GruntM8Script
GruntM8Script:
talkaftercancel
@ -131,23 +99,7 @@ GruntM8Script:
end
TrainerGruntM9:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTM_9
; trainer group && trainer id
db GRUNTM, 9
; text when seen
dw GruntM9SeenText
; text when trainer beaten
dw GruntM9BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntM9Script
trainer EVENT_BEAT_ROCKET_GRUNTM_9, GRUNTM, 9, GruntM9SeenText, GruntM9BeatenText, $0000, GruntM9Script
GruntM9Script:
talkaftercancel
@ -158,23 +110,7 @@ GruntM9Script:
end
TrainerScientistMarc:
; bit/flag number
dw EVENT_BEAT_SCIENTIST_MARC
; trainer group && trainer id
db SCIENTIST, MARC
; text when seen
dw ScientistMarcSeenText
; text when trainer beaten
dw ScientistMarcBeatenText
; script when lost
dw $0000
; script when talk again
dw ScientistMarcScript
trainer EVENT_BEAT_SCIENTIST_MARC, SCIENTIST, MARC, ScientistMarcSeenText, ScientistMarcBeatenText, $0000, ScientistMarcScript
ScientistMarcScript:
talkaftercancel

View File

@ -47,23 +47,7 @@ GrowlitheScript_0x5ebb2:
end
TrainerGruntM10:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTM_10
; trainer group && trainer id
db GRUNTM, 10
; text when seen
dw GruntM10SeenText
; text when trainer beaten
dw GruntM10BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntM10Script
trainer EVENT_BEAT_ROCKET_GRUNTM_10, GRUNTM, 10, GruntM10SeenText, GruntM10BeatenText, $0000, GruntM10Script
GruntM10Script:
talkaftercancel
@ -74,23 +58,7 @@ GruntM10Script:
end
TrainerExecutivem2:
; bit/flag number
dw EVENT_BEAT_ROCKET_EXECUTIVEM_2
; trainer group && trainer id
db EXECUTIVEM, 2
; text when seen
dw Executivem2SeenText
; text when trainer beaten
dw Executivem2BeatenText
; script when lost
dw $0000
; script when talk again
dw Executivem2Script
trainer EVENT_BEAT_ROCKET_EXECUTIVEM_2, EXECUTIVEM, 2, Executivem2SeenText, Executivem2BeatenText, $0000, Executivem2Script
Executivem2Script:
talkaftercancel
@ -101,23 +69,7 @@ Executivem2Script:
end
TrainerGruntF4:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTF_4
; trainer group && trainer id
db GRUNTF, 4
; text when seen
dw GruntF4SeenText
; text when trainer beaten
dw GruntF4BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntF4Script
trainer EVENT_BEAT_ROCKET_GRUNTF_4, GRUNTF, 4, GruntF4SeenText, GruntF4BeatenText, $0000, GruntF4Script
GruntF4Script:
talkaftercancel
@ -128,23 +80,7 @@ GruntF4Script:
end
TrainerScientistRich:
; bit/flag number
dw EVENT_BEAT_SCIENTIST_RICH
; trainer group && trainer id
db SCIENTIST, RICH
; text when seen
dw ScientistRichSeenText
; text when trainer beaten
dw ScientistRichBeatenText
; script when lost
dw $0000
; script when talk again
dw ScientistRichScript
trainer EVENT_BEAT_SCIENTIST_RICH, SCIENTIST, RICH, ScientistRichSeenText, ScientistRichBeatenText, $0000, ScientistRichScript
ScientistRichScript:
talkaftercancel

View File

@ -63,23 +63,7 @@ UnknownScript_0x60054:
end
TrainerExecutivef1:
; bit/flag number
dw EVENT_BEAT_ROCKET_EXECUTIVEF_1
; trainer group && trainer id
db EXECUTIVEF, 1
; text when seen
dw Executivef1SeenText
; text when trainer beaten
dw Executivef1BeatenText
; script when lost
dw $0000
; script when talk again
dw Executivef1Script
trainer EVENT_BEAT_ROCKET_EXECUTIVEF_1, EXECUTIVEF, 1, Executivef1SeenText, Executivef1BeatenText, $0000, Executivef1Script
Executivef1Script:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route1_MapScriptHeader:
db 0
TrainerSchoolboyDanny:
; bit/flag number
dw EVENT_BEAT_SCHOOLBOY_DANNY
; trainer group && trainer id
db SCHOOLBOY, DANNY
; text when seen
dw SchoolboyDannySeenText
; text when trainer beaten
dw SchoolboyDannyBeatenText
; script when lost
dw $0000
; script when talk again
dw SchoolboyDannyScript
trainer EVENT_BEAT_SCHOOLBOY_DANNY, SCHOOLBOY, DANNY, SchoolboyDannySeenText, SchoolboyDannyBeatenText, $0000, SchoolboyDannyScript
SchoolboyDannyScript:
talkaftercancel
@ -33,23 +17,7 @@ SchoolboyDannyScript:
end
TrainerCooltrainerfQuinn:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERF_QUINN
; trainer group && trainer id
db COOLTRAINERF, QUINN
; text when seen
dw CooltrainerfQuinnSeenText
; text when trainer beaten
dw CooltrainerfQuinnBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfQuinnScript
trainer EVENT_BEAT_COOLTRAINERF_QUINN, COOLTRAINERF, QUINN, CooltrainerfQuinnSeenText, CooltrainerfQuinnBeatenText, $0000, CooltrainerfQuinnScript
CooltrainerfQuinnScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route10South_MapScriptHeader:
db 0
TrainerHikerJim:
; bit/flag number
dw EVENT_BEAT_HIKER_JIM
; trainer group && trainer id
db HIKER, JIM
; text when seen
dw HikerJimSeenText
; text when trainer beaten
dw HikerJimBeatenText
; script when lost
dw $0000
; script when talk again
dw HikerJimScript
trainer EVENT_BEAT_HIKER_JIM, HIKER, JIM, HikerJimSeenText, HikerJimBeatenText, $0000, HikerJimScript
HikerJimScript:
talkaftercancel
@ -33,23 +17,7 @@ HikerJimScript:
end
TrainerPokefanmRobert:
; bit/flag number
dw EVENT_BEAT_POKEFANM_ROBERT
; trainer group && trainer id
db POKEFANM, ROBERT
; text when seen
dw PokefanmRobertSeenText
; text when trainer beaten
dw PokefanmRobertBeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanmRobertScript
trainer EVENT_BEAT_POKEFANM_ROBERT, POKEFANM, ROBERT, PokefanmRobertSeenText, PokefanmRobertBeatenText, $0000, PokefanmRobertScript
PokefanmRobertScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route11_MapScriptHeader:
db 0
TrainerYoungsterOwen:
; bit/flag number
dw EVENT_BEAT_YOUNGSTER_OWEN
; trainer group && trainer id
db YOUNGSTER, OWEN
; text when seen
dw YoungsterOwenSeenText
; text when trainer beaten
dw YoungsterOwenBeatenText
; script when lost
dw $0000
; script when talk again
dw YoungsterOwenScript
trainer EVENT_BEAT_YOUNGSTER_OWEN, YOUNGSTER, OWEN, YoungsterOwenSeenText, YoungsterOwenBeatenText, $0000, YoungsterOwenScript
YoungsterOwenScript:
talkaftercancel
@ -33,23 +17,7 @@ YoungsterOwenScript:
end
TrainerYoungsterJason:
; bit/flag number
dw EVENT_BEAT_YOUNGSTER_JASON
; trainer group && trainer id
db YOUNGSTER, JASON
; text when seen
dw YoungsterJasonSeenText
; text when trainer beaten
dw YoungsterJasonBeatenText
; script when lost
dw $0000
; script when talk again
dw YoungsterJasonScript
trainer EVENT_BEAT_YOUNGSTER_JASON, YOUNGSTER, JASON, YoungsterJasonSeenText, YoungsterJasonBeatenText, $0000, YoungsterJasonScript
YoungsterJasonScript:
talkaftercancel
@ -60,23 +28,7 @@ YoungsterJasonScript:
end
TrainerPsychicHerman:
; bit/flag number
dw EVENT_BEAT_PSYCHIC_HERMAN
; trainer group && trainer id
db PSYCHIC_T, HERMAN
; text when seen
dw PsychicHermanSeenText
; text when trainer beaten
dw PsychicHermanBeatenText
; script when lost
dw $0000
; script when talk again
dw PsychicHermanScript
trainer EVENT_BEAT_PSYCHIC_HERMAN, PSYCHIC_T, HERMAN, PsychicHermanSeenText, PsychicHermanBeatenText, $0000, PsychicHermanScript
PsychicHermanScript:
talkaftercancel
@ -87,23 +39,7 @@ PsychicHermanScript:
end
TrainerPsychicFidel:
; bit/flag number
dw EVENT_BEAT_PSYCHIC_FIDEL
; trainer group && trainer id
db PSYCHIC_T, FIDEL
; text when seen
dw PsychicFidelSeenText
; text when trainer beaten
dw PsychicFidelBeatenText
; script when lost
dw $0000
; script when talk again
dw PsychicFidelScript
trainer EVENT_BEAT_PSYCHIC_FIDEL, PSYCHIC_T, FIDEL, PsychicFidelSeenText, PsychicFidelBeatenText, $0000, PsychicFidelScript
PsychicFidelScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route12_MapScriptHeader:
db 0
TrainerFisherKyle:
; bit/flag number
dw EVENT_BEAT_FISHER_KYLE
; trainer group && trainer id
db FISHER, KYLE
; text when seen
dw FisherKyleSeenText
; text when trainer beaten
dw FisherKyleBeatenText
; script when lost
dw $0000
; script when talk again
dw FisherKyleScript
trainer EVENT_BEAT_FISHER_KYLE, FISHER, KYLE, FisherKyleSeenText, FisherKyleBeatenText, $0000, FisherKyleScript
FisherKyleScript:
talkaftercancel
@ -33,23 +17,7 @@ FisherKyleScript:
end
TrainerFisherMartin:
; bit/flag number
dw EVENT_BEAT_FISHER_MARTIN
; trainer group && trainer id
db FISHER, MARTIN
; text when seen
dw FisherMartinSeenText
; text when trainer beaten
dw FisherMartinBeatenText
; script when lost
dw $0000
; script when talk again
dw FisherMartinScript
trainer EVENT_BEAT_FISHER_MARTIN, FISHER, MARTIN, FisherMartinSeenText, FisherMartinBeatenText, $0000, FisherMartinScript
FisherMartinScript:
talkaftercancel
@ -60,23 +28,7 @@ FisherMartinScript:
end
TrainerFisherStephen:
; bit/flag number
dw EVENT_BEAT_FISHER_STEPHEN
; trainer group && trainer id
db FISHER, STEPHEN
; text when seen
dw FisherStephenSeenText
; text when trainer beaten
dw FisherStephenBeatenText
; script when lost
dw $0000
; script when talk again
dw FisherStephenScript
trainer EVENT_BEAT_FISHER_STEPHEN, FISHER, STEPHEN, FisherStephenSeenText, FisherStephenBeatenText, $0000, FisherStephenScript
FisherStephenScript:
talkaftercancel
@ -87,23 +39,7 @@ FisherStephenScript:
end
TrainerFisherBarney:
; bit/flag number
dw EVENT_BEAT_FISHER_BARNEY
; trainer group && trainer id
db FISHER, BARNEY
; text when seen
dw FisherBarneySeenText
; text when trainer beaten
dw FisherBarneyBeatenText
; script when lost
dw $0000
; script when talk again
dw FisherBarneyScript
trainer EVENT_BEAT_FISHER_BARNEY, FISHER, BARNEY, FisherBarneySeenText, FisherBarneyBeatenText, $0000, FisherBarneyScript
FisherBarneyScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route13_MapScriptHeader:
db 0
TrainerPokefanmAlex:
; bit/flag number
dw EVENT_BEAT_POKEFANM_ALEX
; trainer group && trainer id
db POKEFANM, ALEX
; text when seen
dw PokefanmAlexSeenText
; text when trainer beaten
dw PokefanmAlexBeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanmAlexScript
trainer EVENT_BEAT_POKEFANM_ALEX, POKEFANM, ALEX, PokefanmAlexSeenText, PokefanmAlexBeatenText, $0000, PokefanmAlexScript
PokefanmAlexScript:
talkaftercancel
@ -33,23 +17,7 @@ PokefanmAlexScript:
end
TrainerPokefanmJoshua:
; bit/flag number
dw EVENT_BEAT_POKEFANM_JOSHUA
; trainer group && trainer id
db POKEFANM, JOSHUA
; text when seen
dw PokefanmJoshuaSeenText
; text when trainer beaten
dw PokefanmJoshuaBeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanmJoshuaScript
trainer EVENT_BEAT_POKEFANM_JOSHUA, POKEFANM, JOSHUA, PokefanmJoshuaSeenText, PokefanmJoshuaBeatenText, $0000, PokefanmJoshuaScript
PokefanmJoshuaScript:
talkaftercancel
@ -60,23 +28,7 @@ PokefanmJoshuaScript:
end
TrainerBird_keeperPerry:
; bit/flag number
dw EVENT_BEAT_BIRD_KEEPER_PERRY
; trainer group && trainer id
db BIRD_KEEPER, PERRY
; text when seen
dw Bird_keeperPerrySeenText
; text when trainer beaten
dw Bird_keeperPerryBeatenText
; script when lost
dw $0000
; script when talk again
dw Bird_keeperPerryScript
trainer EVENT_BEAT_BIRD_KEEPER_PERRY, BIRD_KEEPER, PERRY, Bird_keeperPerrySeenText, Bird_keeperPerryBeatenText, $0000, Bird_keeperPerryScript
Bird_keeperPerryScript:
talkaftercancel
@ -87,23 +39,7 @@ Bird_keeperPerryScript:
end
TrainerBird_keeperBret:
; bit/flag number
dw EVENT_BEAT_BIRD_KEEPER_BRET
; trainer group && trainer id
db BIRD_KEEPER, BRET
; text when seen
dw Bird_keeperBretSeenText
; text when trainer beaten
dw Bird_keeperBretBeatenText
; script when lost
dw $0000
; script when talk again
dw Bird_keeperBretScript
trainer EVENT_BEAT_BIRD_KEEPER_BRET, BIRD_KEEPER, BRET, Bird_keeperBretSeenText, Bird_keeperBretBeatenText, $0000, Bird_keeperBretScript
Bird_keeperBretScript:
talkaftercancel
@ -114,23 +50,7 @@ Bird_keeperBretScript:
end
TrainerHikerKenny:
; bit/flag number
dw EVENT_BEAT_HIKER_KENNY
; trainer group && trainer id
db HIKER, KENNY
; text when seen
dw HikerKennySeenText
; text when trainer beaten
dw HikerKennyBeatenText
; script when lost
dw $0000
; script when talk again
dw HikerKennyScript
trainer EVENT_BEAT_HIKER_KENNY, HIKER, KENNY, HikerKennySeenText, HikerKennyBeatenText, $0000, HikerKennyScript
HikerKennyScript:
talkaftercancel

View File

@ -14,23 +14,7 @@ TeacherScript_0x1ad47f:
end
TrainerPokefanmCarter:
; bit/flag number
dw EVENT_BEAT_POKEFANM_CARTER
; trainer group && trainer id
db POKEFANM, CARTER
; text when seen
dw PokefanmCarterSeenText
; text when trainer beaten
dw PokefanmCarterBeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanmCarterScript
trainer EVENT_BEAT_POKEFANM_CARTER, POKEFANM, CARTER, PokefanmCarterSeenText, PokefanmCarterBeatenText, $0000, PokefanmCarterScript
PokefanmCarterScript:
talkaftercancel
@ -41,23 +25,7 @@ PokefanmCarterScript:
end
TrainerBird_keeperRoy:
; bit/flag number
dw EVENT_BEAT_BIRD_KEEPER_ROY
; trainer group && trainer id
db BIRD_KEEPER, ROY
; text when seen
dw Bird_keeperRoySeenText
; text when trainer beaten
dw Bird_keeperRoyBeatenText
; script when lost
dw $0000
; script when talk again
dw Bird_keeperRoyScript
trainer EVENT_BEAT_BIRD_KEEPER_ROY, BIRD_KEEPER, ROY, Bird_keeperRoySeenText, Bird_keeperRoyBeatenText, $0000, Bird_keeperRoyScript
Bird_keeperRoyScript:
talkaftercancel
@ -68,23 +36,7 @@ Bird_keeperRoyScript:
end
TrainerPokefanmTrevor:
; bit/flag number
dw EVENT_BEAT_POKEFANM_TREVOR
; trainer group && trainer id
db POKEFANM, TREVOR
; text when seen
dw PokefanmTrevorSeenText
; text when trainer beaten
dw PokefanmTrevorBeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanmTrevorScript
trainer EVENT_BEAT_POKEFANM_TREVOR, POKEFANM, TREVOR, PokefanmTrevorSeenText, PokefanmTrevorBeatenText, $0000, PokefanmTrevorScript
PokefanmTrevorScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route15_MapScriptHeader:
db 0
TrainerTeacherColette:
; bit/flag number
dw EVENT_BEAT_TEACHER_COLETTE
; trainer group && trainer id
db TEACHER, COLETTE
; text when seen
dw TeacherColetteSeenText
; text when trainer beaten
dw TeacherColetteBeatenText
; script when lost
dw $0000
; script when talk again
dw TeacherColetteScript
trainer EVENT_BEAT_TEACHER_COLETTE, TEACHER, COLETTE, TeacherColetteSeenText, TeacherColetteBeatenText, $0000, TeacherColetteScript
TeacherColetteScript:
talkaftercancel
@ -33,23 +17,7 @@ TeacherColetteScript:
end
TrainerTeacherHillary:
; bit/flag number
dw EVENT_BEAT_TEACHER_HILLARY
; trainer group && trainer id
db TEACHER, HILLARY
; text when seen
dw TeacherHillarySeenText
; text when trainer beaten
dw TeacherHillaryBeatenText
; script when lost
dw $0000
; script when talk again
dw TeacherHillaryScript
trainer EVENT_BEAT_TEACHER_HILLARY, TEACHER, HILLARY, TeacherHillarySeenText, TeacherHillaryBeatenText, $0000, TeacherHillaryScript
TeacherHillaryScript:
talkaftercancel
@ -60,23 +28,7 @@ TeacherHillaryScript:
end
TrainerSchoolboyKipp:
; bit/flag number
dw EVENT_BEAT_SCHOOLBOY_KIP
; trainer group && trainer id
db SCHOOLBOY, KIPP
; text when seen
dw SchoolboyKippSeenText
; text when trainer beaten
dw SchoolboyKippBeatenText
; script when lost
dw $0000
; script when talk again
dw SchoolboyKippScript
trainer EVENT_BEAT_SCHOOLBOY_KIP, SCHOOLBOY, KIPP, SchoolboyKippSeenText, SchoolboyKippBeatenText, $0000, SchoolboyKippScript
SchoolboyKippScript:
talkaftercancel
@ -87,23 +39,7 @@ SchoolboyKippScript:
end
TrainerSchoolboyTommy:
; bit/flag number
dw EVENT_BEAT_SCHOOLBOY_TOMMY
; trainer group && trainer id
db SCHOOLBOY, TOMMY
; text when seen
dw SchoolboyTommySeenText
; text when trainer beaten
dw SchoolboyTommyBeatenText
; script when lost
dw $0000
; script when talk again
dw SchoolboyTommyScript
trainer EVENT_BEAT_SCHOOLBOY_TOMMY, SCHOOLBOY, TOMMY, SchoolboyTommySeenText, SchoolboyTommyBeatenText, $0000, SchoolboyTommyScript
SchoolboyTommyScript:
talkaftercancel
@ -114,23 +50,7 @@ SchoolboyTommyScript:
end
TrainerSchoolboyJohnny:
; bit/flag number
dw EVENT_BEAT_SCHOOLBOY_JOHNNY
; trainer group && trainer id
db SCHOOLBOY, JOHNNY
; text when seen
dw SchoolboyJohnnySeenText
; text when trainer beaten
dw SchoolboyJohnnyBeatenText
; script when lost
dw $0000
; script when talk again
dw SchoolboyJohnnyScript
trainer EVENT_BEAT_SCHOOLBOY_JOHNNY, SCHOOLBOY, JOHNNY, SchoolboyJohnnySeenText, SchoolboyJohnnyBeatenText, $0000, SchoolboyJohnnyScript
SchoolboyJohnnyScript:
talkaftercancel
@ -141,23 +61,7 @@ SchoolboyJohnnyScript:
end
TrainerSchoolboyBilly:
; bit/flag number
dw EVENT_BEAT_SCHOOLBOY_BILLY
; trainer group && trainer id
db SCHOOLBOY, BILLY
; text when seen
dw SchoolboyBillySeenText
; text when trainer beaten
dw SchoolboyBillyBeatenText
; script when lost
dw $0000
; script when talk again
dw SchoolboyBillyScript
trainer EVENT_BEAT_SCHOOLBOY_BILLY, SCHOOLBOY, BILLY, SchoolboyBillySeenText, SchoolboyBillyBeatenText, $0000, SchoolboyBillyScript
SchoolboyBillyScript:
talkaftercancel

View File

@ -15,23 +15,7 @@ UnknownScript_0x1ad0ab:
return
TrainerBikerCharles:
; bit/flag number
dw EVENT_BEAT_BIKER_CHARLES
; trainer group && trainer id
db BIKER, CHARLES
; text when seen
dw BikerCharlesSeenText
; text when trainer beaten
dw BikerCharlesBeatenText
; script when lost
dw $0000
; script when talk again
dw BikerCharlesScript
trainer EVENT_BEAT_BIKER_CHARLES, BIKER, CHARLES, BikerCharlesSeenText, BikerCharlesBeatenText, $0000, BikerCharlesScript
BikerCharlesScript:
talkaftercancel
@ -42,23 +26,7 @@ BikerCharlesScript:
end
TrainerBikerRiley:
; bit/flag number
dw EVENT_BEAT_BIKER_RILEY
; trainer group && trainer id
db BIKER, RILEY
; text when seen
dw BikerRileySeenText
; text when trainer beaten
dw BikerRileyBeatenText
; script when lost
dw $0000
; script when talk again
dw BikerRileyScript
trainer EVENT_BEAT_BIKER_RILEY, BIKER, RILEY, BikerRileySeenText, BikerRileyBeatenText, $0000, BikerRileyScript
BikerRileyScript:
talkaftercancel
@ -69,23 +37,7 @@ BikerRileyScript:
end
TrainerBikerJoel:
; bit/flag number
dw EVENT_BEAT_BIKER_JOEL
; trainer group && trainer id
db BIKER, JOEL
; text when seen
dw BikerJoelSeenText
; text when trainer beaten
dw BikerJoelBeatenText
; script when lost
dw $0000
; script when talk again
dw BikerJoelScript
trainer EVENT_BEAT_BIKER_JOEL, BIKER, JOEL, BikerJoelSeenText, BikerJoelBeatenText, $0000, BikerJoelScript
BikerJoelScript:
talkaftercancel
@ -96,23 +48,7 @@ BikerJoelScript:
end
TrainerBikerGlenn:
; bit/flag number
dw EVENT_BEAT_BIKER_GLENN
; trainer group && trainer id
db BIKER, GLENN
; text when seen
dw BikerGlennSeenText
; text when trainer beaten
dw BikerGlennBeatenText
; script when lost
dw $0000
; script when talk again
dw BikerGlennScript
trainer EVENT_BEAT_BIKER_GLENN, BIKER, GLENN, BikerGlennSeenText, BikerGlennBeatenText, $0000, BikerGlennScript
BikerGlennScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route18_MapScriptHeader:
db 0
TrainerBird_keeperBoris:
; bit/flag number
dw EVENT_BEAT_BIRD_KEEPER_BORIS
; trainer group && trainer id
db BIRD_KEEPER, BORIS
; text when seen
dw Bird_keeperBorisSeenText
; text when trainer beaten
dw Bird_keeperBorisBeatenText
; script when lost
dw $0000
; script when talk again
dw Bird_keeperBorisScript
trainer EVENT_BEAT_BIRD_KEEPER_BORIS, BIRD_KEEPER, BORIS, Bird_keeperBorisSeenText, Bird_keeperBorisBeatenText, $0000, Bird_keeperBorisScript
Bird_keeperBorisScript:
talkaftercancel
@ -33,23 +17,7 @@ Bird_keeperBorisScript:
end
TrainerBird_keeperBob:
; bit/flag number
dw EVENT_BEAT_BIRD_KEEPER_BOB
; trainer group && trainer id
db BIRD_KEEPER, BOB
; text when seen
dw Bird_keeperBobSeenText
; text when trainer beaten
dw Bird_keeperBobBeatenText
; script when lost
dw $0000
; script when talk again
dw Bird_keeperBobScript
trainer EVENT_BEAT_BIRD_KEEPER_BOB, BIRD_KEEPER, BOB, Bird_keeperBobSeenText, Bird_keeperBobBeatenText, $0000, Bird_keeperBobScript
Bird_keeperBobScript:
talkaftercancel

View File

@ -22,23 +22,7 @@ Route19_MapScriptHeader:
return
TrainerSwimmerfDawn:
; bit/flag number
dw EVENT_BEAT_SWIMMERF_DAWN
; trainer group && trainer id
db SWIMMERF, DAWN
; text when seen
dw SwimmerfDawnSeenText
; text when trainer beaten
dw SwimmerfDawnBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfDawnScript
trainer EVENT_BEAT_SWIMMERF_DAWN, SWIMMERF, DAWN, SwimmerfDawnSeenText, SwimmerfDawnBeatenText, $0000, SwimmerfDawnScript
SwimmerfDawnScript:
talkaftercancel
@ -49,23 +33,7 @@ SwimmerfDawnScript:
end
TrainerSwimmermHarold:
; bit/flag number
dw EVENT_BEAT_SWIMMERM_HAROLD
; trainer group && trainer id
db SWIMMERM, HAROLD
; text when seen
dw SwimmermHaroldSeenText
; text when trainer beaten
dw SwimmermHaroldBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmermHaroldScript
trainer EVENT_BEAT_SWIMMERM_HAROLD, SWIMMERM, HAROLD, SwimmermHaroldSeenText, SwimmermHaroldBeatenText, $0000, SwimmermHaroldScript
SwimmermHaroldScript:
talkaftercancel
@ -76,23 +44,7 @@ SwimmermHaroldScript:
end
TrainerSwimmermJerome:
; bit/flag number
dw EVENT_BEAT_SWIMMERM_JEROME
; trainer group && trainer id
db SWIMMERM, JEROME
; text when seen
dw SwimmermJeromeSeenText
; text when trainer beaten
dw SwimmermJeromeBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmermJeromeScript
trainer EVENT_BEAT_SWIMMERM_JEROME, SWIMMERM, JEROME, SwimmermJeromeSeenText, SwimmermJeromeBeatenText, $0000, SwimmermJeromeScript
SwimmermJeromeScript:
talkaftercancel
@ -103,23 +55,7 @@ SwimmermJeromeScript:
end
TrainerSwimmermTucker:
; bit/flag number
dw EVENT_BEAT_SWIMMERM_TUCKER
; trainer group && trainer id
db SWIMMERM, TUCKER
; text when seen
dw SwimmermTuckerSeenText
; text when trainer beaten
dw SwimmermTuckerBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmermTuckerScript
trainer EVENT_BEAT_SWIMMERM_TUCKER, SWIMMERM, TUCKER, SwimmermTuckerSeenText, SwimmermTuckerBeatenText, $0000, SwimmermTuckerScript
SwimmermTuckerScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route2_MapScriptHeader:
db 0
TrainerBug_catcherRob:
; bit/flag number
dw EVENT_BEAT_BUG_CATCHER_ROB
; trainer group && trainer id
db BUG_CATCHER, ROB
; text when seen
dw Bug_catcherRobSeenText
; text when trainer beaten
dw Bug_catcherRobBeatenText
; script when lost
dw $0000
; script when talk again
dw Bug_catcherRobScript
trainer EVENT_BEAT_BUG_CATCHER_ROB, BUG_CATCHER, ROB, Bug_catcherRobSeenText, Bug_catcherRobBeatenText, $0000, Bug_catcherRobScript
Bug_catcherRobScript:
talkaftercancel
@ -33,23 +17,7 @@ Bug_catcherRobScript:
end
TrainerBug_catcherEd:
; bit/flag number
dw EVENT_BEAT_BUG_CATCHER_ED
; trainer group && trainer id
db BUG_CATCHER, ED
; text when seen
dw Bug_catcherEdSeenText
; text when trainer beaten
dw Bug_catcherEdBeatenText
; script when lost
dw $0000
; script when talk again
dw Bug_catcherEdScript
trainer EVENT_BEAT_BUG_CATCHER_ED, BUG_CATCHER, ED, Bug_catcherEdSeenText, Bug_catcherEdBeatenText, $0000, Bug_catcherEdScript
Bug_catcherEdScript:
talkaftercancel
@ -60,23 +28,7 @@ Bug_catcherEdScript:
end
TrainerBug_catcherDoug:
; bit/flag number
dw EVENT_BEAT_BUG_CATCHER_DOUG
; trainer group && trainer id
db BUG_CATCHER, DOUG
; text when seen
dw Bug_catcherDougSeenText
; text when trainer beaten
dw Bug_catcherDougBeatenText
; script when lost
dw $0000
; script when talk again
dw Bug_catcherDougScript
trainer EVENT_BEAT_BUG_CATCHER_DOUG, BUG_CATCHER, DOUG, Bug_catcherDougSeenText, Bug_catcherDougBeatenText, $0000, Bug_catcherDougScript
Bug_catcherDougScript:
talkaftercancel

View File

@ -14,23 +14,7 @@ Route20_MapScriptHeader:
return
TrainerSwimmerfNicole:
; bit/flag number
dw EVENT_BEAT_SWIMMERF_NICOLE
; trainer group && trainer id
db SWIMMERF, NICOLE
; text when seen
dw SwimmerfNicoleSeenText
; text when trainer beaten
dw SwimmerfNicoleBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfNicoleScript
trainer EVENT_BEAT_SWIMMERF_NICOLE, SWIMMERF, NICOLE, SwimmerfNicoleSeenText, SwimmerfNicoleBeatenText, $0000, SwimmerfNicoleScript
SwimmerfNicoleScript:
talkaftercancel
@ -41,23 +25,7 @@ SwimmerfNicoleScript:
end
TrainerSwimmerfLori:
; bit/flag number
dw EVENT_BEAT_SWIMMERF_LORI
; trainer group && trainer id
db SWIMMERF, LORI
; text when seen
dw SwimmerfLoriSeenText
; text when trainer beaten
dw SwimmerfLoriBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfLoriScript
trainer EVENT_BEAT_SWIMMERF_LORI, SWIMMERF, LORI, SwimmerfLoriSeenText, SwimmerfLoriBeatenText, $0000, SwimmerfLoriScript
SwimmerfLoriScript:
talkaftercancel
@ -68,23 +36,7 @@ SwimmerfLoriScript:
end
TrainerSwimmermCameron:
; bit/flag number
dw EVENT_BEAT_SWIMMERM_CAMERON
; trainer group && trainer id
db SWIMMERM, CAMERON
; text when seen
dw SwimmermCameronSeenText
; text when trainer beaten
dw SwimmermCameronBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmermCameronScript
trainer EVENT_BEAT_SWIMMERM_CAMERON, SWIMMERM, CAMERON, SwimmermCameronSeenText, SwimmermCameronBeatenText, $0000, SwimmermCameronScript
SwimmermCameronScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route21_MapScriptHeader:
db 0
TrainerSwimmermSeth:
; bit/flag number
dw EVENT_BEAT_SWIMMERM_SETH
; trainer group && trainer id
db SWIMMERM, SETH
; text when seen
dw SwimmermSethSeenText
; text when trainer beaten
dw SwimmermSethBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmermSethScript
trainer EVENT_BEAT_SWIMMERM_SETH, SWIMMERM, SETH, SwimmermSethSeenText, SwimmermSethBeatenText, $0000, SwimmermSethScript
SwimmermSethScript:
talkaftercancel
@ -33,23 +17,7 @@ SwimmermSethScript:
end
TrainerSwimmerfNikki:
; bit/flag number
dw EVENT_BEAT_SWIMMERF_NIKKI
; trainer group && trainer id
db SWIMMERF, NIKKI
; text when seen
dw SwimmerfNikkiSeenText
; text when trainer beaten
dw SwimmerfNikkiBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfNikkiScript
trainer EVENT_BEAT_SWIMMERF_NIKKI, SWIMMERF, NIKKI, SwimmerfNikkiSeenText, SwimmerfNikkiBeatenText, $0000, SwimmerfNikkiScript
SwimmerfNikkiScript:
talkaftercancel
@ -60,23 +28,7 @@ SwimmerfNikkiScript:
end
TrainerFisherArnold:
; bit/flag number
dw EVENT_BEAT_FISHER_ARNOLD
; trainer group && trainer id
db FISHER, ARNOLD
; text when seen
dw FisherArnoldSeenText
; text when trainer beaten
dw FisherArnoldBeatenText
; script when lost
dw $0000
; script when talk again
dw FisherArnoldScript
trainer EVENT_BEAT_FISHER_ARNOLD, FISHER, ARNOLD, FisherArnoldSeenText, FisherArnoldBeatenText, $0000, FisherArnoldScript
FisherArnoldScript:
talkaftercancel

View File

@ -68,23 +68,7 @@ UnknownScript_0x19eee0:
end
TrainerSchoolboyDudley:
; bit/flag number
dw EVENT_BEAT_SCHOOLBOY_DUDLEY
; trainer group && trainer id
db SCHOOLBOY, DUDLEY
; text when seen
dw SchoolboyDudleySeenText
; text when trainer beaten
dw SchoolboyDudleyBeatenText
; script when lost
dw $0000
; script when talk again
dw SchoolboyDudleyScript
trainer EVENT_BEAT_SCHOOLBOY_DUDLEY, SCHOOLBOY, DUDLEY, SchoolboyDudleySeenText, SchoolboyDudleyBeatenText, $0000, SchoolboyDudleyScript
SchoolboyDudleyScript:
talkaftercancel
@ -95,23 +79,7 @@ SchoolboyDudleyScript:
end
TrainerLassEllen:
; bit/flag number
dw EVENT_BEAT_LASS_ELLEN
; trainer group && trainer id
db LASS, ELLEN
; text when seen
dw LassEllenSeenText
; text when trainer beaten
dw LassEllenBeatenText
; script when lost
dw $0000
; script when talk again
dw LassEllenScript
trainer EVENT_BEAT_LASS_ELLEN, LASS, ELLEN, LassEllenSeenText, LassEllenBeatenText, $0000, LassEllenScript
LassEllenScript:
talkaftercancel
@ -122,23 +90,7 @@ LassEllenScript:
end
TrainerSchoolboyJoe:
; bit/flag number
dw EVENT_BEAT_SCHOOLBOY_JOE
; trainer group && trainer id
db SCHOOLBOY, JOE
; text when seen
dw SchoolboyJoeSeenText
; text when trainer beaten
dw SchoolboyJoeBeatenText
; script when lost
dw $0000
; script when talk again
dw SchoolboyJoeScript
trainer EVENT_BEAT_SCHOOLBOY_JOE, SCHOOLBOY, JOE, SchoolboyJoeSeenText, SchoolboyJoeBeatenText, $0000, SchoolboyJoeScript
SchoolboyJoeScript:
talkaftercancel
@ -149,23 +101,7 @@ SchoolboyJoeScript:
end
TrainerLassLaura:
; bit/flag number
dw EVENT_BEAT_LASS_LAURA
; trainer group && trainer id
db LASS, LAURA
; text when seen
dw LassLauraSeenText
; text when trainer beaten
dw LassLauraBeatenText
; script when lost
dw $0000
; script when talk again
dw LassLauraScript
trainer EVENT_BEAT_LASS_LAURA, LASS, LAURA, LassLauraSeenText, LassLauraBeatenText, $0000, LassLauraScript
LassLauraScript:
talkaftercancel
@ -176,23 +112,7 @@ LassLauraScript:
end
TrainerCamperLloyd:
; bit/flag number
dw EVENT_BEAT_CAMPER_LLOYD
; trainer group && trainer id
db CAMPER, LLOYD
; text when seen
dw CamperLloydSeenText
; text when trainer beaten
dw CamperLloydBeatenText
; script when lost
dw $0000
; script when talk again
dw CamperLloydScript
trainer EVENT_BEAT_CAMPER_LLOYD, CAMPER, LLOYD, CamperLloydSeenText, CamperLloydBeatenText, $0000, CamperLloydScript
CamperLloydScript:
talkaftercancel
@ -203,23 +123,7 @@ CamperLloydScript:
end
TrainerLassShannon:
; bit/flag number
dw EVENT_BEAT_LASS_SHANNON
; trainer group && trainer id
db LASS, SHANNON
; text when seen
dw LassShannonSeenText
; text when trainer beaten
dw LassShannonBeatenText
; script when lost
dw $0000
; script when talk again
dw LassShannonScript
trainer EVENT_BEAT_LASS_SHANNON, LASS, SHANNON, LassShannonSeenText, LassShannonBeatenText, $0000, LassShannonScript
LassShannonScript:
talkaftercancel
@ -230,23 +134,7 @@ LassShannonScript:
end
TrainerSupernerdPat:
; bit/flag number
dw EVENT_BEAT_SUPER_NERD_PAT
; trainer group && trainer id
db SUPER_NERD, PAT
; text when seen
dw SupernerdPatSeenText
; text when trainer beaten
dw SupernerdPatBeatenText
; script when lost
dw $0000
; script when talk again
dw SupernerdPatScript
trainer EVENT_BEAT_SUPER_NERD_PAT, SUPER_NERD, PAT, SupernerdPatSeenText, SupernerdPatBeatenText, $0000, SupernerdPatScript
SupernerdPatScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route26_MapScriptHeader:
db 0
TrainerCooltrainermJake:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERM_JAKE
; trainer group && trainer id
db COOLTRAINERM, JAKE
; text when seen
dw CooltrainermJakeSeenText
; text when trainer beaten
dw CooltrainermJakeBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainermJakeScript
trainer EVENT_BEAT_COOLTRAINERM_JAKE, COOLTRAINERM, JAKE, CooltrainermJakeSeenText, CooltrainermJakeBeatenText, $0000, CooltrainermJakeScript
CooltrainermJakeScript:
talkaftercancel
@ -33,31 +17,15 @@ CooltrainermJakeScript:
end
TrainerCooltrainermGaven3:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERM_GAVEN
; trainer group && trainer id
db COOLTRAINERM, GAVEN3
; text when seen
dw CooltrainermGaven3SeenText
; text when trainer beaten
dw CooltrainermGaven3BeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainermGaven3Script
trainer EVENT_BEAT_COOLTRAINERM_GAVEN, COOLTRAINERM, GAVEN3, CooltrainermGaven3SeenText, CooltrainermGaven3BeatenText, $0000, CooltrainermGaven3Script
CooltrainermGaven3Script:
writecode VAR_CALLERID, $b
writecode VAR_CALLERID, PHONE_COOLTRAINERM_GAVEN
talkaftercancel
loadfont
checkflag ENGINE_GAVEN
iftrue UnknownScript_0x1a4d79
checkcellnum $b
checkcellnum PHONE_COOLTRAINERM_GAVEN
iftrue UnknownScript_0x1a4dcb
checkevent EVENT_GAVEN_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1a4d62
@ -70,7 +38,7 @@ CooltrainermGaven3Script:
UnknownScript_0x1a4d62:
scall UnknownScript_0x1a4dc3
UnknownScript_0x1a4d65:
askforphonenumber $b
askforphonenumber PHONE_COOLTRAINERM_GAVEN
if_equal $1, UnknownScript_0x1a4dd3
if_equal $2, UnknownScript_0x1a4dcf
trainertotext COOLTRAINERM, GAVEN3, $0
@ -142,23 +110,7 @@ UnknownScript_0x1a4dd7:
end
TrainerCooltrainerfJoyce:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERF_JOYCE
; trainer group && trainer id
db COOLTRAINERF, JOYCE
; text when seen
dw CooltrainerfJoyceSeenText
; text when trainer beaten
dw CooltrainerfJoyceBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfJoyceScript
trainer EVENT_BEAT_COOLTRAINERF_JOYCE, COOLTRAINERF, JOYCE, CooltrainerfJoyceSeenText, CooltrainerfJoyceBeatenText, $0000, CooltrainerfJoyceScript
CooltrainerfJoyceScript:
talkaftercancel
@ -169,31 +121,15 @@ CooltrainerfJoyceScript:
end
TrainerCooltrainerfBeth1:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERF_BETH
; trainer group && trainer id
db COOLTRAINERF, BETH1
; text when seen
dw CooltrainerfBeth1SeenText
; text when trainer beaten
dw CooltrainerfBeth1BeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfBeth1Script
trainer EVENT_BEAT_COOLTRAINERF_BETH, COOLTRAINERF, BETH1, CooltrainerfBeth1SeenText, CooltrainerfBeth1BeatenText, $0000, CooltrainerfBeth1Script
CooltrainerfBeth1Script:
writecode VAR_CALLERID, $c
writecode VAR_CALLERID, PHONE_COOLTRAINERF_BETH
talkaftercancel
loadfont
checkflag ENGINE_BETH
iftrue UnknownScript_0x1a4e35
checkcellnum $c
checkcellnum PHONE_COOLTRAINERF_BETH
iftrue UnknownScript_0x1a4e87
checkevent EVENT_BETH_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1a4e1e
@ -206,7 +142,7 @@ CooltrainerfBeth1Script:
UnknownScript_0x1a4e1e:
scall UnknownScript_0x1a4e7f
UnknownScript_0x1a4e21:
askforphonenumber $c
askforphonenumber PHONE_COOLTRAINERF_BETH
if_equal $1, UnknownScript_0x1a4e8f
if_equal $2, UnknownScript_0x1a4e8b
trainertotext COOLTRAINERF, BETH1, $0
@ -278,23 +214,7 @@ UnknownScript_0x1a4e93:
end
TrainerPsychicRichard:
; bit/flag number
dw EVENT_BEAT_PSYCHIC_RICHARD
; trainer group && trainer id
db PSYCHIC_T, RICHARD
; text when seen
dw PsychicRichardSeenText
; text when trainer beaten
dw PsychicRichardBeatenText
; script when lost
dw $0000
; script when talk again
dw PsychicRichardScript
trainer EVENT_BEAT_PSYCHIC_RICHARD, PSYCHIC_T, RICHARD, PsychicRichardSeenText, PsychicRichardBeatenText, $0000, PsychicRichardScript
PsychicRichardScript:
talkaftercancel
@ -305,23 +225,7 @@ PsychicRichardScript:
end
TrainerFisherScott:
; bit/flag number
dw EVENT_BEAT_FISHER_SCOTT
; trainer group && trainer id
db FISHER, SCOTT
; text when seen
dw FisherScottSeenText
; text when trainer beaten
dw FisherScottBeatenText
; script when lost
dw $0000
; script when talk again
dw FisherScottScript
trainer EVENT_BEAT_FISHER_SCOTT, FISHER, SCOTT, FisherScottSeenText, FisherScottBeatenText, $0000, FisherScottScript
FisherScottScript:
talkaftercancel

View File

@ -40,23 +40,7 @@ FisherScript_0x1a089c:
jumptextfaceplayer UnknownText_0x1a0a71
TrainerPsychicGilbert:
; bit/flag number
dw EVENT_BEAT_PSYCHIC_GILBERT
; trainer group && trainer id
db PSYCHIC_T, GILBERT
; text when seen
dw PsychicGilbertSeenText
; text when trainer beaten
dw PsychicGilbertBeatenText
; script when lost
dw $0000
; script when talk again
dw PsychicGilbertScript
trainer EVENT_BEAT_PSYCHIC_GILBERT, PSYCHIC_T, GILBERT, PsychicGilbertSeenText, PsychicGilbertBeatenText, $0000, PsychicGilbertScript
PsychicGilbertScript:
talkaftercancel
@ -67,33 +51,17 @@ PsychicGilbertScript:
end
TrainerBird_keeperJose2:
; bit/flag number
dw EVENT_BEAT_BIRD_KEEPER_JOSE2
; trainer group && trainer id
db BIRD_KEEPER, JOSE2
; text when seen
dw Bird_keeperJose2SeenText
; text when trainer beaten
dw Bird_keeperJose2BeatenText
; script when lost
dw $0000
; script when talk again
dw Bird_keeperJose2Script
trainer EVENT_BEAT_BIRD_KEEPER_JOSE2, BIRD_KEEPER, JOSE2, Bird_keeperJose2SeenText, Bird_keeperJose2BeatenText, $0000, Bird_keeperJose2Script
Bird_keeperJose2Script:
writecode VAR_CALLERID, $d
writecode VAR_CALLERID, PHONE_BIRDKEEPER_JOSE
talkaftercancel
loadfont
checkflag ENGINE_JOSE
iftrue UnknownScript_0x1a08ff
checkflag ENGINE_JOSE_HAS_STAR_PIECE
iftrue UnknownScript_0x1a0945
checkcellnum $d
checkcellnum PHONE_BIRDKEEPER_JOSE
iftrue UnknownScript_0x1a0963
checkevent EVENT_JOSE_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1a08e8
@ -106,7 +74,7 @@ Bird_keeperJose2Script:
UnknownScript_0x1a08e8:
scall UnknownScript_0x1a095b
UnknownScript_0x1a08eb:
askforphonenumber $d
askforphonenumber PHONE_BIRDKEEPER_JOSE
if_equal $1, UnknownScript_0x1a096b
if_equal $2, UnknownScript_0x1a0967
trainertotext BIRD_KEEPER, JOSE2, $0
@ -196,23 +164,7 @@ UnknownScript_0x1a0977:
end
TrainerCooltrainermBlake:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERM_BLAKE
; trainer group && trainer id
db COOLTRAINERM, BLAKE
; text when seen
dw CooltrainermBlakeSeenText
; text when trainer beaten
dw CooltrainermBlakeBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainermBlakeScript
trainer EVENT_BEAT_COOLTRAINERM_BLAKE, COOLTRAINERM, BLAKE, CooltrainermBlakeSeenText, CooltrainermBlakeBeatenText, $0000, CooltrainermBlakeScript
CooltrainermBlakeScript:
talkaftercancel
@ -223,23 +175,7 @@ CooltrainermBlakeScript:
end
TrainerCooltrainermBrian:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERM_BRIAN
; trainer group && trainer id
db COOLTRAINERM, BRIAN
; text when seen
dw CooltrainermBrianSeenText
; text when trainer beaten
dw CooltrainermBrianBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainermBrianScript
trainer EVENT_BEAT_COOLTRAINERM_BRIAN, COOLTRAINERM, BRIAN, CooltrainermBrianSeenText, CooltrainermBrianBeatenText, $0000, CooltrainermBrianScript
CooltrainermBrianScript:
talkaftercancel
@ -250,31 +186,15 @@ CooltrainermBrianScript:
end
TrainerCooltrainerfReena:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERF_REENA
; trainer group && trainer id
db COOLTRAINERF, REENA1
; text when seen
dw CooltrainerfReena1SeenText
; text when trainer beaten
dw CooltrainerfReena1BeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfReena1Script
trainer EVENT_BEAT_COOLTRAINERF_REENA, COOLTRAINERF, REENA1, CooltrainerfReena1SeenText, CooltrainerfReena1BeatenText, $0000, CooltrainerfReena1Script
CooltrainerfReena1Script:
writecode VAR_CALLERID, $e
writecode VAR_CALLERID, PHONE_COOLTRAINERF_REENA
talkaftercancel
loadfont
checkflag ENGINE_REENA
iftrue UnknownScript_0x1a09e9
checkcellnum $e
checkcellnum PHONE_COOLTRAINERF_REENA
iftrue UnknownScript_0x1a0a3b
checkevent EVENT_REENA_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1a09d2
@ -287,7 +207,7 @@ CooltrainerfReena1Script:
UnknownScript_0x1a09d2:
scall UnknownScript_0x1a0a33
UnknownScript_0x1a09d5:
askforphonenumber $e
askforphonenumber PHONE_COOLTRAINERF_REENA
if_equal $1, UnknownScript_0x1a0a43
if_equal $2, UnknownScript_0x1a0a3f
trainertotext COOLTRAINERF, REENA1, $0
@ -359,23 +279,7 @@ UnknownScript_0x1a0a47:
end
TrainerCooltrainerfMegan:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERF_MEGAN
; trainer group && trainer id
db COOLTRAINERF, MEGAN
; text when seen
dw CooltrainerfMeganSeenText
; text when trainer beaten
dw CooltrainerfMeganBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfMeganScript
trainer EVENT_BEAT_COOLTRAINERF_MEGAN, COOLTRAINERF, MEGAN, CooltrainerfMeganSeenText, CooltrainerfMeganBeatenText, $0000, CooltrainerfMeganScript
CooltrainerfMeganScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route3_MapScriptHeader:
db 0
TrainerFirebreatherOtis:
; bit/flag number
dw EVENT_BEAT_FIREBREATHER_OTIS
; trainer group && trainer id
db FIREBREATHER, OTIS
; text when seen
dw FirebreatherOtisSeenText
; text when trainer beaten
dw FirebreatherOtisBeatenText
; script when lost
dw $0000
; script when talk again
dw FirebreatherOtisScript
trainer EVENT_BEAT_FIREBREATHER_OTIS, FIREBREATHER, OTIS, FirebreatherOtisSeenText, FirebreatherOtisBeatenText, $0000, FirebreatherOtisScript
FirebreatherOtisScript:
talkaftercancel
@ -33,23 +17,7 @@ FirebreatherOtisScript:
end
TrainerYoungsterWarren:
; bit/flag number
dw EVENT_BEAT_YOUNGSTER_WARREN
; trainer group && trainer id
db YOUNGSTER, WARREN
; text when seen
dw YoungsterWarrenSeenText
; text when trainer beaten
dw YoungsterWarrenBeatenText
; script when lost
dw $0000
; script when talk again
dw YoungsterWarrenScript
trainer EVENT_BEAT_YOUNGSTER_WARREN, YOUNGSTER, WARREN, YoungsterWarrenSeenText, YoungsterWarrenBeatenText, $0000, YoungsterWarrenScript
YoungsterWarrenScript:
talkaftercancel
@ -60,23 +28,7 @@ YoungsterWarrenScript:
end
TrainerYoungsterJimmy:
; bit/flag number
dw EVENT_BEAT_YOUNGSTER_JIMMY
; trainer group && trainer id
db YOUNGSTER, JIMMY
; text when seen
dw YoungsterJimmySeenText
; text when trainer beaten
dw YoungsterJimmyBeatenText
; script when lost
dw $0000
; script when talk again
dw YoungsterJimmyScript
trainer EVENT_BEAT_YOUNGSTER_JIMMY, YOUNGSTER, JIMMY, YoungsterJimmySeenText, YoungsterJimmyBeatenText, $0000, YoungsterJimmyScript
YoungsterJimmyScript:
talkaftercancel
@ -87,23 +39,7 @@ YoungsterJimmyScript:
end
TrainerFirebreatherBurt:
; bit/flag number
dw EVENT_BEAT_FIREBREATHER_BURT
; trainer group && trainer id
db FIREBREATHER, BURT
; text when seen
dw FirebreatherBurtSeenText
; text when trainer beaten
dw FirebreatherBurtBeatenText
; script when lost
dw $0000
; script when talk again
dw FirebreatherBurtScript
trainer EVENT_BEAT_FIREBREATHER_BURT, FIREBREATHER, BURT, FirebreatherBurtSeenText, FirebreatherBurtBeatenText, $0000, FirebreatherBurtScript
FirebreatherBurtScript:
talkaftercancel

View File

@ -26,31 +26,15 @@ YoungsterScript_0x1a1673:
end
TrainerYoungsterJoey:
; bit/flag number
dw EVENT_BEAT_YOUNGSTER_JOEY
; trainer group && trainer id
db YOUNGSTER, JOEY1
; text when seen
dw YoungsterJoey1SeenText
; text when trainer beaten
dw YoungsterJoey1BeatenText
; script when lost
dw $0000
; script when talk again
dw YoungsterJoey1Script
trainer EVENT_BEAT_YOUNGSTER_JOEY, YOUNGSTER, JOEY1, YoungsterJoey1SeenText, YoungsterJoey1BeatenText, $0000, YoungsterJoey1Script
YoungsterJoey1Script:
writecode VAR_CALLERID, $f
writecode VAR_CALLERID, PHONE_YOUNGSTER_JOEY
talkaftercancel
loadfont
checkflag ENGINE_JOEY
iftrue UnknownScript_0x1a16e0
checkcellnum $f
checkcellnum PHONE_YOUNGSTER_JOEY
iftrue UnknownScript_0x1a178f
checkevent EVENT_JOEY_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1a16c9
@ -63,7 +47,7 @@ YoungsterJoey1Script:
UnknownScript_0x1a16c9:
scall UnknownScript_0x1a1787
UnknownScript_0x1a16cc:
askforphonenumber $f
askforphonenumber PHONE_YOUNGSTER_JOEY
if_equal $1, UnknownScript_0x1a1797
if_equal $2, UnknownScript_0x1a1793
trainertotext YOUNGSTER, JOEY1, $0
@ -189,23 +173,7 @@ UnknownScript_0x1a17a6:
end
TrainerYoungsterMikey:
; bit/flag number
dw EVENT_BEAT_YOUNGSTER_MIKEY
; trainer group && trainer id
db YOUNGSTER, MIKEY
; text when seen
dw YoungsterMikeySeenText
; text when trainer beaten
dw YoungsterMikeyBeatenText
; script when lost
dw $0000
; script when talk again
dw YoungsterMikeyScript
trainer EVENT_BEAT_YOUNGSTER_MIKEY, YOUNGSTER, MIKEY, YoungsterMikeySeenText, YoungsterMikeyBeatenText, $0000, YoungsterMikeyScript
YoungsterMikeyScript:
talkaftercancel
@ -216,23 +184,7 @@ YoungsterMikeyScript:
end
TrainerBug_catcherDon:
; bit/flag number
dw EVENT_BEAT_BUG_CATCHER_DON
; trainer group && trainer id
db BUG_CATCHER, DON
; text when seen
dw Bug_catcherDonSeenText
; text when trainer beaten
dw Bug_catcherDonBeatenText
; script when lost
dw $0000
; script when talk again
dw Bug_catcherDonScript
trainer EVENT_BEAT_BUG_CATCHER_DON, BUG_CATCHER, DON, Bug_catcherDonSeenText, Bug_catcherDonBeatenText, $0000, Bug_catcherDonScript
Bug_catcherDonScript:
talkaftercancel

View File

@ -19,33 +19,17 @@ UnknownScript_0x1a5443:
return
TrainerBug_catcherWade1:
; bit/flag number
dw EVENT_BEAT_BUG_CATCHER_WADE
; trainer group && trainer id
db BUG_CATCHER, WADE1
; text when seen
dw Bug_catcherWade1SeenText
; text when trainer beaten
dw Bug_catcherWade1BeatenText
; script when lost
dw $0000
; script when talk again
dw Bug_catcherWade1Script
trainer EVENT_BEAT_BUG_CATCHER_WADE, BUG_CATCHER, WADE1, Bug_catcherWade1SeenText, Bug_catcherWade1BeatenText, $0000, Bug_catcherWade1Script
Bug_catcherWade1Script:
writecode VAR_CALLERID, $10
writecode VAR_CALLERID, PHONE_BUG_CATCHER_WADE
talkaftercancel
loadfont
checkflag ENGINE_WADE
iftrue UnknownScript_0x1a5493
checkflag ENGINE_WADE_HAS_ITEM
iftrue UnknownScript_0x1a5507
checkcellnum $10
checkcellnum PHONE_BUG_CATCHER_WADE
iftrue UnknownScript_0x1a5558
checkevent EVENT_WADE_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1a547c
@ -58,7 +42,7 @@ Bug_catcherWade1Script:
UnknownScript_0x1a547c:
scall UnknownScript_0x1a5550
UnknownScript_0x1a547f:
askforphonenumber $10
askforphonenumber PHONE_BUG_CATCHER_WADE
if_equal $1, UnknownScript_0x1a5560
if_equal $2, UnknownScript_0x1a555c
trainertotext BUG_CATCHER, WADE1, $0

View File

@ -133,23 +133,7 @@ UnknownScript_0x190503:
end
TrainerCamperRoland:
; bit/flag number
dw EVENT_BEAT_CAMPER_ROLAND
; trainer group && trainer id
db CAMPER, ROLAND
; text when seen
dw CamperRolandSeenText
; text when trainer beaten
dw CamperRolandBeatenText
; script when lost
dw $0000
; script when talk again
dw CamperRolandScript
trainer EVENT_BEAT_CAMPER_ROLAND, CAMPER, ROLAND, CamperRolandSeenText, CamperRolandBeatenText, $0000, CamperRolandScript
CamperRolandScript:
talkaftercancel
@ -160,23 +144,7 @@ CamperRolandScript:
end
TrainerFisherJustin:
; bit/flag number
dw EVENT_BEAT_FISHER_JUSTIN
; trainer group && trainer id
db FISHER, JUSTIN
; text when seen
dw FisherJustinSeenText
; text when trainer beaten
dw FisherJustinBeatenText
; script when lost
dw $0000
; script when talk again
dw FisherJustinScript
trainer EVENT_BEAT_FISHER_JUSTIN, FISHER, JUSTIN, FisherJustinSeenText, FisherJustinBeatenText, $0000, FisherJustinScript
FisherJustinScript:
talkaftercancel
@ -187,33 +155,17 @@ FisherJustinScript:
end
TrainerFisherRalph1:
; bit/flag number
dw EVENT_BEAT_FISHER_RALPH
; trainer group && trainer id
db FISHER, RALPH1
; text when seen
dw FisherRalph1SeenText
; text when trainer beaten
dw FisherRalph1BeatenText
; script when lost
dw $0000
; script when talk again
dw FisherRalph1Script
trainer EVENT_BEAT_FISHER_RALPH, FISHER, RALPH1, FisherRalph1SeenText, FisherRalph1BeatenText, $0000, FisherRalph1Script
FisherRalph1Script:
writecode VAR_CALLERID, $11
writecode VAR_CALLERID, PHONE_FISHER_RALPH
talkaftercancel
loadfont
checkflag ENGINE_RALPH
iftrue UnknownScript_0x19057d
checkflag ENGINE_SPECIAL_WILDDATA
iftrue UnknownScript_0x1905f1
checkcellnum $11
checkcellnum PHONE_FISHER_RALPH
iftrue UnknownScript_0x190603
checkevent EVENT_RALPH_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x190566
@ -226,7 +178,7 @@ FisherRalph1Script:
UnknownScript_0x190566:
scall UnknownScript_0x1905fb
UnknownScript_0x190569:
askforphonenumber $11
askforphonenumber PHONE_FISHER_RALPH
if_equal $1, UnknownScript_0x19060b
if_equal $2, UnknownScript_0x190607
trainertotext FISHER, RALPH1, $0
@ -328,23 +280,7 @@ UnknownScript_0x19060f:
end
TrainerFisherHenry:
; bit/flag number
dw EVENT_BEAT_FISHER_HENRY
; trainer group && trainer id
db FISHER, HENRY
; text when seen
dw FisherHenrySeenText
; text when trainer beaten
dw FisherHenryBeatenText
; script when lost
dw $0000
; script when talk again
dw FisherHenryScript
trainer EVENT_BEAT_FISHER_HENRY, FISHER, HENRY, FisherHenrySeenText, FisherHenryBeatenText, $0000, FisherHenryScript
FisherHenryScript:
talkaftercancel
@ -355,31 +291,15 @@ FisherHenryScript:
end
TrainerPicnickerLiz1:
; bit/flag number
dw EVENT_BEAT_PICNICKER_LIZ
; trainer group && trainer id
db PICNICKER, LIZ1
; text when seen
dw PicnickerLiz1SeenText
; text when trainer beaten
dw PicnickerLiz1BeatenText
; script when lost
dw $0000
; script when talk again
dw PicnickerLiz1Script
trainer EVENT_BEAT_PICNICKER_LIZ, PICNICKER, LIZ1, PicnickerLiz1SeenText, PicnickerLiz1BeatenText, $0000, PicnickerLiz1Script
PicnickerLiz1Script:
writecode VAR_CALLERID, $12
writecode VAR_CALLERID, PHONE_PICNICKER_LIZ
talkaftercancel
loadfont
checkflag ENGINE_LIZ
iftrue UnknownScript_0x19066d
checkcellnum $12
checkcellnum PHONE_PICNICKER_LIZ
iftrue UnknownScript_0x1906ed
checkevent EVENT_LIZ_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x190656
@ -392,7 +312,7 @@ PicnickerLiz1Script:
UnknownScript_0x190656:
scall UnknownScript_0x1906e5
UnknownScript_0x190659:
askforphonenumber $12
askforphonenumber PHONE_PICNICKER_LIZ
if_equal $1, UnknownScript_0x1906f5
if_equal $2, UnknownScript_0x1906f1
trainertotext PICNICKER, LIZ1, $0
@ -488,23 +408,7 @@ UnknownScript_0x1906f9:
end
TrainerYoungsterAlbert:
; bit/flag number
dw EVENT_BEAT_YOUNGSTER_ALBERT
; trainer group && trainer id
db YOUNGSTER, ALBERT
; text when seen
dw YoungsterAlbertSeenText
; text when trainer beaten
dw YoungsterAlbertBeatenText
; script when lost
dw $0000
; script when talk again
dw YoungsterAlbertScript
trainer EVENT_BEAT_YOUNGSTER_ALBERT, YOUNGSTER, ALBERT, YoungsterAlbertSeenText, YoungsterAlbertBeatenText, $0000, YoungsterAlbertScript
YoungsterAlbertScript:
talkaftercancel
@ -515,23 +419,7 @@ YoungsterAlbertScript:
end
TrainerYoungsterGordon:
; bit/flag number
dw EVENT_BEAT_YOUNGSTER_GORDON
; trainer group && trainer id
db YOUNGSTER, GORDON
; text when seen
dw YoungsterGordonSeenText
; text when trainer beaten
dw YoungsterGordonBeatenText
; script when lost
dw $0000
; script when talk again
dw YoungsterGordonScript
trainer EVENT_BEAT_YOUNGSTER_GORDON, YOUNGSTER, GORDON, YoungsterGordonSeenText, YoungsterGordonBeatenText, $0000, YoungsterGordonScript
YoungsterGordonScript:
talkaftercancel
@ -542,23 +430,7 @@ YoungsterGordonScript:
end
TrainerBird_keeperPeter:
; bit/flag number
dw EVENT_BEAT_BIRD_KEEPER_PETER
; trainer group && trainer id
db BIRD_KEEPER, PETER
; text when seen
dw Bird_keeperPeterSeenText
; text when trainer beaten
dw Bird_keeperPeterBeatenText
; script when lost
dw $0000
; script when talk again
dw Bird_keeperPeterScript
trainer EVENT_BEAT_BIRD_KEEPER_PETER, BIRD_KEEPER, PETER, Bird_keeperPeterSeenText, Bird_keeperPeterBeatenText, $0000, Bird_keeperPeterScript
Bird_keeperPeterScript:
talkaftercancel

View File

@ -9,33 +9,17 @@ LassScript_0x1ac002:
jumptextfaceplayer UnknownText_0x1ac1e7
TrainerHikerAnthony:
; bit/flag number
dw EVENT_BEAT_HIKER_ANTHONY
; trainer group && trainer id
db HIKER, ANTHONY2
; text when seen
dw HikerAnthony2SeenText
; text when trainer beaten
dw HikerAnthony2BeatenText
; script when lost
dw $0000
; script when talk again
dw HikerAnthony2Script
trainer EVENT_BEAT_HIKER_ANTHONY, HIKER, ANTHONY2, HikerAnthony2SeenText, HikerAnthony2BeatenText, $0000, HikerAnthony2Script
HikerAnthony2Script:
writecode VAR_CALLERID, $13
writecode VAR_CALLERID, PHONE_HIKER_ANTHONY
talkaftercancel
loadfont
checkflag ENGINE_ANTHONY
iftrue UnknownScript_0x1ac051
checkflag ENGINE_DUNSPARCE_SWARM
iftrue UnknownScript_0x1ac0c5
checkcellnum $13
checkcellnum PHONE_HIKER_ANTHONY
iftrue UnknownScript_0x1ac0d7
checkevent EVENT_ANTHONY_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1ac03a
@ -48,7 +32,7 @@ HikerAnthony2Script:
UnknownScript_0x1ac03a:
scall UnknownScript_0x1ac0cf
UnknownScript_0x1ac03d:
askforphonenumber $13
askforphonenumber PHONE_HIKER_ANTHONY
if_equal $1, UnknownScript_0x1ac0df
if_equal $2, UnknownScript_0x1ac0db
trainertotext HIKER, ANTHONY2, $0

View File

@ -76,33 +76,17 @@ DaycareMon2Script_0x7806b:
end
TrainerCamperTodd1:
; bit/flag number
dw EVENT_BEAT_CAMPER_TODD
; trainer group && trainer id
db CAMPER, TODD1
; text when seen
dw CamperTodd1SeenText
; text when trainer beaten
dw CamperTodd1BeatenText
; script when lost
dw $0000
; script when talk again
dw CamperTodd1Script
trainer EVENT_BEAT_CAMPER_TODD, CAMPER, TODD1, CamperTodd1SeenText, CamperTodd1BeatenText, $0000, CamperTodd1Script
CamperTodd1Script:
writecode VAR_CALLERID, $14
writecode VAR_CALLERID, PHONE_CAMPER_TODD
talkaftercancel
loadfont
checkflag ENGINE_TODD
iftrue UnknownScript_0x780bd
checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
iftrue UnknownScript_0x78131
checkcellnum $14
checkcellnum PHONE_CAMPER_TODD
iftrue UnknownScript_0x78143
checkevent EVENT_TODD_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x780a6
@ -115,7 +99,7 @@ CamperTodd1Script:
UnknownScript_0x780a6:
scall UnknownScript_0x7813b
UnknownScript_0x780a9:
askforphonenumber $14
askforphonenumber PHONE_CAMPER_TODD
if_equal $1, UnknownScript_0x7814b
if_equal $2, UnknownScript_0x78147
trainertotext CAMPER, TODD1, $0
@ -217,33 +201,17 @@ UnknownScript_0x7814f:
end
TrainerPicnickerGina1:
; bit/flag number
dw EVENT_BEAT_PICNICKER_GINA
; trainer group && trainer id
db PICNICKER, GINA1
; text when seen
dw PicnickerGina1SeenText
; text when trainer beaten
dw PicnickerGina1BeatenText
; script when lost
dw $0000
; script when talk again
dw PicnickerGina1Script
trainer EVENT_BEAT_PICNICKER_GINA, PICNICKER, GINA1, PicnickerGina1SeenText, PicnickerGina1BeatenText, $0000, PicnickerGina1Script
PicnickerGina1Script:
writecode VAR_CALLERID, $15
writecode VAR_CALLERID, PHONE_PICNICKER_GINA
talkaftercancel
loadfont
checkflag ENGINE_GINA
iftrue UnknownScript_0x7819f
checkflag ENGINE_GINA_HAS_LEAF_STONE
iftrue UnknownScript_0x78213
checkcellnum $15
checkcellnum PHONE_PICNICKER_GINA
iftrue UnknownScript_0x78234
checkevent EVENT_GINA_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x78188
@ -256,7 +224,7 @@ PicnickerGina1Script:
UnknownScript_0x78188:
scall UnknownScript_0x7822c
UnknownScript_0x7818b:
askforphonenumber $15
askforphonenumber PHONE_PICNICKER_GINA
if_equal $1, UnknownScript_0x7823c
if_equal $2, UnknownScript_0x78238
trainertotext PICNICKER, GINA1, $0
@ -402,23 +370,7 @@ UnknownScript_0x78276:
end
TrainerYoungsterSamuel:
; bit/flag number
dw EVENT_BEAT_YOUNGSTER_SAMUEL
; trainer group && trainer id
db YOUNGSTER, SAMUEL
; text when seen
dw YoungsterSamuelSeenText
; text when trainer beaten
dw YoungsterSamuelBeatenText
; script when lost
dw $0000
; script when talk again
dw YoungsterSamuelScript
trainer EVENT_BEAT_YOUNGSTER_SAMUEL, YOUNGSTER, SAMUEL, YoungsterSamuelSeenText, YoungsterSamuelBeatenText, $0000, YoungsterSamuelScript
YoungsterSamuelScript:
talkaftercancel
@ -429,23 +381,7 @@ YoungsterSamuelScript:
end
TrainerYoungsterIan:
; bit/flag number
dw EVENT_BEAT_YOUNGSTER_IAN
; trainer group && trainer id
db YOUNGSTER, IAN
; text when seen
dw YoungsterIanSeenText
; text when trainer beaten
dw YoungsterIanBeatenText
; script when lost
dw $0000
; script when talk again
dw YoungsterIanScript
trainer EVENT_BEAT_YOUNGSTER_IAN, YOUNGSTER, IAN, YoungsterIanSeenText, YoungsterIanBeatenText, $0000, YoungsterIanScript
YoungsterIanScript:
talkaftercancel
@ -456,23 +392,7 @@ YoungsterIanScript:
end
TrainerPokefanmBrandon:
; bit/flag number
dw EVENT_BEAT_POKEFANM_BRANDON
; trainer group && trainer id
db POKEFANM, BRANDON
; text when seen
dw PokefanmBrandonSeenText
; text when trainer beaten
dw PokefanmBrandonBeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanmBrandonScript
trainer EVENT_BEAT_POKEFANM_BRANDON, POKEFANM, BRANDON, PokefanmBrandonSeenText, PokefanmBrandonBeatenText, $0000, PokefanmBrandonScript
PokefanmBrandonScript:
talkaftercancel
@ -483,23 +403,7 @@ PokefanmBrandonScript:
end
TrainerCooltrainerfIrene:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERF_IRENE
; trainer group && trainer id
db COOLTRAINERF, IRENE
; text when seen
dw CooltrainerfIreneSeenText
; text when trainer beaten
dw CooltrainerfIreneBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfIreneScript
trainer EVENT_BEAT_COOLTRAINERF_IRENE, COOLTRAINERF, IRENE, CooltrainerfIreneSeenText, CooltrainerfIreneBeatenText, $0000, CooltrainerfIreneScript
CooltrainerfIreneScript:
talkaftercancel
@ -518,23 +422,7 @@ UnknownScript_0x782d2:
end
TrainerCooltrainerfJenn:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERF_JENN
; trainer group && trainer id
db COOLTRAINERF, JENN
; text when seen
dw CooltrainerfJennSeenText
; text when trainer beaten
dw CooltrainerfJennBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfJennScript
trainer EVENT_BEAT_COOLTRAINERF_JENN, COOLTRAINERF, JENN, CooltrainerfJennSeenText, CooltrainerfJennBeatenText, $0000, CooltrainerfJennScript
CooltrainerfJennScript:
talkaftercancel
@ -553,23 +441,7 @@ UnknownScript_0x782f2:
end
TrainerCooltrainerfKate:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERF_KATE
; trainer group && trainer id
db COOLTRAINERF, KATE
; text when seen
dw CooltrainerfKateSeenText
; text when trainer beaten
dw CooltrainerfKateBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfKateScript
trainer EVENT_BEAT_COOLTRAINERF_KATE, COOLTRAINERF, KATE, CooltrainerfKateSeenText, CooltrainerfKateBeatenText, $0000, CooltrainerfKateScript
CooltrainerfKateScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route35_MapScriptHeader:
db 0
TrainerBird_keeperBryan:
; bit/flag number
dw EVENT_BEAT_BIRD_KEEPER_BRYAN
; trainer group && trainer id
db BIRD_KEEPER, BRYAN
; text when seen
dw Bird_keeperBryanSeenText
; text when trainer beaten
dw Bird_keeperBryanBeatenText
; script when lost
dw $0000
; script when talk again
dw Bird_keeperBryanScript
trainer EVENT_BEAT_BIRD_KEEPER_BRYAN, BIRD_KEEPER, BRYAN, Bird_keeperBryanSeenText, Bird_keeperBryanBeatenText, $0000, Bird_keeperBryanScript
Bird_keeperBryanScript:
talkaftercancel
@ -33,29 +17,13 @@ Bird_keeperBryanScript:
end
TrainerJugglerIrwin:
; bit/flag number
dw EVENT_BEAT_JUGGLER_IRWIN
; trainer group && trainer id
db JUGGLER, IRWIN1
; text when seen
dw JugglerIrwin1SeenText
; text when trainer beaten
dw JugglerIrwin1BeatenText
; script when lost
dw $0000
; script when talk again
dw JugglerIrwin1Script
trainer EVENT_BEAT_JUGGLER_IRWIN, JUGGLER, IRWIN1, JugglerIrwin1SeenText, JugglerIrwin1BeatenText, $0000, JugglerIrwin1Script
JugglerIrwin1Script:
writecode VAR_CALLERID, $16
writecode VAR_CALLERID, PHONE_JUGGLER_IRWIN
talkaftercancel
loadfont
checkcellnum $16
checkcellnum PHONE_JUGGLER_IRWIN
iftrue UnknownScript_0x19c90f
checkevent EVENT_IRWIN_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x19c8ec
@ -68,7 +36,7 @@ JugglerIrwin1Script:
UnknownScript_0x19c8ec:
scall UnknownScript_0x19c907
UnknownScript_0x19c8ef:
askforphonenumber $16
askforphonenumber PHONE_JUGGLER_IRWIN
if_equal $1, UnknownScript_0x19c917
if_equal $2, UnknownScript_0x19c913
trainertotext JUGGLER, IRWIN1, $0
@ -104,23 +72,7 @@ UnknownScript_0x19c91b:
end
TrainerCamperIvan:
; bit/flag number
dw EVENT_BEAT_CAMPER_IVAN
; trainer group && trainer id
db CAMPER, IVAN
; text when seen
dw CamperIvanSeenText
; text when trainer beaten
dw CamperIvanBeatenText
; script when lost
dw $0000
; script when talk again
dw CamperIvanScript
trainer EVENT_BEAT_CAMPER_IVAN, CAMPER, IVAN, CamperIvanSeenText, CamperIvanBeatenText, $0000, CamperIvanScript
CamperIvanScript:
talkaftercancel
@ -131,23 +83,7 @@ CamperIvanScript:
end
TrainerCamperElliot:
; bit/flag number
dw EVENT_BEAT_CAMPER_ELLIOT
; trainer group && trainer id
db CAMPER, ELLIOT
; text when seen
dw CamperElliotSeenText
; text when trainer beaten
dw CamperElliotBeatenText
; script when lost
dw $0000
; script when talk again
dw CamperElliotScript
trainer EVENT_BEAT_CAMPER_ELLIOT, CAMPER, ELLIOT, CamperElliotSeenText, CamperElliotBeatenText, $0000, CamperElliotScript
CamperElliotScript:
talkaftercancel
@ -158,23 +94,7 @@ CamperElliotScript:
end
TrainerPicnickerBrooke:
; bit/flag number
dw EVENT_BEAT_PICNICKER_BROOKE
; trainer group && trainer id
db PICNICKER, BROOKE
; text when seen
dw PicnickerBrookeSeenText
; text when trainer beaten
dw PicnickerBrookeBeatenText
; script when lost
dw $0000
; script when talk again
dw PicnickerBrookeScript
trainer EVENT_BEAT_PICNICKER_BROOKE, PICNICKER, BROOKE, PicnickerBrookeSeenText, PicnickerBrookeBeatenText, $0000, PicnickerBrookeScript
PicnickerBrookeScript:
talkaftercancel
@ -185,23 +105,7 @@ PicnickerBrookeScript:
end
TrainerPicnickerKim:
; bit/flag number
dw EVENT_BEAT_PICNICKER_KIM
; trainer group && trainer id
db PICNICKER, KIM
; text when seen
dw PicnickerKimSeenText
; text when trainer beaten
dw PicnickerKimBeatenText
; script when lost
dw $0000
; script when talk again
dw PicnickerKimScript
trainer EVENT_BEAT_PICNICKER_KIM, PICNICKER, KIM, PicnickerKimSeenText, PicnickerKimBeatenText, $0000, PicnickerKimScript
PicnickerKimScript:
talkaftercancel
@ -212,33 +116,17 @@ PicnickerKimScript:
end
TrainerBug_catcherArnie1:
; bit/flag number
dw EVENT_BEAT_BUG_CATCHER_ARNIE
; trainer group && trainer id
db BUG_CATCHER, ARNIE1
; text when seen
dw Bug_catcherArnie1SeenText
; text when trainer beaten
dw Bug_catcherArnie1BeatenText
; script when lost
dw $0000
; script when talk again
dw Bug_catcherArnie1Script
trainer EVENT_BEAT_BUG_CATCHER_ARNIE, BUG_CATCHER, ARNIE1, Bug_catcherArnie1SeenText, Bug_catcherArnie1BeatenText, $0000, Bug_catcherArnie1Script
Bug_catcherArnie1Script:
writecode VAR_CALLERID, $17
writecode VAR_CALLERID, PHONE_BUG_CATCHER_ARNIE
talkaftercancel
loadfont
checkflag ENGINE_ARNIE
iftrue UnknownScript_0x19c9bb
checkflag ENGINE_YANMA_SWARM
iftrue UnknownScript_0x19ca2f
checkcellnum $17
checkcellnum PHONE_BUG_CATCHER_ARNIE
iftrue UnknownScript_0x19c90f
checkevent EVENT_ARNIE_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x19c9a4
@ -251,7 +139,7 @@ Bug_catcherArnie1Script:
UnknownScript_0x19c9a4:
scall UnknownScript_0x19c907
UnknownScript_0x19c9a7:
askforphonenumber $17
askforphonenumber PHONE_BUG_CATCHER_ARNIE
if_equal $1, UnknownScript_0x19c917
if_equal $2, UnknownScript_0x19c913
trainertotext BUG_CATCHER, ARNIE1, $0
@ -325,23 +213,7 @@ UnknownScript_0x19ca2f:
end
TrainerFirebreatherWalt:
; bit/flag number
dw EVENT_BEAT_FIREBREATHER_WALT
; trainer group && trainer id
db FIREBREATHER, WALT
; text when seen
dw FirebreatherWaltSeenText
; text when trainer beaten
dw FirebreatherWaltBeatenText
; script when lost
dw $0000
; script when talk again
dw FirebreatherWaltScript
trainer EVENT_BEAT_FIREBREATHER_WALT, FIREBREATHER, WALT, FirebreatherWaltSeenText, FirebreatherWaltBeatenText, $0000, FirebreatherWaltScript
FirebreatherWaltScript:
talkaftercancel

View File

@ -162,33 +162,17 @@ UnknownScript_0x1940ee:
end
TrainerSchoolboyAlan1:
; bit/flag number
dw EVENT_BEAT_SCHOOLBOY_ALAN
; trainer group && trainer id
db SCHOOLBOY, ALAN1
; text when seen
dw SchoolboyAlan1SeenText
; text when trainer beaten
dw SchoolboyAlan1BeatenText
; script when lost
dw $0000
; script when talk again
dw SchoolboyAlan1Script
trainer EVENT_BEAT_SCHOOLBOY_ALAN, SCHOOLBOY, ALAN1, SchoolboyAlan1SeenText, SchoolboyAlan1BeatenText, $0000, SchoolboyAlan1Script
SchoolboyAlan1Script:
writecode VAR_CALLERID, $18
writecode VAR_CALLERID, PHONE_SCHOOLBOY_ALAN
talkaftercancel
loadfont
checkflag ENGINE_ALAN
iftrue UnknownScript_0x194140
checkflag ENGINE_ALAN_HAS_FIRE_STONE
iftrue UnknownScript_0x1941b4
checkcellnum $18
checkcellnum PHONE_SCHOOLBOY_ALAN
iftrue UnknownScript_0x1941d5
checkevent EVENT_ALAN_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x194129
@ -201,7 +185,7 @@ SchoolboyAlan1Script:
UnknownScript_0x194129:
scall UnknownScript_0x1941cd
UnknownScript_0x19412c:
askforphonenumber $18
askforphonenumber PHONE_SCHOOLBOY_ALAN
if_equal $1, UnknownScript_0x1941dd
if_equal $2, UnknownScript_0x1941d9
trainertotext SCHOOLBOY, ALAN1, $0
@ -316,23 +300,7 @@ UnknownScript_0x1941e9:
end
TrainerPsychicMark:
; bit/flag number
dw EVENT_BEAT_PSYCHIC_MARK
; trainer group && trainer id
db PSYCHIC_T, MARK
; text when seen
dw PsychicMarkSeenText
; text when trainer beaten
dw PsychicMarkBeatenText
; script when lost
dw $0000
; script when talk again
dw PsychicMarkScript
trainer EVENT_BEAT_PSYCHIC_MARK, PSYCHIC_T, MARK, PsychicMarkSeenText, PsychicMarkBeatenText, $0000, PsychicMarkScript
PsychicMarkScript:
talkaftercancel

View File

@ -20,23 +20,7 @@ SunnyCallback:
return
TrainerTwinsAnnandanne1:
; bit/flag number
dw EVENT_BEAT_TWINS_ANN_AND_ANNE
; trainer group && trainer id
db TWINS, ANNANDANNE1
; text when seen
dw TwinsAnnandanne1SeenText
; text when trainer beaten
dw TwinsAnnandanne1BeatenText
; script when lost
dw $0000
; script when talk again
dw TwinsAnnandanne1Script
trainer EVENT_BEAT_TWINS_ANN_AND_ANNE, TWINS, ANNANDANNE1, TwinsAnnandanne1SeenText, TwinsAnnandanne1BeatenText, $0000, TwinsAnnandanne1Script
TwinsAnnandanne1Script:
talkaftercancel
@ -47,23 +31,7 @@ TwinsAnnandanne1Script:
end
TrainerTwinsAnnandanne2:
; bit/flag number
dw EVENT_BEAT_TWINS_ANN_AND_ANNE
; trainer group && trainer id
db TWINS, ANNANDANNE2
; text when seen
dw TwinsAnnandanne2SeenText
; text when trainer beaten
dw TwinsAnnandanne2BeatenText
; script when lost
dw $0000
; script when talk again
dw TwinsAnnandanne2Script
trainer EVENT_BEAT_TWINS_ANN_AND_ANNE, TWINS, ANNANDANNE2, TwinsAnnandanne2SeenText, TwinsAnnandanne2BeatenText, $0000, TwinsAnnandanne2Script
TwinsAnnandanne2Script:
talkaftercancel
@ -74,23 +42,7 @@ TwinsAnnandanne2Script:
end
TrainerPsychicGreg:
; bit/flag number
dw EVENT_BEAT_PSYCHIC_GREG
; trainer group && trainer id
db PSYCHIC_T, GREG
; text when seen
dw PsychicGregSeenText
; text when trainer beaten
dw PsychicGregBeatenText
; script when lost
dw $0000
; script when talk again
dw PsychicGregScript
trainer EVENT_BEAT_PSYCHIC_GREG, PSYCHIC_T, GREG, PsychicGregSeenText, PsychicGregBeatenText, $0000, PsychicGregScript
PsychicGregScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route38_MapScriptHeader:
db 0
TrainerBird_keeperToby:
; bit/flag number
dw EVENT_BEAT_BIRD_KEEPER_TOBY
; trainer group && trainer id
db BIRD_KEEPER, TOBY
; text when seen
dw Bird_keeperTobySeenText
; text when trainer beaten
dw Bird_keeperTobyBeatenText
; script when lost
dw $0000
; script when talk again
dw Bird_keeperTobyScript
trainer EVENT_BEAT_BIRD_KEEPER_TOBY, BIRD_KEEPER, TOBY, Bird_keeperTobySeenText, Bird_keeperTobyBeatenText, $0000, Bird_keeperTobyScript
Bird_keeperTobyScript:
talkaftercancel
@ -33,23 +17,7 @@ Bird_keeperTobyScript:
end
TrainerSailorHarry:
; bit/flag number
dw EVENT_BEAT_SAILOR_HARRY
; trainer group && trainer id
db SAILOR, HARRY
; text when seen
dw SailorHarrySeenText
; text when trainer beaten
dw SailorHarryBeatenText
; script when lost
dw $0000
; script when talk again
dw SailorHarryScript
trainer EVENT_BEAT_SAILOR_HARRY, SAILOR, HARRY, SailorHarrySeenText, SailorHarryBeatenText, $0000, SailorHarryScript
SailorHarryScript:
talkaftercancel
@ -60,33 +28,17 @@ SailorHarryScript:
end
TrainerLassDana1:
; bit/flag number
dw EVENT_BEAT_LASS_DANA
; trainer group && trainer id
db LASS, DANA1
; text when seen
dw LassDana1SeenText
; text when trainer beaten
dw LassDana1BeatenText
; script when lost
dw $0000
; script when talk again
dw LassDana1Script
trainer EVENT_BEAT_LASS_DANA, LASS, DANA1, LassDana1SeenText, LassDana1BeatenText, $0000, LassDana1Script
LassDana1Script:
writecode VAR_CALLERID, $1a
writecode VAR_CALLERID, PHONE_LASS_DANA
talkaftercancel
loadfont
checkflag ENGINE_DANA
iftrue UnknownScript_0x1a1d82
checkflag ENGINE_LIZ_HAS_THUNDERSTONE
iftrue UnknownScript_0x1a1df6
checkcellnum $1a
checkcellnum PHONE_LASS_DANA
iftrue UnknownScript_0x1a1e17
checkevent EVENT_DANA_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1a1d6b
@ -99,7 +51,7 @@ LassDana1Script:
UnknownScript_0x1a1d6b:
scall UnknownScript_0x1a1e0f
UnknownScript_0x1a1d6e:
askforphonenumber $1a
askforphonenumber PHONE_LASS_DANA
if_equal $1, UnknownScript_0x1a1e1f
if_equal $2, UnknownScript_0x1a1e1b
trainertotext LASS, DANA1, $0
@ -214,31 +166,15 @@ UnknownScript_0x1a1e2b:
end
TrainerSchoolboyChad1:
; bit/flag number
dw EVENT_BEAT_SCHOOLBOY_CHAD
; trainer group && trainer id
db SCHOOLBOY, CHAD1
; text when seen
dw SchoolboyChad1SeenText
; text when trainer beaten
dw SchoolboyChad1BeatenText
; script when lost
dw $0000
; script when talk again
dw SchoolboyChad1Script
trainer EVENT_BEAT_SCHOOLBOY_CHAD, SCHOOLBOY, CHAD1, SchoolboyChad1SeenText, SchoolboyChad1BeatenText, $0000, SchoolboyChad1Script
SchoolboyChad1Script:
writecode VAR_CALLERID, $1b
writecode VAR_CALLERID, PHONE_SCHOOLBOY_CHAD
talkaftercancel
loadfont
checkflag ENGINE_CHAD
iftrue UnknownScript_0x1a1e75
checkcellnum $1b
checkcellnum PHONE_SCHOOLBOY_CHAD
iftrue UnknownScript_0x1a1ef5
checkevent EVENT_CHAD_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1a1e5e
@ -251,7 +187,7 @@ SchoolboyChad1Script:
UnknownScript_0x1a1e5e:
scall UnknownScript_0x1a1eed
UnknownScript_0x1a1e61:
askforphonenumber $1b
askforphonenumber PHONE_SCHOOLBOY_CHAD
if_equal $1, UnknownScript_0x1a1efd
if_equal $2, UnknownScript_0x1a1ef9
trainertotext SCHOOLBOY, CHAD1, $0
@ -347,23 +283,7 @@ UnknownScript_0x1a1f01:
end
TrainerBeautyValerie:
; bit/flag number
dw EVENT_BEAT_BEAUTY_VALERIE
; trainer group && trainer id
db BEAUTY, VALERIE
; text when seen
dw BeautyValerieSeenText
; text when trainer beaten
dw BeautyValerieBeatenText
; script when lost
dw $0000
; script when talk again
dw BeautyValerieScript
trainer EVENT_BEAT_BEAUTY_VALERIE, BEAUTY, VALERIE, BeautyValerieSeenText, BeautyValerieBeatenText, $0000, BeautyValerieScript
BeautyValerieScript:
talkaftercancel
@ -374,23 +294,7 @@ BeautyValerieScript:
end
TrainerBeautyOlivia:
; bit/flag number
dw EVENT_BEAT_BEAUTY_OLIVIA
; trainer group && trainer id
db BEAUTY, OLIVIA
; text when seen
dw BeautyOliviaSeenText
; text when trainer beaten
dw BeautyOliviaBeatenText
; script when lost
dw $0000
; script when talk again
dw BeautyOliviaScript
trainer EVENT_BEAT_BEAUTY_OLIVIA, BEAUTY, OLIVIA, BeautyOliviaSeenText, BeautyOliviaBeatenText, $0000, BeautyOliviaScript
BeautyOliviaScript:
talkaftercancel

View File

@ -14,31 +14,15 @@ TaurosScript_0x1a5af5:
end
TrainerPokefanmDerek1:
; bit/flag number
dw EVENT_BEAT_POKEFANM_DEREK
; trainer group && trainer id
db POKEFANM, DEREK1
; text when seen
dw PokefanmDerek1SeenText
; text when trainer beaten
dw PokefanmDerek1BeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanmDerek1Script
trainer EVENT_BEAT_POKEFANM_DEREK, POKEFANM, DEREK1, PokefanmDerek1SeenText, PokefanmDerek1BeatenText, $0000, PokefanmDerek1Script
PokefanmDerek1Script:
writecode VAR_CALLERID, $1c
writecode VAR_CALLERID, PHONE_POKEFANM_DEREK
talkaftercancel
loadfont
checkflag ENGINE_DEREK_HAS_NUGGET
iftrue UnknownScript_0x1a5b4a
checkcellnum $1c
checkcellnum PHONE_POKEFANM_DEREK
iftrue UnknownScript_0x1a5b6e
checkpoke PIKACHU
iffalse UnknownScript_0x1a5b5c
@ -53,7 +37,7 @@ PokefanmDerek1Script:
UnknownScript_0x1a5b33:
scall UnknownScript_0x1a5b66
UnknownScript_0x1a5b36:
askforphonenumber $1c
askforphonenumber PHONE_POKEFANM_DEREK
if_equal $1, UnknownScript_0x1a5b76
if_equal $2, UnknownScript_0x1a5b72
trainertotext POKEFANM, DEREK1, $0
@ -109,23 +93,7 @@ UnknownScript_0x1a5b7e:
end
TrainerPokefanfRuth:
; bit/flag number
dw EVENT_BEAT_POKEFANF_RUTH
; trainer group && trainer id
db POKEFANF, RUTH
; text when seen
dw PokefanfRuthSeenText
; text when trainer beaten
dw PokefanfRuthBeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanfRuthScript
trainer EVENT_BEAT_POKEFANF_RUTH, POKEFANF, RUTH, PokefanfRuthSeenText, PokefanfRuthBeatenText, $0000, PokefanfRuthScript
PokefanfRuthScript:
talkaftercancel
@ -136,23 +104,7 @@ PokefanfRuthScript:
end
TrainerSailorEugene:
; bit/flag number
dw EVENT_BEAT_SAILOR_EUGENE
; trainer group && trainer id
db SAILOR, EUGENE
; text when seen
dw SailorEugeneSeenText
; text when trainer beaten
dw SailorEugeneBeatenText
; script when lost
dw $0000
; script when talk again
dw SailorEugeneScript
trainer EVENT_BEAT_SAILOR_EUGENE, SAILOR, EUGENE, SailorEugeneSeenText, SailorEugeneBeatenText, $0000, SailorEugeneScript
SailorEugeneScript:
talkaftercancel
@ -163,23 +115,7 @@ SailorEugeneScript:
end
TrainerPsychicNorman:
; bit/flag number
dw EVENT_BEAT_PSYCHIC_NORMAN
; trainer group && trainer id
db PSYCHIC_T, NORMAN
; text when seen
dw PsychicNormanSeenText
; text when trainer beaten
dw PsychicNormanBeatenText
; script when lost
dw $0000
; script when talk again
dw PsychicNormanScript
trainer EVENT_BEAT_PSYCHIC_NORMAN, PSYCHIC_T, NORMAN, PsychicNormanSeenText, PsychicNormanBeatenText, $0000, PsychicNormanScript
PsychicNormanScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route4_MapScriptHeader:
db 0
TrainerBird_keeperHank:
; bit/flag number
dw EVENT_BEAT_BIRD_KEEPER_HANK
; trainer group && trainer id
db BIRD_KEEPER, HANK
; text when seen
dw Bird_keeperHankSeenText
; text when trainer beaten
dw Bird_keeperHankBeatenText
; script when lost
dw $0000
; script when talk again
dw Bird_keeperHankScript
trainer EVENT_BEAT_BIRD_KEEPER_HANK, BIRD_KEEPER, HANK, Bird_keeperHankSeenText, Bird_keeperHankBeatenText, $0000, Bird_keeperHankScript
Bird_keeperHankScript:
talkaftercancel
@ -33,23 +17,7 @@ Bird_keeperHankScript:
end
TrainerPicnickerHope:
; bit/flag number
dw EVENT_BEAT_PICNICKER_HOPE
; trainer group && trainer id
db PICNICKER, HOPE
; text when seen
dw PicnickerHopeSeenText
; text when trainer beaten
dw PicnickerHopeBeatenText
; script when lost
dw $0000
; script when talk again
dw PicnickerHopeScript
trainer EVENT_BEAT_PICNICKER_HOPE, PICNICKER, HOPE, PicnickerHopeSeenText, PicnickerHopeBeatenText, $0000, PicnickerHopeScript
PicnickerHopeScript:
talkaftercancel
@ -60,23 +28,7 @@ PicnickerHopeScript:
end
TrainerPicnickerSharon:
; bit/flag number
dw EVENT_BEAT_PICNICKER_SHARON
; trainer group && trainer id
db PICNICKER, SHARON
; text when seen
dw PicnickerSharonSeenText
; text when trainer beaten
dw PicnickerSharonBeatenText
; script when lost
dw $0000
; script when talk again
dw PicnickerSharonScript
trainer EVENT_BEAT_PICNICKER_SHARON, PICNICKER, SHARON, PicnickerSharonSeenText, PicnickerSharonBeatenText, $0000, PicnickerSharonScript
PicnickerSharonScript:
talkaftercancel

View File

@ -21,23 +21,7 @@ MonicaCallback:
return
TrainerSwimmerfElaine:
; bit/flag number
dw EVENT_BEAT_SWIMMERF_ELAINE
; trainer group && trainer id
db SWIMMERF, ELAINE
; text when seen
dw SwimmerfElaineSeenText
; text when trainer beaten
dw SwimmerfElaineBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfElaineScript
trainer EVENT_BEAT_SWIMMERF_ELAINE, SWIMMERF, ELAINE, SwimmerfElaineSeenText, SwimmerfElaineBeatenText, $0000, SwimmerfElaineScript
SwimmerfElaineScript:
talkaftercancel
@ -48,23 +32,7 @@ SwimmerfElaineScript:
end
TrainerSwimmerfPaula:
; bit/flag number
dw EVENT_BEAT_SWIMMERF_PAULA
; trainer group && trainer id
db SWIMMERF, PAULA
; text when seen
dw SwimmerfPaulaSeenText
; text when trainer beaten
dw SwimmerfPaulaBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfPaulaScript
trainer EVENT_BEAT_SWIMMERF_PAULA, SWIMMERF, PAULA, SwimmerfPaulaSeenText, SwimmerfPaulaBeatenText, $0000, SwimmerfPaulaScript
SwimmerfPaulaScript:
talkaftercancel
@ -75,23 +43,7 @@ SwimmerfPaulaScript:
end
TrainerSwimmermSimon:
; bit/flag number
dw EVENT_BEAT_SWIMMERM_SIMON
; trainer group && trainer id
db SWIMMERM, SIMON
; text when seen
dw SwimmermSimonSeenText
; text when trainer beaten
dw SwimmermSimonBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmermSimonScript
trainer EVENT_BEAT_SWIMMERM_SIMON, SWIMMERM, SIMON, SwimmermSimonSeenText, SwimmermSimonBeatenText, $0000, SwimmermSimonScript
SwimmermSimonScript:
talkaftercancel
@ -102,23 +54,7 @@ SwimmermSimonScript:
end
TrainerSwimmermRandall:
; bit/flag number
dw EVENT_BEAT_SWIMMERM_RANDALL
; trainer group && trainer id
db SWIMMERM, RANDALL
; text when seen
dw SwimmermRandallSeenText
; text when trainer beaten
dw SwimmermRandallBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmermRandallScript
trainer EVENT_BEAT_SWIMMERM_RANDALL, SWIMMERM, RANDALL, SwimmermRandallSeenText, SwimmermRandallBeatenText, $0000, SwimmermRandallScript
SwimmermRandallScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route41_MapScriptHeader:
db 0
TrainerSwimmerfKaylee:
; bit/flag number
dw EVENT_BEAT_SWIMMERF_KAYLEE
; trainer group && trainer id
db SWIMMERF, KAYLEE
; text when seen
dw SwimmerfKayleeSeenText
; text when trainer beaten
dw SwimmerfKayleeBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfKayleeScript
trainer EVENT_BEAT_SWIMMERF_KAYLEE, SWIMMERF, KAYLEE, SwimmerfKayleeSeenText, SwimmerfKayleeBeatenText, $0000, SwimmerfKayleeScript
SwimmerfKayleeScript:
talkaftercancel
@ -33,23 +17,7 @@ SwimmerfKayleeScript:
end
TrainerSwimmerfSusie:
; bit/flag number
dw EVENT_BEAT_SWIMMERF_SUSIE
; trainer group && trainer id
db SWIMMERF, SUSIE
; text when seen
dw SwimmerfSusieSeenText
; text when trainer beaten
dw SwimmerfSusieBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfSusieScript
trainer EVENT_BEAT_SWIMMERF_SUSIE, SWIMMERF, SUSIE, SwimmerfSusieSeenText, SwimmerfSusieBeatenText, $0000, SwimmerfSusieScript
SwimmerfSusieScript:
talkaftercancel
@ -60,23 +28,7 @@ SwimmerfSusieScript:
end
TrainerSwimmerfDenise:
; bit/flag number
dw EVENT_BEAT_SWIMMERF_DENISE
; trainer group && trainer id
db SWIMMERF, DENISE
; text when seen
dw SwimmerfDeniseSeenText
; text when trainer beaten
dw SwimmerfDeniseBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfDeniseScript
trainer EVENT_BEAT_SWIMMERF_DENISE, SWIMMERF, DENISE, SwimmerfDeniseSeenText, SwimmerfDeniseBeatenText, $0000, SwimmerfDeniseScript
SwimmerfDeniseScript:
talkaftercancel
@ -87,23 +39,7 @@ SwimmerfDeniseScript:
end
TrainerSwimmerfKara:
; bit/flag number
dw EVENT_BEAT_SWIMMERF_KARA
; trainer group && trainer id
db SWIMMERF, KARA
; text when seen
dw SwimmerfKaraSeenText
; text when trainer beaten
dw SwimmerfKaraBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfKaraScript
trainer EVENT_BEAT_SWIMMERF_KARA, SWIMMERF, KARA, SwimmerfKaraSeenText, SwimmerfKaraBeatenText, $0000, SwimmerfKaraScript
SwimmerfKaraScript:
talkaftercancel
@ -114,23 +50,7 @@ SwimmerfKaraScript:
end
TrainerSwimmerfWendy:
; bit/flag number
dw EVENT_BEAT_SWIMMERF_WENDY
; trainer group && trainer id
db SWIMMERF, WENDY
; text when seen
dw SwimmerfWendySeenText
; text when trainer beaten
dw SwimmerfWendyBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmerfWendyScript
trainer EVENT_BEAT_SWIMMERF_WENDY, SWIMMERF, WENDY, SwimmerfWendySeenText, SwimmerfWendyBeatenText, $0000, SwimmerfWendyScript
SwimmerfWendyScript:
talkaftercancel
@ -141,23 +61,7 @@ SwimmerfWendyScript:
end
TrainerSwimmermCharlie:
; bit/flag number
dw EVENT_BEAT_SWIMMERM_CHARLIE
; trainer group && trainer id
db SWIMMERM, CHARLIE
; text when seen
dw SwimmermCharlieSeenText
; text when trainer beaten
dw SwimmermCharlieBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmermCharlieScript
trainer EVENT_BEAT_SWIMMERM_CHARLIE, SWIMMERM, CHARLIE, SwimmermCharlieSeenText, SwimmermCharlieBeatenText, $0000, SwimmermCharlieScript
SwimmermCharlieScript:
talkaftercancel
@ -168,23 +72,7 @@ SwimmermCharlieScript:
end
TrainerSwimmermGeorge:
; bit/flag number
dw EVENT_BEAT_SWIMMERM_GEORGE
; trainer group && trainer id
db SWIMMERM, GEORGE
; text when seen
dw SwimmermGeorgeSeenText
; text when trainer beaten
dw SwimmermGeorgeBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmermGeorgeScript
trainer EVENT_BEAT_SWIMMERM_GEORGE, SWIMMERM, GEORGE, SwimmermGeorgeSeenText, SwimmermGeorgeBeatenText, $0000, SwimmermGeorgeScript
SwimmermGeorgeScript:
talkaftercancel
@ -195,23 +83,7 @@ SwimmermGeorgeScript:
end
TrainerSwimmermBerke:
; bit/flag number
dw EVENT_BEAT_SWIMMERM_BERKE
; trainer group && trainer id
db SWIMMERM, BERKE
; text when seen
dw SwimmermBerkeSeenText
; text when trainer beaten
dw SwimmermBerkeBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmermBerkeScript
trainer EVENT_BEAT_SWIMMERM_BERKE, SWIMMERM, BERKE, SwimmermBerkeSeenText, SwimmermBerkeBeatenText, $0000, SwimmermBerkeScript
SwimmermBerkeScript:
talkaftercancel
@ -222,23 +94,7 @@ SwimmermBerkeScript:
end
TrainerSwimmermKirk:
; bit/flag number
dw EVENT_BEAT_SWIMMERM_KIRK
; trainer group && trainer id
db SWIMMERM, KIRK
; text when seen
dw SwimmermKirkSeenText
; text when trainer beaten
dw SwimmermKirkBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmermKirkScript
trainer EVENT_BEAT_SWIMMERM_KIRK, SWIMMERM, KIRK, SwimmermKirkSeenText, SwimmermKirkBeatenText, $0000, SwimmermKirkScript
SwimmermKirkScript:
talkaftercancel
@ -249,23 +105,7 @@ SwimmermKirkScript:
end
TrainerSwimmermMathew:
; bit/flag number
dw EVENT_BEAT_SWIMMERM_MATHEW
; trainer group && trainer id
db SWIMMERM, MATHEW
; text when seen
dw SwimmermMathewSeenText
; text when trainer beaten
dw SwimmermMathewBeatenText
; script when lost
dw $0000
; script when talk again
dw SwimmermMathewScript
trainer EVENT_BEAT_SWIMMERM_MATHEW, SWIMMERM, MATHEW, SwimmermMathewSeenText, SwimmermMathewBeatenText, $0000, SwimmermMathewScript
SwimmermMathewScript:
talkaftercancel

View File

@ -28,33 +28,17 @@ UnknownScript_0x1a9218:
end
TrainerFisherTully1:
; bit/flag number
dw EVENT_BEAT_FISHER_TULLY
; trainer group && trainer id
db FISHER, TULLY1
; text when seen
dw FisherTully1SeenText
; text when trainer beaten
dw FisherTully1BeatenText
; script when lost
dw $0000
; script when talk again
dw FisherTully1Script
trainer EVENT_BEAT_FISHER_TULLY, FISHER, TULLY1, FisherTully1SeenText, FisherTully1BeatenText, $0000, FisherTully1Script
FisherTully1Script:
writecode VAR_CALLERID, $1d
writecode VAR_CALLERID, PHONE_FISHER_TULLY
talkaftercancel
loadfont
checkflag ENGINE_TULLY
iftrue UnknownScript_0x1a927f
checkflag ENGINE_TULLY_HAS_WATER_STONE
iftrue UnknownScript_0x1a92dc
checkcellnum $1d
checkcellnum PHONE_FISHER_TULLY
iftrue UnknownScript_0x1a92fd
checkevent EVENT_TULLY_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1a9268
@ -67,7 +51,7 @@ FisherTully1Script:
UnknownScript_0x1a9268:
scall UnknownScript_0x1a92f5
UnknownScript_0x1a926b:
askforphonenumber $1d
askforphonenumber PHONE_FISHER_TULLY
if_equal $1, UnknownScript_0x1a9305
if_equal $2, UnknownScript_0x1a9301
trainertotext FISHER, TULLY1, $0
@ -170,23 +154,7 @@ UnknownScript_0x1a9311:
end
TrainerPokemaniacShane:
; bit/flag number
dw EVENT_BEAT_POKEMANIAC_SHANE
; trainer group && trainer id
db POKEMANIAC, SHANE
; text when seen
dw PokemaniacShaneSeenText
; text when trainer beaten
dw PokemaniacShaneBeatenText
; script when lost
dw $0000
; script when talk again
dw PokemaniacShaneScript
trainer EVENT_BEAT_POKEMANIAC_SHANE, POKEMANIAC, SHANE, PokemaniacShaneSeenText, PokemaniacShaneBeatenText, $0000, PokemaniacShaneScript
PokemaniacShaneScript:
talkaftercancel
@ -197,23 +165,7 @@ PokemaniacShaneScript:
end
TrainerHikerBenjamin:
; bit/flag number
dw EVENT_BEAT_HIKER_BENJAMIN
; trainer group && trainer id
db HIKER, BENJAMIN
; text when seen
dw HikerBenjaminSeenText
; text when trainer beaten
dw HikerBenjaminBeatenText
; script when lost
dw $0000
; script when talk again
dw HikerBenjaminScript
trainer EVENT_BEAT_HIKER_BENJAMIN, HIKER, BENJAMIN, HikerBenjaminSeenText, HikerBenjaminBeatenText, $0000, HikerBenjaminScript
HikerBenjaminScript:
talkaftercancel

View File

@ -20,23 +20,7 @@ UnknownScript_0x19d05c:
return
TrainerCamperSpencer:
; bit/flag number
dw EVENT_BEAT_CAMPER_SPENCER
; trainer group && trainer id
db CAMPER, SPENCER
; text when seen
dw CamperSpencerSeenText
; text when trainer beaten
dw CamperSpencerBeatenText
; script when lost
dw $0000
; script when talk again
dw CamperSpencerScript
trainer EVENT_BEAT_CAMPER_SPENCER, CAMPER, SPENCER, CamperSpencerSeenText, CamperSpencerBeatenText, $0000, CamperSpencerScript
CamperSpencerScript:
talkaftercancel
@ -47,23 +31,7 @@ CamperSpencerScript:
end
TrainerPokemaniacBen:
; bit/flag number
dw EVENT_BEAT_POKEMANIAC_BEN
; trainer group && trainer id
db POKEMANIAC, BEN
; text when seen
dw PokemaniacBenSeenText
; text when trainer beaten
dw PokemaniacBenBeatenText
; script when lost
dw $0000
; script when talk again
dw PokemaniacBenScript
trainer EVENT_BEAT_POKEMANIAC_BEN, POKEMANIAC, BEN, PokemaniacBenSeenText, PokemaniacBenBeatenText, $0000, PokemaniacBenScript
PokemaniacBenScript:
talkaftercancel
@ -74,31 +42,15 @@ PokemaniacBenScript:
end
TrainerPokemaniacBrent1:
; bit/flag number
dw EVENT_BEAT_POKEMANIAC_BRENT
; trainer group && trainer id
db POKEMANIAC, BRENT1
; text when seen
dw PokemaniacBrent1SeenText
; text when trainer beaten
dw PokemaniacBrent1BeatenText
; script when lost
dw $0000
; script when talk again
dw PokemaniacBrent1Script
trainer EVENT_BEAT_POKEMANIAC_BRENT, POKEMANIAC, BRENT1, PokemaniacBrent1SeenText, PokemaniacBrent1BeatenText, $0000, PokemaniacBrent1Script
PokemaniacBrent1Script:
writecode VAR_CALLERID, $1e
writecode VAR_CALLERID, PHONE_POKEMANIAC_BRENT
talkaftercancel
loadfont
checkflag ENGINE_BRENT
iftrue UnknownScript_0x19d0cf
checkcellnum $1e
checkcellnum PHONE_POKEMANIAC_BRENT
iftrue UnknownScript_0x19d138
checkevent EVENT_BRENT_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x19d0b8
@ -111,7 +63,7 @@ PokemaniacBrent1Script:
UnknownScript_0x19d0b8:
scall UnknownScript_0x19d130
UnknownScript_0x19d0bb:
askforphonenumber $1e
askforphonenumber PHONE_POKEMANIAC_BRENT
if_equal $1, UnknownScript_0x19d140
if_equal $2, UnknownScript_0x19d13c
trainertotext POKEMANIAC, BRENT1, $0
@ -195,23 +147,7 @@ UnknownScript_0x19d144:
end
TrainerPokemaniacRon:
; bit/flag number
dw EVENT_BEAT_POKEMANIAC_RON
; trainer group && trainer id
db POKEMANIAC, RON
; text when seen
dw PokemaniacRonSeenText
; text when trainer beaten
dw PokemaniacRonBeatenText
; script when lost
dw $0000
; script when talk again
dw PokemaniacRonScript
trainer EVENT_BEAT_POKEMANIAC_RON, POKEMANIAC, RON, PokemaniacRonSeenText, PokemaniacRonBeatenText, $0000, PokemaniacRonScript
PokemaniacRonScript:
talkaftercancel
@ -222,23 +158,7 @@ PokemaniacRonScript:
end
TrainerFisherMarvin:
; bit/flag number
dw EVENT_BEAT_FISHER_MARVIN
; trainer group && trainer id
db FISHER, MARVIN
; text when seen
dw FisherMarvinSeenText
; text when trainer beaten
dw FisherMarvinBeatenText
; script when lost
dw $0000
; script when talk again
dw FisherMarvinScript
trainer EVENT_BEAT_FISHER_MARVIN, FISHER, MARVIN, FisherMarvinSeenText, FisherMarvinBeatenText, $0000, FisherMarvinScript
FisherMarvinScript:
talkaftercancel
@ -249,33 +169,17 @@ FisherMarvinScript:
end
TrainerPicnickerTiffany3:
; bit/flag number
dw EVENT_BEAT_PICNICKER_TIFFANY
; trainer group && trainer id
db PICNICKER, TIFFANY3
; text when seen
dw PicnickerTiffany3SeenText
; text when trainer beaten
dw PicnickerTiffany3BeatenText
; script when lost
dw $0000
; script when talk again
dw PicnickerTiffany3Script
trainer EVENT_BEAT_PICNICKER_TIFFANY, PICNICKER, TIFFANY3, PicnickerTiffany3SeenText, PicnickerTiffany3BeatenText, $0000, PicnickerTiffany3Script
PicnickerTiffany3Script:
writecode VAR_CALLERID, $1f
writecode VAR_CALLERID, PHONE_PICNICKER_TIFFANY
talkaftercancel
loadfont
checkflag ENGINE_TIFFANY
iftrue UnknownScript_0x19d1c1
checkflag ENGINE_TIFFANY_HAS_PINK_BOW
iftrue UnknownScript_0x19d21e
checkcellnum $1f
checkcellnum PHONE_PICNICKER_TIFFANY
iftrue UnknownScript_0x19d245
checkpoke CLEFAIRY
iffalse UnknownScript_0x19d233
@ -290,7 +194,7 @@ PicnickerTiffany3Script:
UnknownScript_0x19d1aa:
scall UnknownScript_0x19d23d
UnknownScript_0x19d1ad:
askforphonenumber $1f
askforphonenumber PHONE_PICNICKER_TIFFANY
if_equal $1, UnknownScript_0x19d24d
if_equal $2, UnknownScript_0x19d249
trainertotext PICNICKER, TIFFANY3, $0

View File

@ -6,31 +6,15 @@ Route44_MapScriptHeader:
db 0
TrainerBird_keeperVance1:
; bit/flag number
dw EVENT_BEAT_BIRD_KEEPER_VANCE
; trainer group && trainer id
db BIRD_KEEPER, VANCE1
; text when seen
dw Bird_keeperVance1SeenText
; text when trainer beaten
dw Bird_keeperVance1BeatenText
; script when lost
dw $0000
; script when talk again
dw Bird_keeperVance1Script
trainer EVENT_BEAT_BIRD_KEEPER_VANCE, BIRD_KEEPER, VANCE1, Bird_keeperVance1SeenText, Bird_keeperVance1BeatenText, $0000, Bird_keeperVance1Script
Bird_keeperVance1Script:
writecode VAR_CALLERID, $20
writecode VAR_CALLERID, PHONE_BIRDKEEPER_VANCE
talkaftercancel
loadfont
checkflag ENGINE_VANCE
iftrue UnknownScript_0x19d86a
checkcellnum $20
checkcellnum PHONE_BIRDKEEPER_VANCE
iftrue UnknownScript_0x19d8eb
checkevent EVENT_VANCE_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x19d853
@ -43,7 +27,7 @@ Bird_keeperVance1Script:
UnknownScript_0x19d853:
scall UnknownScript_0x19d8e3
UnknownScript_0x19d856:
askforphonenumber $20
askforphonenumber PHONE_BIRDKEEPER_VANCE
if_equal $1, UnknownScript_0x19d8f3
if_equal $2, UnknownScript_0x19d8ef
trainertotext BIRD_KEEPER, VANCE1, $0
@ -153,23 +137,7 @@ UnknownScript_0x19d90a:
end
TrainerPsychicPhil:
; bit/flag number
dw EVENT_BEAT_PSYCHIC_PHIL
; trainer group && trainer id
db PSYCHIC_T, PHIL
; text when seen
dw PsychicPhilSeenText
; text when trainer beaten
dw PsychicPhilBeatenText
; script when lost
dw $0000
; script when talk again
dw PsychicPhilScript
trainer EVENT_BEAT_PSYCHIC_PHIL, PSYCHIC_T, PHIL, PsychicPhilSeenText, PsychicPhilBeatenText, $0000, PsychicPhilScript
PsychicPhilScript:
talkaftercancel
@ -180,33 +148,17 @@ PsychicPhilScript:
end
TrainerFisherWilton1:
; bit/flag number
dw EVENT_BEAT_FISHER_WILTON
; trainer group && trainer id
db FISHER, WILTON1
; text when seen
dw FisherWilton1SeenText
; text when trainer beaten
dw FisherWilton1BeatenText
; script when lost
dw $0000
; script when talk again
dw FisherWilton1Script
trainer EVENT_BEAT_FISHER_WILTON, FISHER, WILTON1, FisherWilton1SeenText, FisherWilton1BeatenText, $0000, FisherWilton1Script
FisherWilton1Script:
writecode VAR_CALLERID, $21
writecode VAR_CALLERID, PHONE_FISHER_WILTON
talkaftercancel
loadfont
checkflag ENGINE_WILTON
iftrue UnknownScript_0x19d96e
checkflag ENGINE_WILTON_HAS_ITEM
iftrue UnknownScript_0x19d9b4
checkcellnum $21
checkcellnum PHONE_FISHER_WILTON
iftrue UnknownScript_0x19d8eb
checkevent EVENT_WILTON_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x19d957
@ -219,7 +171,7 @@ FisherWilton1Script:
UnknownScript_0x19d957:
scall UnknownScript_0x19d8e3
UnknownScript_0x19d95a:
askforphonenumber $21
askforphonenumber PHONE_FISHER_WILTON
if_equal $1, UnknownScript_0x19d8f3
if_equal $2, UnknownScript_0x19d8ef
trainertotext FISHER, WILTON1, $0
@ -291,23 +243,7 @@ UnknownScript_0x19d9e7:
jump UnknownScript_0x19d8ff
TrainerFisherEdgar:
; bit/flag number
dw EVENT_BEAT_FISHER_EDGAR
; trainer group && trainer id
db FISHER, EDGAR
; text when seen
dw FisherEdgarSeenText
; text when trainer beaten
dw FisherEdgarBeatenText
; script when lost
dw $0000
; script when talk again
dw FisherEdgarScript
trainer EVENT_BEAT_FISHER_EDGAR, FISHER, EDGAR, FisherEdgarSeenText, FisherEdgarBeatenText, $0000, FisherEdgarScript
FisherEdgarScript:
talkaftercancel
@ -318,23 +254,7 @@ FisherEdgarScript:
end
TrainerCooltrainerfCybil:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERF_CYBIL
; trainer group && trainer id
db COOLTRAINERF, CYBIL
; text when seen
dw CooltrainerfCybilSeenText
; text when trainer beaten
dw CooltrainerfCybilBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfCybilScript
trainer EVENT_BEAT_COOLTRAINERF_CYBIL, COOLTRAINERF, CYBIL, CooltrainerfCybilSeenText, CooltrainerfCybilBeatenText, $0000, CooltrainerfCybilScript
CooltrainerfCybilScript:
talkaftercancel
@ -345,23 +265,7 @@ CooltrainerfCybilScript:
end
TrainerPokemaniacZach:
; bit/flag number
dw EVENT_BEAT_POKEMANIAC_ZACH
; trainer group && trainer id
db POKEMANIAC, ZACH
; text when seen
dw PokemaniacZachSeenText
; text when trainer beaten
dw PokemaniacZachBeatenText
; script when lost
dw $0000
; script when talk again
dw PokemaniacZachScript
trainer EVENT_BEAT_POKEMANIAC_ZACH, POKEMANIAC, ZACH, PokemaniacZachSeenText, PokemaniacZachBeatenText, $0000, PokemaniacZachScript
PokemaniacZachScript:
talkaftercancel
@ -372,23 +276,7 @@ PokemaniacZachScript:
end
TrainerCooltrainermAllen:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERM_ALLEN
; trainer group && trainer id
db COOLTRAINERM, ALLEN
; text when seen
dw CooltrainermAllenSeenText
; text when trainer beaten
dw CooltrainermAllenBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainermAllenScript
trainer EVENT_BEAT_COOLTRAINERM_ALLEN, COOLTRAINERM, ALLEN, CooltrainermAllenSeenText, CooltrainermAllenBeatenText, $0000, CooltrainermAllenScript
CooltrainermAllenScript:
talkaftercancel

View File

@ -6,29 +6,13 @@ Route45_MapScriptHeader:
db 0
TrainerBlackbeltKenji:
; bit/flag number
dw EVENT_BEAT_BLACKBELT_KENJI
; trainer group && trainer id
db BLACKBELT_T, KENJI3
; text when seen
dw BlackbeltKenji3SeenText
; text when trainer beaten
dw BlackbeltKenji3BeatenText
; script when lost
dw $0000
; script when talk again
dw BlackbeltKenji3Script
trainer EVENT_BEAT_BLACKBELT_KENJI, BLACKBELT_T, KENJI3, BlackbeltKenji3SeenText, BlackbeltKenji3BeatenText, $0000, BlackbeltKenji3Script
BlackbeltKenji3Script:
writecode VAR_CALLERID, $22
writecode VAR_CALLERID, PHONE_BLACKBELT_KENJI
talkaftercancel
loadfont
checkcellnum $22
checkcellnum PHONE_BLACKBELT_KENJI
iftrue UnknownScript_0x19e0e4
checkevent EVENT_KENJI_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x19e0cd
@ -42,7 +26,7 @@ BlackbeltKenji3Script:
UnknownScript_0x19e0cd:
scall UnknownScript_0x19e11f
UnknownScript_0x19e0d0:
askforphonenumber $22
askforphonenumber PHONE_BLACKBELT_KENJI
if_equal $1, UnknownScript_0x19e12f
if_equal $2, UnknownScript_0x19e12b
trainertotext BLACKBELT_T, KENJI3, $0
@ -126,23 +110,7 @@ UnknownScript_0x19e146:
end
TrainerHikerErik:
; bit/flag number
dw EVENT_BEAT_HIKER_ERIK
; trainer group && trainer id
db HIKER, ERIK
; text when seen
dw HikerErikSeenText
; text when trainer beaten
dw HikerErikBeatenText
; script when lost
dw $0000
; script when talk again
dw HikerErikScript
trainer EVENT_BEAT_HIKER_ERIK, HIKER, ERIK, HikerErikSeenText, HikerErikBeatenText, $0000, HikerErikScript
HikerErikScript:
talkaftercancel
@ -153,23 +121,7 @@ HikerErikScript:
end
TrainerHikerMichael:
; bit/flag number
dw EVENT_BEAT_HIKER_MICHAEL
; trainer group && trainer id
db HIKER, MICHAEL
; text when seen
dw HikerMichaelSeenText
; text when trainer beaten
dw HikerMichaelBeatenText
; script when lost
dw $0000
; script when talk again
dw HikerMichaelScript
trainer EVENT_BEAT_HIKER_MICHAEL, HIKER, MICHAEL, HikerMichaelSeenText, HikerMichaelBeatenText, $0000, HikerMichaelScript
HikerMichaelScript:
talkaftercancel
@ -180,31 +132,15 @@ HikerMichaelScript:
end
TrainerHikerParry:
; bit/flag number
dw EVENT_BEAT_HIKER_PARRY
; trainer group && trainer id
db HIKER, PARRY3
; text when seen
dw HikerParry3SeenText
; text when trainer beaten
dw HikerParry3BeatenText
; script when lost
dw $0000
; script when talk again
dw HikerParry3Script
trainer EVENT_BEAT_HIKER_PARRY, HIKER, PARRY3, HikerParry3SeenText, HikerParry3BeatenText, $0000, HikerParry3Script
HikerParry3Script:
writecode VAR_CALLERID, $23
writecode VAR_CALLERID, PHONE_HIKER_PARRY
talkaftercancel
loadfont
checkflag ENGINE_PARRY
iftrue UnknownScript_0x19e1b8
checkcellnum $23
checkcellnum PHONE_HIKER_PARRY
iftrue UnknownScript_0x19e127
checkevent EVENT_PARRY_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x19e1a1
@ -217,7 +153,7 @@ HikerParry3Script:
UnknownScript_0x19e1a1:
scall UnknownScript_0x19e11f
UnknownScript_0x19e1a4:
askforphonenumber $23
askforphonenumber PHONE_HIKER_PARRY
if_equal $1, UnknownScript_0x19e12f
if_equal $2, UnknownScript_0x19e12b
trainertotext HIKER, PARRY1, $0
@ -282,23 +218,7 @@ UnknownScript_0x19e219:
jump UnknownScript_0x19e127
TrainerHikerTimothy:
; bit/flag number
dw EVENT_BEAT_HIKER_TIMOTHY
; trainer group && trainer id
db HIKER, TIMOTHY
; text when seen
dw HikerTimothySeenText
; text when trainer beaten
dw HikerTimothyBeatenText
; script when lost
dw $0000
; script when talk again
dw HikerTimothyScript
trainer EVENT_BEAT_HIKER_TIMOTHY, HIKER, TIMOTHY, HikerTimothySeenText, HikerTimothyBeatenText, $0000, HikerTimothyScript
HikerTimothyScript:
talkaftercancel
@ -309,23 +229,7 @@ HikerTimothyScript:
end
TrainerCooltrainermRyan:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERM_RYAN
; trainer group && trainer id
db COOLTRAINERM, RYAN
; text when seen
dw CooltrainermRyanSeenText
; text when trainer beaten
dw CooltrainermRyanBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainermRyanScript
trainer EVENT_BEAT_COOLTRAINERM_RYAN, COOLTRAINERM, RYAN, CooltrainermRyanSeenText, CooltrainermRyanBeatenText, $0000, CooltrainermRyanScript
CooltrainermRyanScript:
talkaftercancel
@ -336,23 +240,7 @@ CooltrainermRyanScript:
end
TrainerCooltrainerfKelly:
; bit/flag number
dw EVENT_BEAT_COOLTRAINERF_KELLY
; trainer group && trainer id
db COOLTRAINERF, KELLY
; text when seen
dw CooltrainerfKellySeenText
; text when trainer beaten
dw CooltrainerfKellyBeatenText
; script when lost
dw $0000
; script when talk again
dw CooltrainerfKellyScript
trainer EVENT_BEAT_COOLTRAINERF_KELLY, COOLTRAINERF, KELLY, CooltrainerfKellySeenText, CooltrainerfKellyBeatenText, $0000, CooltrainerfKellyScript
CooltrainerfKellyScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route46_MapScriptHeader:
db 0
TrainerCamperTed:
; bit/flag number
dw EVENT_BEAT_CAMPER_TED
; trainer group && trainer id
db CAMPER, TED
; text when seen
dw CamperTedSeenText
; text when trainer beaten
dw CamperTedBeatenText
; script when lost
dw $0000
; script when talk again
dw CamperTedScript
trainer EVENT_BEAT_CAMPER_TED, CAMPER, TED, CamperTedSeenText, CamperTedBeatenText, $0000, CamperTedScript
CamperTedScript:
talkaftercancel
@ -33,31 +17,15 @@ CamperTedScript:
end
TrainerPicnickerErin1:
; bit/flag number
dw EVENT_BEAT_PICNICKER_ERIN
; trainer group && trainer id
db PICNICKER, ERIN1
; text when seen
dw PicnickerErin1SeenText
; text when trainer beaten
dw PicnickerErin1BeatenText
; script when lost
dw $0000
; script when talk again
dw PicnickerErin1Script
trainer EVENT_BEAT_PICNICKER_ERIN, PICNICKER, ERIN1, PicnickerErin1SeenText, PicnickerErin1BeatenText, $0000, PicnickerErin1Script
PicnickerErin1Script:
writecode VAR_CALLERID, $24
writecode VAR_CALLERID, PHONE_PICNICKER_ERIN
talkaftercancel
loadfont
checkflag ENGINE_ERIN
iftrue UnknownScript_0x1a96da
checkcellnum $24
checkcellnum PHONE_PICNICKER_ERIN
iftrue UnknownScript_0x1a975b
checkevent EVENT_ERIN_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x1a96c3
@ -70,7 +38,7 @@ PicnickerErin1Script:
UnknownScript_0x1a96c3:
scall UnknownScript_0x1a9753
UnknownScript_0x1a96c6:
askforphonenumber $24
askforphonenumber PHONE_PICNICKER_ERIN
if_equal $1, UnknownScript_0x1a9763
if_equal $2, UnknownScript_0x1a975f
trainertotext PICNICKER, ERIN1, $0
@ -172,23 +140,7 @@ UnknownScript_0x1a9772:
end
TrainerHikerBailey:
; bit/flag number
dw EVENT_BEAT_HIKER_BAILEY
; trainer group && trainer id
db HIKER, BAILEY
; text when seen
dw HikerBaileySeenText
; text when trainer beaten
dw HikerBaileyBeatenText
; script when lost
dw $0000
; script when talk again
dw HikerBaileyScript
trainer EVENT_BEAT_HIKER_BAILEY, HIKER, BAILEY, HikerBaileySeenText, HikerBaileyBeatenText, $0000, HikerBaileyScript
HikerBaileyScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route6_MapScriptHeader:
db 0
TrainerPokefanmRex:
; bit/flag number
dw EVENT_BEAT_POKEFANM_REX
; trainer group && trainer id
db POKEFANM, REX
; text when seen
dw PokefanmRexSeenText
; text when trainer beaten
dw PokefanmRexBeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanmRexScript
trainer EVENT_BEAT_POKEFANM_REX, POKEFANM, REX, PokefanmRexSeenText, PokefanmRexBeatenText, $0000, PokefanmRexScript
PokefanmRexScript:
talkaftercancel
@ -33,23 +17,7 @@ PokefanmRexScript:
end
TrainerPokefanmAllan:
; bit/flag number
dw EVENT_BEAT_POKEFANM_ALLAN
; trainer group && trainer id
db POKEFANM, ALLAN
; text when seen
dw PokefanmAllanSeenText
; text when trainer beaten
dw PokefanmAllanBeatenText
; script when lost
dw $0000
; script when talk again
dw PokefanmAllanScript
trainer EVENT_BEAT_POKEFANM_ALLAN, POKEFANM, ALLAN, PokefanmAllanSeenText, PokefanmAllanBeatenText, $0000, PokefanmAllanScript
PokefanmAllanScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route8_MapScriptHeader:
db 0
TrainerBikerDwayne:
; bit/flag number
dw EVENT_BEAT_BIKER_DWAYNE
; trainer group && trainer id
db BIKER, DWAYNE
; text when seen
dw BikerDwayneSeenText
; text when trainer beaten
dw BikerDwayneBeatenText
; script when lost
dw $0000
; script when talk again
dw BikerDwayneScript
trainer EVENT_BEAT_BIKER_DWAYNE, BIKER, DWAYNE, BikerDwayneSeenText, BikerDwayneBeatenText, $0000, BikerDwayneScript
BikerDwayneScript:
talkaftercancel
@ -33,23 +17,7 @@ BikerDwayneScript:
end
TrainerBikerHarris:
; bit/flag number
dw EVENT_BEAT_BIKER_HARRIS
; trainer group && trainer id
db BIKER, HARRIS
; text when seen
dw BikerHarrisSeenText
; text when trainer beaten
dw BikerHarrisBeatenText
; script when lost
dw $0000
; script when talk again
dw BikerHarrisScript
trainer EVENT_BEAT_BIKER_HARRIS, BIKER, HARRIS, BikerHarrisSeenText, BikerHarrisBeatenText, $0000, BikerHarrisScript
BikerHarrisScript:
talkaftercancel
@ -60,23 +28,7 @@ BikerHarrisScript:
end
TrainerBikerZeke:
; bit/flag number
dw EVENT_BEAT_BIKER_ZEKE
; trainer group && trainer id
db BIKER, ZEKE
; text when seen
dw BikerZekeSeenText
; text when trainer beaten
dw BikerZekeBeatenText
; script when lost
dw $0000
; script when talk again
dw BikerZekeScript
trainer EVENT_BEAT_BIKER_ZEKE, BIKER, ZEKE, BikerZekeSeenText, BikerZekeBeatenText, $0000, BikerZekeScript
BikerZekeScript:
talkaftercancel
@ -87,23 +39,7 @@ BikerZekeScript:
end
TrainerSupernerdSam:
; bit/flag number
dw EVENT_BEAT_SUPER_NERD_SAM
; trainer group && trainer id
db SUPER_NERD, SAM
; text when seen
dw SupernerdSamSeenText
; text when trainer beaten
dw SupernerdSamBeatenText
; script when lost
dw $0000
; script when talk again
dw SupernerdSamScript
trainer EVENT_BEAT_SUPER_NERD_SAM, SUPER_NERD, SAM, SupernerdSamSeenText, SupernerdSamBeatenText, $0000, SupernerdSamScript
SupernerdSamScript:
talkaftercancel
@ -114,23 +50,7 @@ SupernerdSamScript:
end
TrainerSupernerdTom:
; bit/flag number
dw EVENT_BEAT_SUPER_NERD_TOM
; trainer group && trainer id
db SUPER_NERD, TOM
; text when seen
dw SupernerdTomSeenText
; text when trainer beaten
dw SupernerdTomBeatenText
; script when lost
dw $0000
; script when talk again
dw SupernerdTomScript
trainer EVENT_BEAT_SUPER_NERD_TOM, SUPER_NERD, TOM, SupernerdTomSeenText, SupernerdTomBeatenText, $0000, SupernerdTomScript
SupernerdTomScript:
talkaftercancel

View File

@ -6,23 +6,7 @@ Route9_MapScriptHeader:
db 0
TrainerCamperDean:
; bit/flag number
dw EVENT_BEAT_CAMPER_DEAN
; trainer group && trainer id
db CAMPER, DEAN
; text when seen
dw CamperDeanSeenText
; text when trainer beaten
dw CamperDeanBeatenText
; script when lost
dw $0000
; script when talk again
dw CamperDeanScript
trainer EVENT_BEAT_CAMPER_DEAN, CAMPER, DEAN, CamperDeanSeenText, CamperDeanBeatenText, $0000, CamperDeanScript
CamperDeanScript:
talkaftercancel
@ -33,23 +17,7 @@ CamperDeanScript:
end
TrainerPicnickerHeidi:
; bit/flag number
dw EVENT_BEAT_PICNICKER_HEIDI
; trainer group && trainer id
db PICNICKER, HEIDI
; text when seen
dw PicnickerHeidiSeenText
; text when trainer beaten
dw PicnickerHeidiBeatenText
; script when lost
dw $0000
; script when talk again
dw PicnickerHeidiScript
trainer EVENT_BEAT_PICNICKER_HEIDI, PICNICKER, HEIDI, PicnickerHeidiSeenText, PicnickerHeidiBeatenText, $0000, PicnickerHeidiScript
PicnickerHeidiScript:
talkaftercancel
@ -60,23 +28,7 @@ PicnickerHeidiScript:
end
TrainerCamperSid:
; bit/flag number
dw EVENT_BEAT_CAMPER_SID
; trainer group && trainer id
db CAMPER, SID
; text when seen
dw CamperSidSeenText
; text when trainer beaten
dw CamperSidBeatenText
; script when lost
dw $0000
; script when talk again
dw CamperSidScript
trainer EVENT_BEAT_CAMPER_SID, CAMPER, SID, CamperSidSeenText, CamperSidBeatenText, $0000, CamperSidScript
CamperSidScript:
talkaftercancel
@ -87,23 +39,7 @@ CamperSidScript:
end
TrainerPicnickerEdna:
; bit/flag number
dw EVENT_BEAT_PICNICKER_EDNA
; trainer group && trainer id
db PICNICKER, EDNA
; text when seen
dw PicnickerEdnaSeenText
; text when trainer beaten
dw PicnickerEdnaBeatenText
; script when lost
dw $0000
; script when talk again
dw PicnickerEdnaScript
trainer EVENT_BEAT_PICNICKER_EDNA, PICNICKER, EDNA, PicnickerEdnaSeenText, PicnickerEdnaBeatenText, $0000, PicnickerEdnaScript
PicnickerEdnaScript:
talkaftercancel
@ -114,23 +50,7 @@ PicnickerEdnaScript:
end
TrainerHikerTim:
; bit/flag number
dw EVENT_BEAT_HIKER_TIM
; trainer group && trainer id
db HIKER, TIM
; text when seen
dw HikerTimSeenText
; text when trainer beaten
dw HikerTimBeatenText
; script when lost
dw $0000
; script when talk again
dw HikerTimScript
trainer EVENT_BEAT_HIKER_TIM, HIKER, TIM, HikerTimSeenText, HikerTimBeatenText, $0000, HikerTimScript
HikerTimScript:
talkaftercancel
@ -141,23 +61,7 @@ HikerTimScript:
end
TrainerHikerSidney:
; bit/flag number
dw EVENT_BEAT_HIKER_SIDNEY
; trainer group && trainer id
db HIKER, SIDNEY
; text when seen
dw HikerSidneySeenText
; text when trainer beaten
dw HikerSidneyBeatenText
; script when lost
dw $0000
; script when talk again
dw HikerSidneyScript
trainer EVENT_BEAT_HIKER_SIDNEY, HIKER, SIDNEY, HikerSidneySeenText, HikerSidneyBeatenText, $0000, HikerSidneyScript
HikerSidneyScript:
talkaftercancel

View File

@ -14,7 +14,7 @@ RuinsofAlphOmanyteChamber_MapScriptHeader:
dbw 1, UnknownScript_0x58bf8
UnknownScript_0x58be9:
special Function8adef
special SpecialOmanyteChamber
checkevent EVENT_WALL_OPENED_IN_OMANYTE_CHAMBER
iftrue UnknownScript_0x58bf3
end

View File

@ -100,23 +100,7 @@ YoungsterScript_0x5807e:
end
TrainerPsychicNathan:
; bit/flag number
dw EVENT_BEAT_PSYCHIC_NATHAN
; trainer group && trainer id
db PSYCHIC_T, NATHAN
; text when seen
dw PsychicNathanSeenText
; text when trainer beaten
dw PsychicNathanBeatenText
; script when lost
dw $0000
; script when talk again
dw PsychicNathanScript
trainer EVENT_BEAT_PSYCHIC_NATHAN, PSYCHIC_T, NATHAN, PsychicNathanSeenText, PsychicNathanBeatenText, $0000, PsychicNathanScript
PsychicNathanScript:
talkaftercancel
@ -128,23 +112,7 @@ PsychicNathanScript:
TrainerSuperNerdStan:
; bit/flag number
dw EVENT_BEAT_SUPER_NERD_STAN
; trainer group && trainer id
db SUPER_NERD, STAN
; text when seen
dw UnknownText_0x581e5
; text when trainer beaten
dw UnknownText_0x58217
; script when lost
dw $0000
; script when talk again
dw UnknownScript_0x580a9
trainer EVENT_BEAT_SUPER_NERD_STAN, SUPER_NERD, STAN, UnknownText_0x581e5, UnknownText_0x58217, $0000, UnknownScript_0x580a9
UnknownScript_0x580a9:
talkaftercancel

View File

@ -39,23 +39,7 @@ SabrinaScript_0x189c2e:
end
TrainerMediumRebecca:
; bit/flag number
dw EVENT_BEAT_MEDIUM_REBECCA
; trainer group && trainer id
db MEDIUM, REBECCA
; text when seen
dw MediumRebeccaSeenText
; text when trainer beaten
dw MediumRebeccaBeatenText
; script when lost
dw $0000
; script when talk again
dw MediumRebeccaScript
trainer EVENT_BEAT_MEDIUM_REBECCA, MEDIUM, REBECCA, MediumRebeccaSeenText, MediumRebeccaBeatenText, $0000, MediumRebeccaScript
MediumRebeccaScript:
talkaftercancel
@ -66,23 +50,7 @@ MediumRebeccaScript:
end
TrainerPsychicFranklin:
; bit/flag number
dw EVENT_BEAT_PSYCHIC_FRANKLIN
; trainer group && trainer id
db PSYCHIC_T, FRANKLIN
; text when seen
dw PsychicFranklinSeenText
; text when trainer beaten
dw PsychicFranklinBeatenText
; script when lost
dw $0000
; script when talk again
dw PsychicFranklinScript
trainer EVENT_BEAT_PSYCHIC_FRANKLIN, PSYCHIC_T, FRANKLIN, PsychicFranklinSeenText, PsychicFranklinBeatenText, $0000, PsychicFranklinScript
PsychicFranklinScript:
talkaftercancel
@ -93,23 +61,7 @@ PsychicFranklinScript:
end
TrainerMediumDoris:
; bit/flag number
dw EVENT_BEAT_MEDIUM_DORIS
; trainer group && trainer id
db MEDIUM, DORIS
; text when seen
dw MediumDorisSeenText
; text when trainer beaten
dw MediumDorisBeatenText
; script when lost
dw $0000
; script when talk again
dw MediumDorisScript
trainer EVENT_BEAT_MEDIUM_DORIS, MEDIUM, DORIS, MediumDorisSeenText, MediumDorisBeatenText, $0000, MediumDorisScript
MediumDorisScript:
talkaftercancel
@ -120,23 +72,7 @@ MediumDorisScript:
end
TrainerPsychicJared:
; bit/flag number
dw EVENT_BEAT_PSYCHIC_JARED
; trainer group && trainer id
db PSYCHIC_T, JARED
; text when seen
dw PsychicJaredSeenText
; text when trainer beaten
dw PsychicJaredBeatenText
; script when lost
dw $0000
; script when talk again
dw PsychicJaredScript
trainer EVENT_BEAT_PSYCHIC_JARED, PSYCHIC_T, JARED, PsychicJaredSeenText, PsychicJaredBeatenText, $0000, PsychicJaredScript
PsychicJaredScript:
talkaftercancel

View File

@ -9,23 +9,7 @@ KurtScript_0x5a5d5:
jumptextfaceplayer UnknownText_0x5a6b5
TrainerGruntM29:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTM_29
; trainer group && trainer id
db GRUNTM, 29
; text when seen
dw GruntM29SeenText
; text when trainer beaten
dw GruntM29BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntM29Script
trainer EVENT_BEAT_ROCKET_GRUNTM_29, GRUNTM, 29, GruntM29SeenText, GruntM29BeatenText, $0000, GruntM29Script
GruntM29Script:
talkaftercancel
@ -36,23 +20,7 @@ GruntM29Script:
end
TrainerGruntM1:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTM_1
; trainer group && trainer id
db GRUNTM, 1
; text when seen
dw GruntM1SeenText
; text when trainer beaten
dw GruntM1BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntM1Script
trainer EVENT_BEAT_ROCKET_GRUNTM_1, GRUNTM, 1, GruntM1SeenText, GruntM1BeatenText, $0000, GruntM1Script
GruntM1Script:
loadfont
@ -95,23 +63,7 @@ GruntM1Script:
end
TrainerGruntM2:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTM_2
; trainer group && trainer id
db GRUNTM, 2
; text when seen
dw GruntM2SeenText
; text when trainer beaten
dw GruntM2BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntM2Script
trainer EVENT_BEAT_ROCKET_GRUNTM_2, GRUNTM, 2, GruntM2SeenText, GruntM2BeatenText, $0000, GruntM2Script
GruntM2Script:
talkaftercancel
@ -122,23 +74,7 @@ GruntM2Script:
end
TrainerGruntF1:
; bit/flag number
dw EVENT_BEAT_ROCKET_GRUNTF_1
; trainer group && trainer id
db GRUNTF, 1
; text when seen
dw GruntF1SeenText
; text when trainer beaten
dw GruntF1BeatenText
; script when lost
dw $0000
; script when talk again
dw GruntF1Script
trainer EVENT_BEAT_ROCKET_GRUNTF_1, GRUNTF, 1, GruntF1SeenText, GruntF1BeatenText, $0000, GruntF1Script
GruntF1Script:
talkaftercancel

View File

@ -18,23 +18,7 @@ TeacherScript_0x184507:
jumptextfaceplayer UnknownText_0x18469d
TrainerSageChow:
; bit/flag number
dw EVENT_BEAT_SAGE_CHOW
; trainer group && trainer id
db SAGE, CHOW
; text when seen
dw SageChowSeenText
; text when trainer beaten
dw SageChowBeatenText
; script when lost
dw $0000
; script when talk again
dw SageChowScript
trainer EVENT_BEAT_SAGE_CHOW, SAGE, CHOW, SageChowSeenText, SageChowBeatenText, $0000, SageChowScript
SageChowScript:
talkaftercancel

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