Merge pull request #189 from yenatch/haxwiki-event-flags

dump haxwiki event flag constants and use them in map events
This commit is contained in:
Bryan Bishop 2013-09-05 11:42:44 -07:00
commit a75940caa2
162 changed files with 1415 additions and 827 deletions

View File

@ -13,7 +13,7 @@ clean:
rm -f pokecrystal.o pokecrystal.gbc
@echo 'rm -f $(TEXTFILES:.asm=.tx)'
@rm -f $(TEXTFILES:.asm=.tx)
pokecrystal.o: $(TEXTFILES:.asm=.tx) wram.asm constants.asm $(shell find constants/ -type f -name '*constants.asm') hram.asm gbhw.asm $(LZ_GFX) $(TWOBPP_GFX)
pokecrystal.o: $(TEXTFILES:.asm=.tx) wram.asm constants.asm $(shell find constants/ -type f -name '*.asm') hram.asm gbhw.asm $(LZ_GFX) $(TWOBPP_GFX)
python prequeue.py $(TEXTQUEUE)
rgbasm -o pokecrystal.o pokecrystal.asm
.asm.tx:

View File

@ -1,6 +1,594 @@
EVENT_FOUGHT_SUDOWOODO EQU $02a
EVENT_FOUGHT_HO_OH EQU $317
EVENT_FOUGHT_LUGIA EQU $318
EVENT_FOUGHT_SUICUNE EQU $335
EVENT_FOUGHT_SNORLAX EQU $750
EVENT_GOT_TM31_MUD_SLAP EQU $008
EVENT_GOT_TM49_FURY_CUTTER EQU $009
EVENT_GOT_TM01_DYNAMICPUNCH EQU $00a
EVENT_GOT_TM45_ATTRACT EQU $00b
EVENT_GOT_TM30_SHADOW_BALL EQU $00c
EVENT_GOT_TM23_IRON_TAIL EQU $00d
EVENT_GOT_TM16_ICY_WIND EQU $00e
EVENT_GOT_TM24_DRAGONBREATH EQU $00f
EVENT_GOT_HM01_CUT EQU $010
EVENT_GOT_HM02_FLY EQU $011
EVENT_GOT_HM03_SURF EQU $012
EVENT_GOT_HM04_STRENGTH EQU $013
EVENT_GOT_HM05_FLASH EQU $014
EVENT_GOT_HM06_WHIRLPOOL EQU $015
EVENT_GOT_OLD_ROD EQU $017
EVENT_GOT_GOOD_ROD EQU $018
EVENT_GOT_SUPER_ROD EQU $019
EVENT_GOT_A_POKEMON_FROM_ELM EQU $01a
EVENT_GOT_CYNDAQUIL_FROM_ELM EQU $01b
EVENT_GOT_TOTODILE_FROM_ELM EQU $01c
EVENT_GOT_CHIKORITA_FROM_ELM EQU $01d
EVENT_GOT_MYSTERY_EGG_FROM_MR_POKEMON EQU $01e
EVENT_GAVE_MYSTERY_EGG_TO_ELM EQU $01f
EVENT_JASMINE_RETURNED_TO_GYM EQU $020
EVENT_CLEARED_RADIO_TOWER EQU $021
EVENT_CLEARED_ROCKET_HIDEOUT EQU $022
EVENT_GOT_SECRETPOTION_FROM_PHARMACY EQU $023
EVENT_GOT_SS_TICKET_FROM_ELM EQU $024
EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER EQU $025
EVENT_REFUSED_TO_HELP_LANCE_AT_LAKE_OF_RAGE EQU $026
EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE EQU $027
EVENT_MADE_WHITNEY_CRY EQU $028
EVENT_FOUGHT_SUDOWOODO EQU $02a
EVENT_CLEARED_SLOWPOKE_WELL EQU $02b
EVENT_REFUSED_TO_TAKE_EGG_FROM_ELMS_AIDE EQU $02c
EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE EQU $02d
EVENT_MADE_UNOWN_APPEAR_IN_RUINS EQU $02e
EVENT_HEALED_MOOMOO EQU $03d
EVENT_GOT_TM13_SNORE_FROM_MOOMOO_FARM EQU $03e
EVENT_TALKED_TO_FARMER_ABOUT_MOOMOO EQU $03f
EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST EQU $040
EVENT_DUDE_TALKED_TO_YOU EQU $041
EVENT_LEARNED_TO_CATCH_POKEMON EQU $042
EVENT_ELM_CALLED_ABOUT_STOLEN_POKEMON EQU $043
EVENT_GOT_SHUCKIE EQU $045
EVENT_MANIA_TOOK_SHUCKIE_OR_LET_YOU_KEEP_HIM EQU $046
EVENT_GOT_SUNNY_DAY_FROM_RADIO_TOWER EQU $047
EVENT_GOT_PINK_BOW_FROM_MARY EQU $048
EVENT_USED_BASEMENT_KEY EQU $049
EVENT_GOT_TM08_ROCK_SMASH EQU $04b
EVENT_GOT_MYSTIC_WATER_IN_CHERRYGROVE EQU $04d
EVENT_GOT_TM05_ROAR EQU $04e
EVENT_GOT_EEVEE EQU $04f
EVENT_GOT_KENYA EQU $050
EVENT_GAVE_KENYA EQU $051
EVENT_GOT_HP_UP_FROM_RANDY EQU $052
EVENT_GOT_TM50_NIGHTMARE EQU $053
EVENT_TOGEPI_HATCHED EQU $054
EVENT_SHOWED_TOGEPI_TO_ELM EQU $055
EVENT_GOT_EVERSTONE_FROM_ELM EQU $056
EVENT_GOT_QUICK_CLAW EQU $057
EVENT_GOT_TM10_HIDDEN_POWER EQU $058
EVENT_GOT_TM36_SLUDGE_BOMB EQU $059
EVENT_GOT_ITEMFINDER EQU $05a
EVENT_GOT_BICYCLE EQU $05b
EVENT_GOT_SQUIRTBOTTLE EQU $05c
EVENT_GOT_MIRACLE_SEED_IN_ROUTE_32 EQU $05d
EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN EQU $05e
EVENT_GOT_TM02_HEADBUTT EQU $05f
EVENT_DECIDED_TO_HELP_LANCE EQU $060
EVENT_GOT_TYROGUE_FROM_KIYO EQU $061
EVENT_MET_FRIEDA_OF_FRIDAY EQU $062
EVENT_GOT_POISON_BARB_FROM_FRIEDA EQU $063
EVENT_MET_TUSCANY_OF_TUESDAY EQU $064
EVENT_GOT_PINK_BOW_FROM_TUSCANY EQU $065
EVENT_MET_ARTHUR_OF_THURSDAY EQU $066
EVENT_GOT_HARD_STONE_FROM_ARTHUR EQU $067
EVENT_MET_SUNNY_OF_SUNDAY EQU $068
EVENT_GOT_MAGNET_FROM_SUNNY EQU $069
EVENT_MET_WESLEY_OF_WEDNESDAY EQU $06a
EVENT_GOT_BLACKBELT_FROM_WESLEY EQU $06b
EVENT_MET_SANTOS_OF_SATURDAY EQU $06c
EVENT_GOT_SPELL_TAG_FROM_SANTOS EQU $06d
EVENT_MET_MONICA_OF_MONDAY EQU $06e
EVENT_GOT_SHARP_BEAK_FROM_MONICA EQU $06f
EVENT_GOT_SOFT_SAND_FROM_KATE EQU $070
EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA EQU $071
EVENT_GOT_BLACKGLASSES_IN_DARK_CAVE EQU $072
EVENT_GOT_KINGS_ROCK_IN_SLOWPOKE_WELL EQU $073
EVENT_GOT_TM47_STEEL_WING EQU $074
EVENT_GOT_TM37_SANDSTORM EQU $075
EVENT_TOLD_ELM_ABOUT_TOGEPI_OVER_THE_PHONE EQU $077
EVENT_GOT_CLEAR_BELL EQU $078
EVENT_GOT_SILVER_WING EQU $079
EVENT_GOT_TM12_SWEET_SCENT EQU $07a
EVENT_RELEASED_THE_BEASTS EQU $07b
EVENT_GOT_MASTER_BALL_FROM_ELM EQU $07c
EVENT_FOUND_REVIVE_IN_ROCKET_BASE_B1F EQU $086
EVENT_CAN_GIVE_GS_BALL_TO_KURT EQU $0be
EVENT_RETURNED_MACHINE_PART EQU $0c9
EVENT_MET_MANAGER_AT_POWER_PLANT EQU $0ca
EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM EQU $0cb
EVENT_MET_REDS_MOM EQU $0cc
EVENT_RESTORED_POWER_TO_KANTO EQU $0cd
EVENT_GOT_COINS_FROM_GAMBLER_AT_CELADON EQU $0ce
EVENT_MET_COPYCAT_FOUND_OUT_ABOUT_LOST_ITEM EQU $0cf
EVENT_RETURNED_LOST_ITEM_TO_COPYCAT EQU $0d0
EVENT_GOT_PASS_FROM_COPYCAT EQU $0d1
EVENT_GOT_LOST_ITEM_FROM_FAN_CLUB EQU $0d2
EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT_BUT_BAG_WAS_FULL EQU $0d3
EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT EQU $0d4
EVENT_TALKED_TO_SEAFOAM_GYM_GUY_ONCE EQU $0d5
EVENT_ENABLE_DIPLOMA_PRINTING EQU $0d6
EVENT_CLEARED_NUGGET_BRIDGE EQU $0d8
EVENT_TALKED_TO_WARDENS_GRANDDAUGHTER EQU $0d9
EVENT_GOT_TM03_CURSE EQU $0da
EVENT_GOT_CLEANSE_TAG EQU $0db
EVENT_GOT_TM19_GIGA_DRAIN EQU $0dc
EVENT_GOT_TM06_TOXIC EQU $0dd
EVENT_GOT_UP_GRADE EQU $0de
EVENT_GOT_TM07_ZAP_CANNON EQU $0df
EVENT_GOT_TM42_DREAM_EATER EQU $0e0
EVENT_GOT_TM29_PSYCHIC EQU $0e3
EVENT_FOUND_LEFTOVERS_IN_CELADON_CAFE EQU $0f9
EVENT_FOUND_MACHINE_PART_IN_CERULEAN_GYM EQU $0fb
EVENT_SHOWED_BEVERLY_MARILL EQU $261
EVENT_SHOWED_DEREK_PIKACHU EQU $28d
EVENT_SHOWED_TIFFANY_CLEFAIRY EQU $293
EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD EQU $29e
EVENT_SWITCH_1 EQU $2d3
EVENT_SWITCH_2 EQU $2d4
EVENT_SWITCH_3 EQU $2d5
EVENT_EMERGENCY_SWITCH EQU $2d6
EVENT_SWITCH_4 EQU $2d7
EVENT_SWITCH_5 EQU $2d8
EVENT_SWITCH_6 EQU $2d9
EVENT_SWITCH_7 EQU $2da
EVENT_SWITCH_8 EQU $2db
EVENT_SWITCH_9 EQU $2dc
EVENT_SWITCH_10 EQU $2dd
EVENT_SWITCH_11 EQU $2de
EVENT_SWITCH_12 EQU $2df
EVENT_SWITCH_13 EQU $2e0
EVENT_SWITCH_14 EQU $2e1
EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART EQU $2e2
EVENT_TURNED_OFF_SECURITY_CAMERAS EQU $2e3
EVENT_SECURITY_CAMERA_1 EQU $2e4
EVENT_SECURITY_CAMERA_2 EQU $2e5
EVENT_SECURITY_CAMERA_3 EQU $2e6
EVENT_SECURITY_CAMERA_4 EQU $2e7
EVENT_SECURITY_CAMERA_5 EQU $2e8
EVENT_EXPLODING_TRAP_1 EQU $2e9
EVENT_EXPLODING_TRAP_2 EQU $2ea
EVENT_EXPLODING_TRAP_3 EQU $2eb
EVENT_EXPLODING_TRAP_4 EQU $2ec
EVENT_EXPLODING_TRAP_5 EQU $2ed
EVENT_EXPLODING_TRAP_6 EQU $2ee
EVENT_EXPLODING_TRAP_7 EQU $2ef
EVENT_EXPLODING_TRAP_8 EQU $2f0
EVENT_EXPLODING_TRAP_9 EQU $2f1
EVENT_EXPLODING_TRAP_10 EQU $2f2
EVENT_EXPLODING_TRAP_11 EQU $2f3
EVENT_EXPLODING_TRAP_12 EQU $2f4
EVENT_EXPLODING_TRAP_13 EQU $2f5
EVENT_EXPLODING_TRAP_14 EQU $2f6
EVENT_EXPLODING_TRAP_15 EQU $2f7
EVENT_EXPLODING_TRAP_16 EQU $2f8
EVENT_EXPLODING_TRAP_17 EQU $2f9
EVENT_EXPLODING_TRAP_18 EQU $2fa
EVENT_EXPLODING_TRAP_19 EQU $2fb
EVENT_EXPLODING_TRAP_20 EQU $2fc
EVENT_EXPLODING_TRAP_21 EQU $2fd
EVENT_EXPLODING_TRAP_22 EQU $2fe
EVENT_LEARNED_HAIL_GIOVANNI EQU $2ff
EVENT_OPENED_DOOR_TO_ROCKET_HIDEOUT_TRANSMITTER EQU $300
EVENT_WILLS_ROOM_EXIT_OPEN EQU $30a
EVENT_WILLS_ROOM_ENTRANCE_CLOSED EQU $30b
EVENT_KOGAS_ROOM_EXIT_OPEN EQU $30c
EVENT_KOGAS_ROOM_ENTRANCE_CLOSED EQU $30d
EVENT_BRUNOS_ROOM_EXIT_OPEN EQU $30e
EVENT_KARENS_ROOM_ENTRANCE_CLOSED EQU $30f
EVENT_KARENS_ROOM_EXIT_OPEN EQU $310
EVENT_LANCES_ROOM_ENTRANCE_CLOSED EQU $311
EVENT_FOUGHT_HO_OH EQU $317
EVENT_FOUGHT_LUGIA EQU $318
EVENT_BEAT_RIVAL_IN_MT_MOON EQU $319
EVENT_MET_BILLS_GRANDPA EQU $31a
EVENT_SHOWED_LICKITUNG_TO_BILLS_GRANDPA EQU $31b
EVENT_SHOWED_ODDISH_TO_BILLS_GRANDPA EQU $31c
EVENT_SHOWED_STARYU_TO_BILLS_GRANDPA EQU $31d
EVENT_SHOWED_GROWLITHE_VULPIX_TO_BILLS_GRANDPA EQU $31e
EVENT_SHOWED_PICHU_TO_BILLS_GRANDPA EQU $31f
EVENT_GOT_EVERSTONE_FROM_BILLS_GRANDPA EQU $320
EVENT_GOT_LEAF_STONE_FROM_BILLS_GRANDPA EQU $321
EVENT_GOT_WATER_STONE_FROM_BILLS_GRANDPA EQU $322
EVENT_GOT_FIRE_STONE_FROM_BILLS_GRANDPA EQU $323
EVENT_GOT_THUNDERSTONE_FROM_BILLS_GRANDPA EQU $324
EVENT_LISTENED_TO_RADIO_IN_NEIGHBORS_HOUSE EQU $325
EVENT_WALL_OPENED_IN_HO_OH_CHAMBER EQU $326
EVENT_WALL_OPENED_IN_KABUTO_CHAMBER EQU $327
EVENT_WALL_OPENED_IN_OMANYTE_CHAMBER EQU $328
EVENT_WALL_OPENED_IN_AERODACTYL_CHAMBER EQU $329
EVENT_WADE_HAS_BERRY EQU $32b
EVENT_WADE_HAS_PSNCUREBERRY EQU $32c
EVENT_WADE_HAS_PRZCUREBERRY EQU $32d
EVENT_WADE_HAS_BITTER_BERRY EQU $32e
EVENT_WILTON_HAS_ULTRA_BALL EQU $32f
EVENT_WILTON_HAS_GREAT_BALL EQU $330
EVENT_WILTON_HAS_POKE_BALL EQU $331
EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER EQU $334
EVENT_FOUGHT_SUICUNE EQU $335
EVENT_GOT_RAINBOW_WING EQU $336
EVENT_HUEY_PROTEIN EQU $337
EVENT_JOEY_HP_UP EQU $338
EVENT_VANCE_CARBOS EQU $339
EVENT_PARRY_IRON EQU $33a
EVENT_ERIN_CALCIUM EQU $33b
EVENT_BUENA_OFFERED_HER_PHONE_NUMBER EQU $33c
EVENT_MET_BUENA EQU $33d
EVENT_GOT_ODD_EGG EQU $33e
EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER EQU $340
EVENT_BEAT_SWIMMERF_ELAINE EQU $3e8
EVENT_BEAT_SWIMMERF_PAULA EQU $3e9
EVENT_BEAT_SWIMMERF_KAYLEE EQU $3ea
EVENT_BEAT_SWIMMERF_SUSIE EQU $3eb
EVENT_BEAT_SWIMMERF_DENISE EQU $3ec
EVENT_BEAT_SWIMMERF_KARA EQU $3ed
EVENT_BEAT_SWIMMERF_WENDY EQU $3ee
EVENT_BEAT_SWIMMERF_DAWN EQU $3f3
EVENT_BEAT_SWIMMERF_NICOLE EQU $3f5
EVENT_BEAT_SWIMMERF_LORI EQU $3f6
EVENT_BEAT_SWIMMERF_NIKKI EQU $3f8
EVENT_BEAT_SWIMMERF_DIANA EQU $3f9
EVENT_BEAT_SWIMMERF_BRIANA EQU $3fa
EVENT_BEAT_BIRD_KEEPER_ROD EQU $3fb
EVENT_BEAT_BIRD_KEEPER_ABE EQU $3fc
EVENT_BEAT_BIRD_KEEPER_BRYAN EQU $3fd
EVENT_BEAT_BIRD_KEEPER_THEO EQU $3fe
EVENT_BEAT_BIRD_KEEPER_TOBY EQU $3ff
EVENT_BEAT_BIRD_KEEPER_DENIS EQU $400
EVENT_BEAT_BIRD_KEEPER_VANCE_1 EQU $401
EVENT_BEAT_BIRD_KEEPER_HANK EQU $402
EVENT_BEAT_BIRD_KEEPER_ROY EQU $403
EVENT_BEAT_BIRD_KEEPER_BORIS EQU $404
EVENT_BEAT_BIRD_KEEPER_BOB EQU $405
EVENT_BEAT_BIRD_KEEPER_PETER EQU $407
EVENT_BEAT_BIRD_KEEPER_JOSE EQU $408
EVENT_BEAT_BIRD_KEEPER_PERRY EQU $409
EVENT_BEAT_BIRD_KEEPER_BRET EQU $40a
EVENT_BEAT_BOARDER_RONALD EQU $40e
EVENT_BEAT_BOARDER_BRAD EQU $40f
EVENT_BEAT_BOARDER_DOUGLAS EQU $410
EVENT_BEAT_SAGE_CHOW EQU $411
EVENT_BEAT_SAGE_NICO EQU $412
EVENT_BEAT_SAGE_JIN EQU $413
EVENT_BEAT_SAGE_TROY EQU $414
EVENT_BEAT_SAGE_JEFFREY EQU $415
EVENT_BEAT_SAGE_PING EQU $416
EVENT_BEAT_SAGE_EDMOND EQU $417
EVENT_BEAT_SAGE_NEAL EQU $418
EVENT_BEAT_SAGE_LI EQU $419
EVENT_BEAT_CAMPER_ROLAND EQU $41a
EVENT_BEAT_CAMPER_TODD_1 EQU $41b
EVENT_BEAT_CAMPER_IVAN EQU $41c
EVENT_BEAT_CAMPER_ELLIOT EQU $41d
EVENT_BEAT_CAMPER_LLOYD EQU $41f
EVENT_BEAT_CAMPER_DEAN EQU $420
EVENT_BEAT_CAMPER_SID EQU $421
EVENT_BEAT_CAMPER_TED EQU $424
EVENT_BEAT_CAMPER_JERRY EQU $42b
EVENT_BEAT_CAMPER_SPENCER EQU $42c
EVENT_BEAT_BURGLAR_DUNCAN EQU $42d
EVENT_BEAT_BURGLAR_EDDIE EQU $42e
EVENT_BEAT_BURGLAR_COREY EQU $42f
EVENT_BEAT_BIKER_DWAYNE EQU $433
EVENT_BEAT_BIKER_HARRIS EQU $434
EVENT_BEAT_BIKER_ZEKE EQU $435
EVENT_BEAT_BIKER_CHARLES EQU $436
EVENT_BEAT_BIKER_RILEY EQU $437
EVENT_BEAT_BIKER_JOEL EQU $438
EVENT_BEAT_BIKER_GLENN EQU $439
EVENT_BEAT_PSYCHIC_NATHAN EQU $43a
EVENT_BEAT_PSYCHIC_FRANKLIN EQU $43b
EVENT_BEAT_PSYCHIC_HERMAN EQU $43c
EVENT_BEAT_PSYCHIC_FIDEL EQU $43d
EVENT_BEAT_PSYCHIC_GREG EQU $43e
EVENT_BEAT_PSYCHIC_NORMAN EQU $43f
EVENT_BEAT_PSYCHIC_MARK EQU $440
EVENT_BEAT_PSYCHIC_PHIL EQU $441
EVENT_BEAT_PSYCHIC_RICHARD EQU $442
EVENT_BEAT_PSYCHIC_GILBERT EQU $443
EVENT_BEAT_PSYCHIC_JARED EQU $444
EVENT_BEAT_PSYCHIC_RODNEY EQU $445
EVENT_BEAT_FIREBREATHER_OTIS EQU $446
EVENT_BEAT_FIREBREATHER_BURT EQU $449
EVENT_BEAT_FIREBREATHER_BILL EQU $44a
EVENT_BEAT_FIREBREATHER_WALT EQU $44b
EVENT_BEAT_FIREBREATHER_RAY EQU $44c
EVENT_BEAT_FIREBREATHER_LYLE EQU $44d
EVENT_BEAT_FISHER_JUSTIN EQU $44e
EVENT_BEAT_FISHER_RALPH_1 EQU $44f
EVENT_BEAT_FISHER_ARNOLD EQU $450
EVENT_BEAT_FISHER_KYLE EQU $451
EVENT_BEAT_FISHER_HENRY EQU $452
EVENT_BEAT_FISHER_MARVIN EQU $453
EVENT_BEAT_FISHER_TULLY_1 EQU $454
EVENT_BEAT_FISHER_ANDRE EQU $455
EVENT_BEAT_FISHER_RAYMOND EQU $456
EVENT_BEAT_FISHER_WILTON_1 EQU $457
EVENT_BEAT_FISHER_EDGAR EQU $458
EVENT_BEAT_FISHER_JONAH EQU $459
EVENT_BEAT_FISHER_MARTIN EQU $45a
EVENT_BEAT_FISHER_STEPHEN EQU $45b
EVENT_BEAT_FISHER_BARNEY EQU $45c
EVENT_BEAT_FISHER_SCOTT EQU $462
EVENT_BEAT_TWINS_AMY_AND_MAY EQU $464
EVENT_BEAT_TWINS_ANN_AND_ANNE EQU $465
EVENT_BEAT_TWINS_JO_AND_ZOE EQU $468
EVENT_BEAT_TWINS_MEG_AND_PEG EQU $46a
EVENT_BEAT_SCHOOLBOY_JACK_1 EQU $46c
EVENT_BEAT_SCHOOLBOY_KIP EQU $46d
EVENT_BEAT_SCHOOLBOY_ALAN EQU $46e
EVENT_BEAT_SCHOOLBOY_JOHNNY EQU $46f
EVENT_BEAT_SCHOOLBOY_DANNY EQU $470
EVENT_BEAT_SCHOOLBOY_TOMMY EQU $471
EVENT_BEAT_SCHOOLBOY_DUDLEY EQU $472
EVENT_BEAT_SCHOOLBOY_JOE EQU $473
EVENT_BEAT_SCHOOLBOY_BILLY EQU $474
EVENT_BEAT_SCHOOLBOY_CHAD_1 EQU $475
EVENT_BEAT_SCHOOLBOY_NATE EQU $476
EVENT_BEAT_SCHOOLBOY_RICKY EQU $477
EVENT_BEAT_PICNICKER_LIZ_1 EQU $47e
EVENT_BEAT_PICNICKER_GINA_1 EQU $47f
EVENT_BEAT_PICNICKER_BROOKE EQU $480
EVENT_BEAT_PICNICKER_KIM EQU $481
EVENT_BEAT_PICNICKER_HOPE EQU $483
EVENT_BEAT_PICNICKER_SHARON EQU $484
EVENT_BEAT_PICNICKER_DEBRA EQU $485
EVENT_BEAT_PICNICKER_ERIN_1 EQU $487
EVENT_BEAT_PICNICKER_HEIDI EQU $48a
EVENT_BEAT_PICNICKER_EDNA EQU $48b
EVENT_BEAT_PICNICKER_TANYA EQU $490
EVENT_BEAT_PICNICKER_TIFFANY_3 EQU $491
EVENT_BEAT_GUITARIST_CLYDE EQU $493
EVENT_BEAT_GUITARIST_VINCENT EQU $494
EVENT_BEAT_JUGGLER_IRWIN_1 EQU $495
EVENT_BEAT_JUGGLER_FRITZ EQU $496
EVENT_BEAT_JUGGLER_HORTON EQU $497
EVENT_BEAT_GENTLEMAN_PRESTON EQU $49a
EVENT_BEAT_GENTLEMAN_EDWARD EQU $49b
EVENT_BEAT_GENTLEMAN_GREGORY EQU $49c
EVENT_BEAT_GENTLEMAN_ALFRED EQU $49e
EVENT_BEAT_SCIENTIST_ROSS EQU $49f
EVENT_BEAT_SCIENTIST_MITCH EQU $4a0
EVENT_BEAT_SCIENTIST_JED EQU $4a1
EVENT_BEAT_SCIENTIST_MARC EQU $4a2
EVENT_BEAT_SCIENTIST_RICH EQU $4a3
EVENT_BEAT_BLACKBELT_YOSHI EQU $4a5
EVENT_BEAT_BLACKBELT_LAO EQU $4a7
EVENT_BEAT_BLACKBELT_NOB EQU $4a8
EVENT_BEAT_BLACKBELT_LUNG EQU $4aa
EVENT_BEAT_BLACKBELT_KENJI_3 EQU $4ab
EVENT_BEAT_BLACKBELT_WAI EQU $4ac
EVENT_BEAT_BEAUTY_VICTORIA EQU $4ad
EVENT_BEAT_BEAUTY_SAMANTHA EQU $4ae
EVENT_BEAT_BEAUTY_CASSIE EQU $4b2
EVENT_BEAT_BEAUTY_JULIA EQU $4ba
EVENT_BEAT_BEAUTY_VALERIE EQU $4bc
EVENT_BEAT_FALKNER EQU $4bd
EVENT_BEAT_BUGSY EQU $4be
EVENT_BEAT_WHITNEY EQU $4bf
EVENT_BEAT_MORTY EQU $4c0
EVENT_BEAT_JASMINE EQU $4c1
EVENT_BEAT_CHUCK EQU $4c2
EVENT_BEAT_PRYCE EQU $4c3
EVENT_BEAT_CLAIR EQU $4c4
EVENT_BEAT_BROCK EQU $4c5
EVENT_BEAT_MISTY EQU $4c6
EVENT_BEAT_LTSURGE EQU $4c7
EVENT_BEAT_JANINE EQU $4c9
EVENT_BEAT_SABRINA EQU $4ca
EVENT_BEAT_BLUE EQU $4cc
EVENT_BEAT_POKEFANM_WILLIAM EQU $4cd
EVENT_BEAT_POKEFANM_DEREK EQU $4ce
EVENT_BEAT_POKEFANM_ROBERT EQU $4cf
EVENT_BEAT_POKEFANM_JOSHUA EQU $4d0
EVENT_BEAT_POKEFANM_CARTER EQU $4d1
EVENT_BEAT_POKEFANM_TREVOR EQU $4d2
EVENT_BEAT_POKEFANM_BRANDON EQU $4d3
EVENT_BEAT_POKEFANM_JEREMY EQU $4d4
EVENT_BEAT_POKEFANM_COLIN EQU $4d5
EVENT_BEAT_POKEFANM_ALEX EQU $4d8
EVENT_BEAT_POKEFANF_BEVERLY EQU $4d9
EVENT_BEAT_POKEFANF_RUTH EQU $4da
EVENT_BEAT_POKEFANF_GEORGIA EQU $4dd
EVENT_BEAT_KIMONO_GIRL_NAOKO EQU $4df
EVENT_BEAT_KIMONO_GIRL_SAYO EQU $4e0
EVENT_BEAT_KIMONO_GIRL_ZUKI EQU $4e1
EVENT_BEAT_KIMONO_GIRL_KUNI EQU $4e2
EVENT_BEAT_KIMONO_GIRL_MIKI EQU $4e3
EVENT_BEAT_POKEMANIAC_LARRY EQU $4e4
EVENT_BEAT_POKEMANIAC_ANDREW EQU $4e5
EVENT_BEAT_POKEMANIAC_CALVIN EQU $4e6
EVENT_BEAT_POKEMANIAC_SHANE EQU $4e7
EVENT_BEAT_POKEMANIAC_BEN EQU $4e8
EVENT_BEAT_POKEMANIAC_BRENT EQU $4e9
EVENT_BEAT_POKEMANIAC_RON EQU $4ea
EVENT_BEAT_POKEMANIAC_ETHAN EQU $4eb
EVENT_BEAT_POKEMANIAC_ISSAC EQU $4ee
EVENT_BEAT_POKEMANIAC_DONALD EQU $4ef
EVENT_BEAT_POKEMANIAC_ZACH EQU $4f0
EVENT_BEAT_ROCKET_GRUNTM_1 EQU $4f1
EVENT_BEAT_ROCKET_GRUNTM_2 EQU $4f2
EVENT_BEAT_ROCKET_GRUNTM_3 EQU $4f3
EVENT_BEAT_ROCKET_GRUNTM_4 EQU $4f4
EVENT_BEAT_ROCKET_GRUNTM_5 EQU $4f5
EVENT_BEAT_ROCKET_GRUNTM_6 EQU $4f6
EVENT_BEAT_ROCKET_GRUNTM_7 EQU $4f7
EVENT_BEAT_ROCKET_GRUNTM_8 EQU $4f8
EVENT_BEAT_ROCKET_GRUNTM_9 EQU $4f9
EVENT_BEAT_ROCKET_GRUNTM_10 EQU $4fa
EVENT_BEAT_ROCKET_GRUNTM_11 EQU $4fb
EVENT_BEAT_ROCKET_GRUNTM_12 EQU $4fd
EVENT_BEAT_ROCKET_GRUNTM_13 EQU $4fe
EVENT_BEAT_ROCKET_GRUNTM_14 EQU $4ff
EVENT_BEAT_ROCKET_GRUNTM_15 EQU $500
EVENT_BEAT_ROCKET_GRUNTM_16 EQU $501
EVENT_BEAT_ROCKET_GRUNTM_17 EQU $502
EVENT_BEAT_ROCKET_GRUNTM_18 EQU $503
EVENT_BEAT_ROCKET_GRUNTM_19 EQU $508
EVENT_BEAT_ROCKET_GRUNTM_20 EQU $509
EVENT_BEAT_ROCKET_GRUNTM_21 EQU $50c
EVENT_BEAT_ROCKET_GRUNTM_22 EQU $50d
EVENT_BEAT_ROCKET_GRUNTF_1 EQU $510
EVENT_BEAT_ROCKET_GRUNTF_2 EQU $511
EVENT_BEAT_ROCKET_GRUNTF_3 EQU $512
EVENT_BEAT_ROCKET_GRUNTF_4 EQU $513
EVENT_BEAT_ROCKET_GRUNTF_5 EQU $514
EVENT_BEAT_LASS_CARRIE EQU $515
EVENT_BEAT_LASS_BRIDGET EQU $516
EVENT_BEAT_LASS_KRISE EQU $518
EVENT_BEAT_LASS_CONNIE_1 EQU $519
EVENT_BEAT_LASS_LAURA EQU $51b
EVENT_BEAT_LASS_SHANNON EQU $51c
EVENT_BEAT_LASS_MICHELLE EQU $51d
EVENT_BEAT_LASS_DANA EQU $51e
EVENT_BEAT_LASS_ELLEN EQU $51f
EVENT_BEAT_HIKER_RUSSELL EQU $525
EVENT_BEAT_HIKER_PHILLIP EQU $526
EVENT_BEAT_HIKER_LEONARD EQU $527
EVENT_BEAT_HIKER_ANTHONY_2 EQU $528
EVENT_BEAT_HIKER_BENJAMIN EQU $529
EVENT_BEAT_HIKER_ERIK EQU $52a
EVENT_BEAT_HIKER_MICHAEL EQU $52b
EVENT_BEAT_HIKER_PARRY_3 EQU $52c
EVENT_BEAT_HIKER_TIMOTHY EQU $52d
EVENT_BEAT_HIKER_BAILEY EQU $52e
EVENT_BEAT_HIKER_TIM EQU $530
EVENT_BEAT_HIKER_NOLAND EQU $531
EVENT_BEAT_HIKER_SIDNEY EQU $532
EVENT_BEAT_HIKER_KENNY EQU $533
EVENT_BEAT_HIKER_JIM EQU $534
EVENT_BEAT_HIKER_DANIEL EQU $535
EVENT_BEAT_BUG_CATCHER_DON EQU $538
EVENT_BEAT_BUG_CATCHER_ROB EQU $539
EVENT_BEAT_BUG_CATCHER_ED EQU $53a
EVENT_BEAT_BUG_CATCHER_WADE_1 EQU $53b
EVENT_BEAT_BUG_CATCHER_BENNY EQU $53c
EVENT_BEAT_BUG_CATCHER_AL EQU $53d
EVENT_BEAT_BUG_CATCHER_JOSH EQU $53e
EVENT_BEAT_BUG_CATCHER_ARNIE_1 EQU $53f
EVENT_BEAT_BUG_CATCHER_KEN EQU $540
EVENT_BEAT_BUG_CATCHER_DOUG EQU $543
EVENT_BEAT_COOLTRAINERM_NICK EQU $548
EVENT_BEAT_COOLTRAINERM_AARON EQU $549
EVENT_BEAT_COOLTRAINERM_PAUL EQU $54a
EVENT_BEAT_COOLTRAINERM_CODY EQU $54b
EVENT_BEAT_COOLTRAINERM_MIKE EQU $54c
EVENT_BEAT_COOLTRAINERM_RYAN EQU $54f
EVENT_BEAT_COOLTRAINERM_JAKE EQU $550
EVENT_BEAT_COOLTRAINERM_GAVEN_3 EQU $551
EVENT_BEAT_COOLTRAINERM_BLAKE EQU $552
EVENT_BEAT_COOLTRAINERM_BRIAN EQU $553
EVENT_BEAT_COOLTRAINERM_SEAN EQU $557
EVENT_BEAT_COOLTRAINERM_ALLEN EQU $55a
EVENT_BEAT_COOLTRAINERF_GWEN EQU $55b
EVENT_BEAT_COOLTRAINERF_LOIS EQU $55c
EVENT_BEAT_COOLTRAINERF_FRAN EQU $55d
EVENT_BEAT_COOLTRAINERF_LOLA EQU $55e
EVENT_BEAT_COOLTRAINERF_KATE EQU $55f
EVENT_BEAT_COOLTRAINERF_IRENE EQU $560
EVENT_BEAT_COOLTRAINERF_KELLY EQU $561
EVENT_BEAT_COOLTRAINERF_JOYCE EQU $562
EVENT_BEAT_COOLTRAINERF_BETH_1 EQU $563
EVENT_BEAT_COOLTRAINERF_REENA_1 EQU $564
EVENT_BEAT_COOLTRAINERF_MEGAN EQU $565
EVENT_BEAT_COOLTRAINERF_CAROL EQU $567
EVENT_BEAT_COOLTRAINERF_QUINN EQU $568
EVENT_BEAT_COOLTRAINERF_EMMA EQU $569
EVENT_BEAT_COOLTRAINERF_CYBIL EQU $56a
EVENT_BEAT_COOLTRAINERF_JENN EQU $56b
EVENT_BEAT_ROCKET_EXECUTIVEF EQU $56f
EVENT_BEAT_ROCKET_EXECUTIVEM EQU $572
EVENT_BEAT_SAILOR_EUGENE EQU $575
EVENT_BEAT_SAILOR_HUEY_1 EQU $576
EVENT_BEAT_SAILOR_TERRELL EQU $577
EVENT_BEAT_SAILOR_KENT EQU $578
EVENT_BEAT_SAILOR_ERNEST EQU $579
EVENT_BEAT_SAILOR_JEFF EQU $57a
EVENT_BEAT_SAILOR_GARRETT EQU $57b
EVENT_BEAT_SAILOR_KENNETH EQU $57c
EVENT_BEAT_SAILOR_HARRY EQU $57e
EVENT_BEAT_SUPER_NERD_ERIC EQU $582
EVENT_BEAT_SUPER_NERD_SAM EQU $586
EVENT_BEAT_SUPER_NERD_TOM EQU $587
EVENT_BEAT_SUPER_NERD_PAT EQU $588
EVENT_BEAT_SUPER_NERD_SHAWN EQU $589
EVENT_BEAT_SUPER_NERD_TERU EQU $58a
EVENT_BEAT_MEDIUM_MARTHA EQU $58b
EVENT_BEAT_MEDIUM_GRACE EQU $58c
EVENT_BEAT_MEDIUM_REBECCA EQU $590
EVENT_BEAT_MEDIUM_DORIS EQU $591
EVENT_BEAT_SKIER_ROXANNE EQU $592
EVENT_BEAT_SKIER_CLARISSA EQU $593
EVENT_BEAT_SWIMMERM_HAROLD EQU $594
EVENT_BEAT_SWIMMERM_SIMON EQU $595
EVENT_BEAT_SWIMMERM_RANDALL EQU $596
EVENT_BEAT_SWIMMERM_CHARLIE EQU $597
EVENT_BEAT_SWIMMERM_GEORGE EQU $598
EVENT_BEAT_SWIMMERM_BERKE EQU $599
EVENT_BEAT_SWIMMERM_KIRK EQU $59a
EVENT_BEAT_SWIMMERM_MATHEW EQU $59b
EVENT_BEAT_SWIMMERM_JEROME EQU $5a1
EVENT_BEAT_SWIMMERM_TUCKER EQU $5a2
EVENT_BEAT_SWIMMERM_CAMERON EQU $5a4
EVENT_BEAT_SWIMMERM_SETH EQU $5a5
EVENT_BEAT_SWIMMERM_PARKER EQU $5a8
EVENT_BEAT_YOUNGSTER_JOEY_1 EQU $5a9
EVENT_BEAT_YOUNGSTER_MIKEY EQU $5aa
EVENT_BEAT_YOUNGSTER_ALBERT EQU $5ab
EVENT_BEAT_YOUNGSTER_GORDON EQU $5ac
EVENT_BEAT_YOUNGSTER_SAMUEL EQU $5ad
EVENT_BEAT_YOUNGSTER_IAN EQU $5ae
EVENT_BEAT_YOUNGSTER_WARREN EQU $5b1
EVENT_BEAT_YOUNGSTER_JIMMY EQU $5b2
EVENT_BEAT_YOUNGSTER_OWEN EQU $5b3
EVENT_BEAT_YOUNGSTER_JASON EQU $5b4
EVENT_BEAT_TEACHER_COLETTE EQU $5b5
EVENT_BEAT_TEACHER_HILLARY EQU $5b6
EVENT_BEAT_TEACHER_SHIRLEY EQU $5b7
EVENT_BEAT_ELITE_4_KAREN EQU $5bb
EVENT_BEAT_CHAMPION_LANCE EQU $5bc
EVENT_BEAT_COOLTRAINERM_DARIN EQU $5bd
EVENT_BEAT_COOLTRAINERF_CARA EQU $5be
EVENT_BEAT_TWINS_LEA_AND_PIA EQU $5bf
EVENT_BEAT_BUG_CATCHER_WAYNE EQU $5c0
EVENT_BEAT_BEAUTY_OLIVIA EQU $5c1
EVENT_BEAT_POKEMANIAC_MILER EQU $5c4
EVENT_BEAT_SUPER_NERD_HUGH EQU $5c5
EVENT_BEAT_SUPER_NERD_MARKUS EQU $5c6
EVENT_BEAT_POKEFANM_REX EQU $5c7
EVENT_BEAT_POKEFANM_ALLAN EQU $5c8
EVENT_BEAT_SAGE_GAKU EQU $5c9
EVENT_BEAT_SAGE_MASA EQU $5ca
EVENT_BEAT_SAGE_KOJI EQU $5cb
EVENT_GUIDE_GENT_VISIBLE_IN_CHERRYGROVE EQU $6ff
EVENT_ELMS_AIDE_IN_VIOLET_POKEMON_CENTER EQU $700
EVENT_ELMS_AIDE_IN_LAB EQU $701
EVENT_BOULDER_IN_ICE_PATH_1 EQU $70d
EVENT_BOULDER_IN_ICE_PATH_2 EQU $70e
EVENT_BOULDER_IN_ICE_PATH_3 EQU $70f
EVENT_BOULDER_IN_ICE_PATH_4 EQU $710
EVENT_FOUGHT_SNORLAX EQU $750
EVENT_PICKED_UP_FOCUS_BAND EQU $77d
EVENT_PICKED_UP_GOLD_BERRY_FROM_HO_OH_ITEM_ROOM EQU $794
EVENT_PICKED_UP_MYSTERYBERRY_FROM_HO_OH_ITEM_ROOM EQU $795
EVENT_PICKED_UP_REVIVAL_HERB_FROM_HO_OH_ITEM_ROOM EQU $796
EVENT_PICKED_UP_CHARCOAL_FROM_HO_OH_ITEM_ROOM EQU $797
EVENT_PICKED_UP_BERRY_FROM_KABUTO_ITEM_ROOM EQU $798
EVENT_PICKED_UP_PSNCUREBERRY_FROM_KABUTO_ITEM_ROOM EQU $799
EVENT_PICKED_UP_HEAL_POWDER_FROM_KABUTO_ITEM_ROOM EQU $79a
EVENT_PICKED_UP_ENERGYPOWDER_FROM_KABUTO_ITEM_ROOM EQU $79b
EVENT_PICKED_UP_MYSTERYBERRY_FROM_OMANYTE_ITEM_ROOM EQU $79c
EVENT_PICKED_UP_MYSTIC_WATER_FROM_OMANYTE_ITEM_ROOM EQU $79d
EVENT_PICKED_UP_STARDUST_FROM_OMANYTE_ITEM_ROOM EQU $79e
EVENT_PICKED_UP_STAR_PIECE_FROM_OMANYTE_ITEM_ROOM EQU $79f
EVENT_PICKED_UP_GOLD_BERRY_FROM_AERODACTYL_ITEM_ROOM EQU $7a0
EVENT_PICKED_UP_MOON_STONE_FROM_AERODACTYL_ITEM_ROOM EQU $7a1
EVENT_PICKED_UP_HEAL_POWDER_FROM_AERODACTYL_ITEM_ROOM EQU $7a2
EVENT_PICKED_UP_ENERGY_ROOT_FROM_AERODACTYL_ITEM_ROOM EQU $7a3
EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY EQU $7ae
EVENT_SAW_SUICUNE_ON_ROUTE_42 EQU $7af
EVENT_SAW_SUICUNE_ON_ROUTE_36 EQU $7b0
EVENT_SET_WHEN_FOUGHT_HO_OH EQU $7b7

View File

@ -9,7 +9,7 @@ AzaleaGym_MapScriptHeader: ; 0x18ec1c
BugsyScript_0x18ec1e: ; 0x18ec1e
faceplayer
loadfont
checkbit1 $04be
checkbit1 EVENT_BEAT_BUGSY
iftrue UnknownScript_0x18ec48
2writetext UnknownText_0x18ed0b
closetext
@ -18,7 +18,7 @@ BugsyScript_0x18ec1e: ; 0x18ec1e
loadtrainer BUGSY, 1
startbattle
returnafterbattle
setbit1 $04be
setbit1 EVENT_BEAT_BUGSY
loadfont
2writetext UnknownText_0x18ee14
playsound $009c
@ -27,17 +27,17 @@ BugsyScript_0x18ec1e: ; 0x18ec1e
checkcode $7
2call UnknownScript_0x18ec73
UnknownScript_0x18ec48: ; 0x18ec48
checkbit1 $0009
checkbit1 EVENT_GOT_TM49_FURY_CUTTER
iftrue UnknownScript_0x18ec6d
setbit1 $0464
setbit1 $053c
setbit1 $053d
setbit1 $053e
setbit1 EVENT_BEAT_TWINS_AMY_AND_MAY
setbit1 EVENT_BEAT_BUG_CATCHER_BENNY
setbit1 EVENT_BEAT_BUG_CATCHER_AL
setbit1 EVENT_BEAT_BUG_CATCHER_JOSH
2writetext UnknownText_0x18ee2b
keeptextopen
verbosegiveitem TM_49, 1
iffalse UnknownScript_0x18ec71
setbit1 $0009
setbit1 EVENT_GOT_TM49_FURY_CUTTER
2writetext UnknownText_0x18eefa
closetext
loadmovesprites
@ -213,7 +213,7 @@ Bug_catcherJoshScript: ; 0x18ecde
AzaleaGymGuyScript: ; 0x18ece6
faceplayer
checkbit1 $04be
checkbit1 EVENT_BEAT_BUGSY
iftrue .AzaleaGymGuyWinScript
loadfont
2writetext AzaleaGymGuyText

View File

@ -59,9 +59,9 @@ UnknownScript_0x198049: ; 0x198049
closetext
loadmovesprites
setbit1 $06bf
checkbit1 $001c
checkbit1 EVENT_GOT_TOTODILE_FROM_ELM
iftrue UnknownScript_0x198071
checkbit1 $001d
checkbit1 EVENT_GOT_CHIKORITA_FROM_ELM
iftrue UnknownScript_0x198081
winlosstext UnknownText_0x1981e6, UnknownText_0x19835b
setlasttalked $b
@ -119,7 +119,7 @@ AzaleaRocketScript_0x1980ae: ; 0x1980ae
GrampsScript_0x1980b1: ; 0x1980b1
faceplayer
loadfont
checkbit1 $002b
checkbit1 EVENT_CLEARED_SLOWPOKE_WELL
iftrue UnknownScript_0x1980bf
2writetext UnknownText_0x19841b
closetext

View File

@ -11,23 +11,23 @@ GrampsScript_0x189538: ; 0x189538
loadfont
checkbit1 $0000
iftrue UnknownScript_0x1896ba
checkbit1 $0324
checkbit1 EVENT_GOT_THUNDERSTONE_FROM_BILLS_GRANDPA
iftrue UnknownScript_0x1896c0
checkbit1 $031a
checkbit1 EVENT_MET_BILLS_GRANDPA
iftrue UnknownScript_0x189553
2writetext UnknownText_0x1896ce
keeptextopen
setbit1 $031a
setbit1 EVENT_MET_BILLS_GRANDPA
UnknownScript_0x189553: ; 0x189553
checkbit1 $031f
checkbit1 EVENT_SHOWED_PICHU_TO_BILLS_GRANDPA
iftrue UnknownScript_0x189697
checkbit1 $031e
checkbit1 EVENT_SHOWED_GROWLITHE_VULPIX_TO_BILLS_GRANDPA
iftrue UnknownScript_0x189680
checkbit1 $031d
checkbit1 EVENT_SHOWED_STARYU_TO_BILLS_GRANDPA
iftrue UnknownScript_0x189669
checkbit1 $031c
checkbit1 EVENT_SHOWED_ODDISH_TO_BILLS_GRANDPA
iftrue UnknownScript_0x189652
checkbit1 $031b
checkbit1 EVENT_SHOWED_LICKITUNG_TO_BILLS_GRANDPA
iftrue UnknownScript_0x18963b
2writetext UnknownText_0x1898c0
keeptextopen
@ -39,7 +39,7 @@ UnknownScript_0x189553: ; 0x189553
iffalse UnknownScript_0x1896aa
if_not_equal LICKITUNG, UnknownScript_0x1896c6
2call UnknownScript_0x1896b0
setbit1 $031b
setbit1 EVENT_SHOWED_LICKITUNG_TO_BILLS_GRANDPA
2jump UnknownScript_0x18963b
; 0x189592
@ -54,7 +54,7 @@ UnknownScript_0x189592: ; 0x189592
iffalse UnknownScript_0x1896aa
if_not_equal ODDISH, UnknownScript_0x1896c6
2call UnknownScript_0x1896b0
setbit1 $031c
setbit1 EVENT_SHOWED_ODDISH_TO_BILLS_GRANDPA
2jump UnknownScript_0x189652
; 0x1895b3
@ -69,7 +69,7 @@ UnknownScript_0x1895b3: ; 0x1895b3
iffalse UnknownScript_0x1896aa
if_not_equal STARYU, UnknownScript_0x1896c6
2call UnknownScript_0x1896b0
setbit1 $031d
setbit1 EVENT_SHOWED_STARYU_TO_BILLS_GRANDPA
2jump UnknownScript_0x189669
; 0x1895d4
@ -86,7 +86,7 @@ UnknownScript_0x1895d4: ; 0x1895d4
iffalse UnknownScript_0x1896aa
if_not_equal GROWLITHE, UnknownScript_0x1896c6
2call UnknownScript_0x1896b0
setbit1 $031e
setbit1 EVENT_SHOWED_GROWLITHE_VULPIX_TO_BILLS_GRANDPA
2jump UnknownScript_0x189680
; 0x1895f9
@ -101,7 +101,7 @@ UnknownScript_0x1895f9: ; 0x1895f9
iffalse UnknownScript_0x1896aa
if_not_equal VULPIX, UnknownScript_0x1896c6
2call UnknownScript_0x1896b0
setbit1 $031e
setbit1 EVENT_SHOWED_GROWLITHE_VULPIX_TO_BILLS_GRANDPA
2jump UnknownScript_0x189680
; 0x18961a
@ -116,53 +116,53 @@ UnknownScript_0x18961a: ; 0x18961a
iffalse UnknownScript_0x1896aa
if_not_equal PICHU, UnknownScript_0x1896c6
2call UnknownScript_0x1896b0
setbit1 $031f
setbit1 EVENT_SHOWED_PICHU_TO_BILLS_GRANDPA
2jump UnknownScript_0x189697
; 0x18963b
UnknownScript_0x18963b: ; 0x18963b
checkbit1 $0320
checkbit1 EVENT_GOT_EVERSTONE_FROM_BILLS_GRANDPA
iftrue UnknownScript_0x189592
2call UnknownScript_0x1896b5
verbosegiveitem EVERSTONE, 1
iffalse UnknownScript_0x1896cc
setbit1 $0320
setbit1 EVENT_GOT_EVERSTONE_FROM_BILLS_GRANDPA
setbit1 $0000
loadmovesprites
end
; 0x189652
UnknownScript_0x189652: ; 0x189652
checkbit1 $0321
checkbit1 EVENT_GOT_LEAF_STONE_FROM_BILLS_GRANDPA
iftrue UnknownScript_0x1895b3
2call UnknownScript_0x1896b5
verbosegiveitem LEAF_STONE, 1
iffalse UnknownScript_0x1896cc
setbit1 $0321
setbit1 EVENT_GOT_LEAF_STONE_FROM_BILLS_GRANDPA
setbit1 $0000
loadmovesprites
end
; 0x189669
UnknownScript_0x189669: ; 0x189669
checkbit1 $0322
checkbit1 EVENT_GOT_WATER_STONE_FROM_BILLS_GRANDPA
iftrue UnknownScript_0x1895d4
2call UnknownScript_0x1896b5
verbosegiveitem WATER_STONE, 1
iffalse UnknownScript_0x1896cc
setbit1 $0322
setbit1 EVENT_GOT_WATER_STONE_FROM_BILLS_GRANDPA
setbit1 $0000
loadmovesprites
end
; 0x189680
UnknownScript_0x189680: ; 0x189680
checkbit1 $0323
checkbit1 EVENT_GOT_FIRE_STONE_FROM_BILLS_GRANDPA
iftrue UnknownScript_0x18961a
2call UnknownScript_0x1896b5
verbosegiveitem FIRE_STONE, 1
iffalse UnknownScript_0x1896cc
setbit1 $0323
setbit1 EVENT_GOT_FIRE_STONE_FROM_BILLS_GRANDPA
setbit1 $0000
loadmovesprites
end
@ -172,7 +172,7 @@ UnknownScript_0x189697: ; 0x189697
2call UnknownScript_0x1896b5
verbosegiveitem THUNDERSTONE, 1
iffalse UnknownScript_0x1896cc
setbit1 $0324
setbit1 EVENT_GOT_THUNDERSTONE_FROM_BILLS_GRANDPA
loadmovesprites
end
; 0x1896a5

View File

@ -32,9 +32,9 @@ UnknownScript_0x1a46e5: ; 0x1a46e5
SuperNerdScript_0x1a46e8: ; 0x1a46e8
faceplayer
loadfont
checkbit1 $04c4
checkbit1 EVENT_BEAT_CLAIR
iftrue UnknownScript_0x1a4702
checkbit1 $0021
checkbit1 EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x1a46fc
2writetext UnknownText_0x1a477a
closetext
@ -67,7 +67,7 @@ GrampsScript_0x1a470b: ; 0x1a470b
BlackBeltScript_0x1a470e: ; 0x1a470e
faceplayer
loadfont
checkbit1 $0021
checkbit1 EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x1a471c
2writetext UnknownText_0x1a494a
closetext
@ -97,21 +97,21 @@ CooltrainerFScript_0x1a4728: ; 0x1a4728
YoungsterScript_0x1a472b: ; 0x1a472b
faceplayer
loadfont
checkbit1 $006d
checkbit1 EVENT_GOT_SPELL_TAG_FROM_SANTOS
iftrue UnknownScript_0x1a4759
checkcode $b
if_not_equal SATURDAY, UnknownScript_0x1a475f
checkbit1 $006c
checkbit1 EVENT_MET_SANTOS_OF_SATURDAY
iftrue UnknownScript_0x1a4746
2writetext UnknownText_0x1a4a27
keeptextopen
setbit1 $006c
setbit1 EVENT_MET_SANTOS_OF_SATURDAY
UnknownScript_0x1a4746: ; 0x1a4746
2writetext UnknownText_0x1a4a57
keeptextopen
verbosegiveitem SPELL_TAG, 1
iffalse UnknownScript_0x1a475d
setbit1 $006d
setbit1 EVENT_GOT_SPELL_TAG_FROM_SANTOS
2writetext UnknownText_0x1a4a6b
closetext
loadmovesprites

View File

@ -31,7 +31,7 @@ ClairScript_0x194e24: ; 0x194e24
loadfont
checkbit2 $0022
iftrue UnknownScript_0x194e69
checkbit1 $04c4
checkbit1 EVENT_BEAT_CLAIR
iftrue UnknownScript_0x194e63
2writetext UnknownText_0x194efa
closetext
@ -40,16 +40,16 @@ ClairScript_0x194e24: ; 0x194e24
loadtrainer CLAIR, 1
startbattle
returnafterbattle
setbit1 $04c4
setbit1 EVENT_BEAT_CLAIR
loadfont
2writetext UnknownText_0x19500e
closetext
loadmovesprites
setbit1 $054a
setbit1 $054b
setbit1 $054c
setbit1 $055d
setbit1 $055e
setbit1 EVENT_BEAT_COOLTRAINERM_PAUL
setbit1 EVENT_BEAT_COOLTRAINERM_CODY
setbit1 EVENT_BEAT_COOLTRAINERM_MIKE
setbit1 EVENT_BEAT_COOLTRAINERF_FRAN
setbit1 EVENT_BEAT_COOLTRAINERF_LOLA
clearbit1 $0736
setbit1 $074c
clearbit1 $074d
@ -64,7 +64,7 @@ UnknownScript_0x194e63: ; 0x194e63
; 0x194e69
UnknownScript_0x194e69: ; 0x194e69
checkbit1 $000f
checkbit1 EVENT_GOT_TM24_DRAGONBREATH
iftrue UnknownScript_0x194e94
2writetext UnknownText_0x195196
keeptextopen
@ -75,7 +75,7 @@ UnknownScript_0x194e69: ; 0x194e69
playsound $0001
waitbutton
itemnotify
setbit1 $000f
setbit1 EVENT_GOT_TM24_DRAGONBREATH
2writetext UnknownText_0x1951d1
keeptextopen
2jump UnknownScript_0x194e94
@ -185,7 +185,7 @@ CooltrainerfLolaScript: ; 0x194ece
BlackthornGymGuyScript: ; 0x194ed6
faceplayer
loadfont
checkbit1 $04c4
checkbit1 EVENT_BEAT_CLAIR
iftrue .BlackthornGymGuyWinScript
2writetext BlackthornGymGuyText
closetext

View File

@ -24,11 +24,11 @@ UnknownScript_0x180997: ; 0x180997
; 0x180998
UnknownScript_0x180998: ; 0x180998
checkbit1 $030d
checkbit1 EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
iffalse UnknownScript_0x1809a2
changeblock $4, $e, $2a
UnknownScript_0x1809a2: ; 0x1809a2
checkbit1 $030e
checkbit1 EVENT_BRUNOS_ROOM_EXIT_OPEN
iffalse UnknownScript_0x1809ac
changeblock $4, $2, $16
UnknownScript_0x1809ac: ; 0x1809ac
@ -44,7 +44,7 @@ UnknownScript_0x1809ad: ; 0x1809ad
reloadmappart
loadmovesprites
dotrigger $1
setbit1 $030d
setbit1 EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
waitbutton
end
; 0x1809c5
@ -70,7 +70,7 @@ BrunoScript_0x1809c5: ; 0x1809c5
changeblock $4, $2, $16
reloadmappart
loadmovesprites
setbit1 $030e
setbit1 EVENT_BRUNOS_ROOM_EXIT_OPEN
waitbutton
end
; 0x1809f3

View File

@ -33,7 +33,7 @@ UnknownScript_0x185bf8: ; 0x185bf8
iftrue UnknownScript_0x185c02
changeblock $a, $8, $32
UnknownScript_0x185c02: ; 0x185c02
checkbit1 $007b
checkbit1 EVENT_RELEASED_THE_BEASTS
iftrue UnknownScript_0x185c0c
changeblock $6, $e, $9
UnknownScript_0x185c0c: ; 0x185c0c
@ -66,9 +66,9 @@ UnknownScript_0x185c25: ; 0x185c25
2writetext UnknownText_0x185cd9
closetext
loadmovesprites
checkbit1 $001c
checkbit1 EVENT_GOT_TOTODILE_FROM_ELM
iftrue UnknownScript_0x185c60
checkbit1 $001d
checkbit1 EVENT_GOT_CHIKORITA_FROM_ELM
iftrue UnknownScript_0x185c70
winlosstext UnknownText_0x185d9b, UnknownText_0x185e2c
setlasttalked $4

View File

@ -23,7 +23,7 @@ UnknownScript_0x18615f: ; 0x18615f
; 0x186160
UnknownScript_0x186160: ; 0x186160
checkbit1 $007b
checkbit1 EVENT_RELEASED_THE_BEASTS
iftrue UnknownScript_0x18616a
changeblock $6, $e, $2
UnknownScript_0x18616a: ; 0x18616a
@ -80,11 +80,11 @@ UnknownScript_0x18616b: ; 0x18616b
waitbutton
special $003d
dotrigger $1
setbit1 $007b
setbit1 EVENT_RELEASED_THE_BEASTS
special $0069
domaptrigger GROUP_ECRUTEAK_GYM, MAP_ECRUTEAK_GYM, $1
domaptrigger GROUP_CIANWOOD_CITY, MAP_CIANWOOD_CITY, $1
clearbit1 $07ae
clearbit1 EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
setbit1 $07a8
clearbit1 $07a9
setbit1 $0764

View File

@ -92,7 +92,7 @@ MapCeladonCafeSignpost0Script: ; 0x730ad
; 0x730b0
MapCeladonCafeSignpost1Script: ; 0x730b0
checkbit1 $00f9
checkbit1 EVENT_FOUND_LEFTOVERS_IN_CELADON_CAFE
iftrue UnknownScript_0x730db
giveitem LEFTOVERS, $1
iffalse UnknownScript_0x730cd
@ -103,7 +103,7 @@ MapCeladonCafeSignpost1Script: ; 0x730b0
waitbutton
itemnotify
loadmovesprites
setbit1 $00f9
setbit1 EVENT_FOUND_LEFTOVERS_IN_CELADON_CAFE
end
; 0x730cd

View File

@ -47,7 +47,7 @@ FishingGuruScript_0x72139: ; 0x72139
FisherScript_0x72144: ; 0x72144
faceplayer
loadfont
checkbit1 $00ce
checkbit1 EVENT_GOT_COINS_FROM_GAMBLER_AT_CELADON
iftrue .UnknownScript_0x72169
2writetext UnknownText_0x722dc
keeptextopen
@ -58,7 +58,7 @@ FisherScript_0x72144: ; 0x72144
stringtotext .coinname, $1
2call .UnknownScript_0x72172
givecoins 18
setbit1 $00ce
setbit1 EVENT_GOT_COINS_FROM_GAMBLER_AT_CELADON
.UnknownScript_0x72169 ; 0x72169
2writetext UnknownText_0x72345
closetext

View File

@ -19,23 +19,23 @@ ErikaScript_0x72a6a: ; 0x72a6a
startbattle
returnafterbattle
setbit1 $04c8
setbit1 $051d
setbit1 $0490
setbit1 $04ba
setbit1 $0468
setbit1 EVENT_BEAT_LASS_MICHELLE
setbit1 EVENT_BEAT_PICNICKER_TANYA
setbit1 EVENT_BEAT_BEAUTY_JULIA
setbit1 EVENT_BEAT_TWINS_JO_AND_ZOE
loadfont
2writetext UnknownText_0x72c96
playsound $009c
waitbutton
setbit2 $0026
UnknownScript_0x72a9b: ; 0x72a9b
checkbit1 $00dc
checkbit1 EVENT_GOT_TM19_GIGA_DRAIN
iftrue UnknownScript_0x72aae
2writetext UnknownText_0x72cb0
keeptextopen
verbosegiveitem TM_19, 1
iffalse UnknownScript_0x72aae
setbit1 $00dc
setbit1 EVENT_GOT_TM19_GIGA_DRAIN
UnknownScript_0x72aae: ; 0x72aae
2writetext UnknownText_0x72d8f
closetext

View File

@ -28,14 +28,14 @@ UnknownScript_0x7167e: ; 0x7167e
2writetext UnknownText_0x71763
closetext
loadmovesprites
setbit1 $00d6
setbit1 EVENT_ENABLE_DIPLOMA_PRINTING
end
; 0x71696
GymGuyScript_0x71696: ; 0x71696
faceplayer
loadfont
checkbit1 $00d6
checkbit1 EVENT_ENABLE_DIPLOMA_PRINTING
iftrue UnknownScript_0x716a4
2writetext UnknownText_0x717b4
closetext

View File

@ -9,7 +9,7 @@ CeladonMansionRoofHouse_MapScriptHeader: ; 0x71afb
PharmacistScript_0x71afd: ; 0x71afd
faceplayer
loadfont
checkbit1 $00da
checkbit1 EVENT_GOT_TM03_CURSE
iftrue UnknownScript_0x71b21
2writetext UnknownText_0x71b27
keeptextopen
@ -26,7 +26,7 @@ UnknownScript_0x71b14: ; 0x71b14
keeptextopen
verbosegiveitem TM_03, 1
iffalse UnknownScript_0x71b25
setbit1 $00da
setbit1 EVENT_GOT_TM03_CURSE
UnknownScript_0x71b21: ; 0x71b21
2writetext UnknownText_0x71db3
closetext

View File

@ -18,7 +18,7 @@ UnknownScript_0x184005: ; 0x184005
CooltrainerMScript_0x184009: ; 0x184009
faceplayer
loadfont
checkbit1 $00c9
checkbit1 EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x184017
2writetext UnknownText_0x1840bc
closetext
@ -72,9 +72,9 @@ CooltrainerFScript_0x18402a: ; 0x18402a
FisherScript_0x18404a: ; 0x18404a
faceplayer
loadfont
checkbit1 $00c9
checkbit1 EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x184058
checkbit1 $00cb
checkbit1 EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM
iftrue UnknownScript_0x18405e
UnknownScript_0x184058: ; 0x184058
2writetext UnknownText_0x18424e

View File

@ -42,7 +42,7 @@ UnknownScript_0x1883de: ; 0x1883de
applymovement $2, MovementData_0x1884e8
playsound $0023
disappear $2
setbit1 $00cb
setbit1 EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM
clearbit1 $076c
clearbit1 $076e
dotrigger $0
@ -68,10 +68,10 @@ MistyScript_0x188432: ; 0x188432
loadtrainer MISTY, 1
startbattle
returnafterbattle
setbit1 $04c6
setbit1 $03f9
setbit1 $03fa
setbit1 $05a8
setbit1 EVENT_BEAT_MISTY
setbit1 EVENT_BEAT_SWIMMERF_DIANA
setbit1 EVENT_BEAT_SWIMMERF_BRIANA
setbit1 EVENT_BEAT_SWIMMERM_PARKER
loadfont
2writetext UnknownText_0x188768
playsound $009c
@ -174,7 +174,7 @@ SwimmermParkerScript: ; 0x18849a
CeruleanGymGuyScript: ; 0x1884a2
faceplayer
loadfont
checkbit1 $04c6
checkbit1 EVENT_BEAT_MISTY
iftrue .CeruleanGymGuyWinScript
2writetext CeruleanGymGuyText
closetext

View File

@ -9,9 +9,9 @@ CharcoalKiln_MapScriptHeader: ; 0x18dd18
BlackBeltScript_0x18dd1a: ; 0x18dd1a
faceplayer
loadfont
checkbit1 $0010
checkbit1 EVENT_GOT_HM01_CUT
iftrue UnknownScript_0x18dd34
checkbit1 $002b
checkbit1 EVENT_CLEARED_SLOWPOKE_WELL
iftrue UnknownScript_0x18dd2e
2writetext UnknownText_0x18dd74
closetext
@ -36,9 +36,9 @@ UnknownScript_0x18dd34: ; 0x18dd34
YoungsterScript_0x18dd3a: ; 0x18dd3a
faceplayer
loadfont
checkbit1 $005e
checkbit1 EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN
iftrue UnknownScript_0x18dd5d
checkbit1 $0010
checkbit1 EVENT_GOT_HM01_CUT
iftrue UnknownScript_0x18dd4e
2writetext UnknownText_0x18dee0
closetext
@ -51,7 +51,7 @@ UnknownScript_0x18dd4e: ; 0x18dd4e
keeptextopen
verbosegiveitem CHARCOAL, 1
iffalse UnknownScript_0x18dd61
setbit1 $005e
setbit1 EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN
loadmovesprites
end
; 0x18dd5d

View File

@ -87,7 +87,7 @@ UnknownScript_0x19c01f: ; 0x19c01f
applymovement $2, MovementData_0x19c1cb
playsound $001f
disappear $2
clearbit1 $06ff
clearbit1 EVENT_GUIDE_GENT_VISIBLE_IN_CHERRYGROVE
waitbutton
end
@ -123,9 +123,9 @@ UnknownScript_0x19c0ae: ; 0x19c0ae
2writetext UnknownText_0x19c4e2
closetext
loadmovesprites
checkbit1 $001c
checkbit1 EVENT_GOT_TOTODILE_FROM_ELM
iftrue UnknownScript_0x19c0ee
checkbit1 $001d
checkbit1 EVENT_GOT_CHIKORITA_FROM_ELM
iftrue UnknownScript_0x19c104
winlosstext UnknownText_0x19c57f, UnknownText_0x19c5e6
setlasttalked $3
@ -228,13 +228,13 @@ UnknownScript_0x19c168: ; 0x19c168
FisherScript_0x19c16e: ; 0x19c16e
faceplayer
loadfont
checkbit1 $004d
checkbit1 EVENT_GOT_MYSTIC_WATER_IN_CHERRYGROVE
iftrue UnknownScript_0x19c183
2writetext UnknownText_0x19c766
keeptextopen
verbosegiveitem MYSTIC_WATER, 1
iffalse UnknownScript_0x19c187
setbit1 $004d
setbit1 EVENT_GOT_MYSTIC_WATER_IN_CHERRYGROVE
UnknownScript_0x19c183: ; 0x19c183
2writetext UnknownText_0x19c7c1
closetext

View File

@ -8,7 +8,7 @@ CherrygroveMart_MapScriptHeader: ; 0x196808
ClerkScript_0x19680a: ; 0x19680a
loadfont
checkbit1 $001f
checkbit1 EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x196817
pokemart $0, $0000
loadmovesprites
@ -24,7 +24,7 @@ UnknownScript_0x196817: ; 0x196817
CooltrainerMScript_0x19681d: ; 0x19681d
faceplayer
loadfont
checkbit1 $001f
checkbit1 EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x19682b
2writetext UnknownText_0x196834
closetext

View File

@ -21,7 +21,7 @@ GentlemanScript_0x196973: ; 0x196973
TeacherScript_0x196976: ; 0x196976
faceplayer
loadfont
checkbit1 $001f
checkbit1 EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x196984
2writetext UnknownText_0x1969f1
closetext

View File

@ -45,7 +45,7 @@ UnknownScript_0x1a001e: ; 0x1a001e
disappear $d
pause 10
dotrigger $0
clearbit1 $07af
clearbit1 EVENT_SAW_SUICUNE_ON_ROUTE_42
domaptrigger GROUP_ROUTE_42, MAP_ROUTE_42, $1
checkbit1 $0333
iftrue UnknownScript_0x1a0083
@ -81,11 +81,11 @@ UnknownScript_0x1a0083: ; 0x1a0083
PokefanFScript_0x1a0084: ; 0x1a0084
faceplayer
loadfont
checkbit1 $0011
checkbit1 EVENT_GOT_HM02_FLY
iftrue UnknownScript_0x1a00ad
2writetext UnknownText_0x1a00f1
keeptextopen
checkbit1 $04c2
checkbit1 EVENT_BEAT_CHUCK
iftrue UnknownScript_0x1a009c
2writetext UnknownText_0x1a0163
closetext
@ -98,7 +98,7 @@ UnknownScript_0x1a009c: ; 0x1a009c
keeptextopen
verbosegiveitem HM_02, 1
iffalse UnknownScript_0x1a00b1
setbit1 $0011
setbit1 EVENT_GOT_HM02_FLY
2writetext UnknownText_0x1a021d
keeptextopen
UnknownScript_0x1a00ad: ; 0x1a00ad

View File

@ -9,7 +9,7 @@ CianwoodGym_MapScriptHeader: ; 0x9d60d
ChuckScript_0x9d60f: ; 0x9d60f
faceplayer
loadfont
checkbit1 $04c2
checkbit1 EVENT_BEAT_CHUCK
iftrue UnknownScript_0x9d656
2writetext UnknownText_0x9d6f9
closetext
@ -33,7 +33,7 @@ ChuckScript_0x9d60f: ; 0x9d60f
loadtrainer CHUCK, 1
startbattle
returnafterbattle
setbit1 $04c2
setbit1 EVENT_BEAT_CHUCK
loadfont
2writetext UnknownText_0x9d835
playsound $009c
@ -42,17 +42,17 @@ ChuckScript_0x9d60f: ; 0x9d60f
checkcode $7
2call UnknownScript_0x9d681
UnknownScript_0x9d656: ; 0x9d656
checkbit1 $000a
checkbit1 EVENT_GOT_TM01_DYNAMICPUNCH
iftrue UnknownScript_0x9d67b
setbit1 $04a5
setbit1 $04a7
setbit1 $04a8
setbit1 $04aa
setbit1 EVENT_BEAT_BLACKBELT_YOSHI
setbit1 EVENT_BEAT_BLACKBELT_LAO
setbit1 EVENT_BEAT_BLACKBELT_NOB
setbit1 EVENT_BEAT_BLACKBELT_LUNG
2writetext UnknownText_0x9d84d
keeptextopen
verbosegiveitem TM_01, 1
iffalse UnknownScript_0x9d67f
setbit1 $000a
setbit1 EVENT_GOT_TM01_DYNAMICPUNCH
2writetext UnknownText_0x9d8da
closetext
loadmovesprites

View File

@ -16,7 +16,7 @@ UnknownScript_0x9df9d: ; 0x9df9d
PharmacistScript_0x9df9e: ; 0x9df9e
faceplayer
loadfont
checkbit1 $0023
checkbit1 EVENT_GOT_SECRETPOTION_FROM_PHARMACY
iftrue UnknownScript_0x9dfc4
checkbit1 $0037
iffalse UnknownScript_0x9dfc4
@ -27,7 +27,7 @@ PharmacistScript_0x9df9e: ; 0x9df9e
playsound $0091
waitbutton
itemnotify
setbit1 $0023
setbit1 EVENT_GOT_SECRETPOTION_FROM_PHARMACY
2writetext UnknownText_0x9e070
closetext
loadmovesprites

View File

@ -16,7 +16,7 @@ LassScript_0x9dbd2: ; 0x9dbd2
CianwoodGymGuyScript: ; 0x9dbd5
faceplayer
checkbit1 $04c2
checkbit1 EVENT_BEAT_CHUCK
iftrue .CianwoodGymGuyWinScript
loadfont
2writetext CianwoodGymGuyText

View File

@ -13,7 +13,7 @@ PokefanMScript_0x18ad13: ; 0x18ad13
PokefanFScript_0x18ad16: ; 0x18ad16
faceplayer
loadfont
checkbit1 $00c9
checkbit1 EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x18ad24
2writetext UnknownText_0x18ad95
closetext

View File

@ -27,9 +27,9 @@ UnknownScript_0x18aeb0: ; 0x18aeb0
CopycatScript_0x18aeb1: ; 0x18aeb1
faceplayer
checkbit1 $00d1
checkbit1 EVENT_GOT_PASS_FROM_COPYCAT
iftrue UnknownScript_0x18af6f
checkbit1 $00d0
checkbit1 EVENT_RETURNED_LOST_ITEM_TO_COPYCAT
iftrue UnknownScript_0x18af5b
checkitem LOST_ITEM
iftrue UnknownScript_0x18af4a
@ -47,7 +47,7 @@ UnknownScript_0x18aed4: ; 0x18aed4
variablesprite $b, $60
UnknownScript_0x18aedc: ; 0x18aedc
special $005e
checkbit1 $00c9
checkbit1 EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x18af16
loadfont
checkbit2 $0063
@ -109,7 +109,7 @@ UnknownScript_0x18af39: ; 0x18af39
2writetext UnknownText_0x18b116
closetext
loadmovesprites
setbit1 $00cf
setbit1 EVENT_MET_COPYCAT_FOUND_OUT_ABOUT_LOST_ITEM
end
; 0x18af4a
@ -118,7 +118,7 @@ UnknownScript_0x18af4a: ; 0x18af4a
2writetext UnknownText_0x18b17f
keeptextopen
takeitem LOST_ITEM, 1
setbit1 $00d0
setbit1 EVENT_RETURNED_LOST_ITEM_TO_COPYCAT
clearbit1 $0773
2jump UnknownScript_0x18af5c
; 0x18af5b
@ -130,7 +130,7 @@ UnknownScript_0x18af5c: ; 0x18af5c
keeptextopen
verbosegiveitem PASS, 1
iffalse UnknownScript_0x18afba
setbit1 $00d1
setbit1 EVENT_GOT_PASS_FROM_COPYCAT
2writetext UnknownText_0x18b214
closetext
loadmovesprites

View File

@ -156,17 +156,17 @@ GentlemanScript_0x994c6: ; 0x994c6
loadfont
2writetext UnknownText_0x9980a
keeptextopen
checkbit1 $0012
checkbit1 EVENT_GOT_HM03_SURF
iftrue UnknownScript_0x99515
checkbit1 $04df
checkbit1 EVENT_BEAT_KIMONO_GIRL_NAOKO
iffalse UnknownScript_0x994f3
checkbit1 $04e0
checkbit1 EVENT_BEAT_KIMONO_GIRL_SAYO
iffalse UnknownScript_0x994f3
checkbit1 $04e1
checkbit1 EVENT_BEAT_KIMONO_GIRL_ZUKI
iffalse UnknownScript_0x994f3
checkbit1 $04e2
checkbit1 EVENT_BEAT_KIMONO_GIRL_KUNI
iffalse UnknownScript_0x994f3
checkbit1 $04e3
checkbit1 EVENT_BEAT_KIMONO_GIRL_MIKI
iffalse UnknownScript_0x994f3
2jump UnknownScript_0x99505
; 0x994f3
@ -191,7 +191,7 @@ UnknownScript_0x99505: ; 0x99505
2writetext UnknownText_0x9991a
keeptextopen
verbosegiveitem HM_03, 1
setbit1 $0012
setbit1 EVENT_GOT_HM03_SURF
2writetext UnknownText_0x9999b
closetext
loadmovesprites

View File

@ -9,13 +9,13 @@ DarkCaveBlackthornEntrance_MapScriptHeader: ; 0x18c71e
PharmacistScript_0x18c720: ; 0x18c720
faceplayer
loadfont
checkbit1 $0072
checkbit1 EVENT_GOT_BLACKGLASSES_IN_DARK_CAVE
iftrue UnknownScript_0x18c735
2writetext UnknownText_0x18c73f
keeptextopen
verbosegiveitem BLACKGLASSES, 1
iffalse UnknownScript_0x18c739
setbit1 $0072
setbit1 EVENT_GOT_BLACKGLASSES_IN_DARK_CAVE
UnknownScript_0x18c735: ; 0x18c735
2writetext UnknownText_0x18c80c
closetext

View File

@ -27,7 +27,7 @@ UnknownScript_0x62f88: ; 0x62f88
GrampsScript_0x62f8f: ; 0x62f8f
faceplayer
loadfont
checkbit1 $033e
checkbit1 EVENT_GOT_ODD_EGG
iftrue UnknownScript_0x62fbd
2writetext UnknownText_0x630ce
keeptextopen
@ -42,7 +42,7 @@ GrampsScript_0x62f8f: ; 0x62f8f
2writetext UnknownText_0x631c3
closetext
loadmovesprites
setbit1 $033e
setbit1 EVENT_GOT_ODD_EGG
end
; 0x62fb6

View File

@ -201,7 +201,7 @@ ElderScript_0x18d1a5: ; 0x18d1a5
iftrue UnknownScript_0x18d1ff
checkbit1 $00bd
iffalse UnknownScript_0x18d1c5
checkbit1 $0319
checkbit1 EVENT_BEAT_RIVAL_IN_MT_MOON
iftrue UnknownScript_0x18d1f3
2writetext UnknownText_0x18d724
closetext

View File

@ -23,7 +23,7 @@ UnknownScript_0x18c89e: ; 0x18c89e
; 0x18c89f
UnknownScript_0x18c89f: ; 0x18c89f
checkbit1 $0319
checkbit1 EVENT_BEAT_RIVAL_IN_MT_MOON
iftrue UnknownScript_0x18c8a8
disappear $4
return
@ -62,7 +62,7 @@ UnknownScript_0x18c8b8: ; 0x18c8b8
playsound $0001
waitbutton
itemnotify
setbit1 $000f
setbit1 EVENT_GOT_TM24_DRAGONBREATH
2writetext UnknownText_0x18ca0d
keeptextopen
2writetext UnknownText_0x18caf1

View File

@ -34,7 +34,7 @@ LassScript_0x1a4012: ; 0x1a4012
LassScript_0x1a4015: ; 0x1a4015
faceplayer
loadfont
checkbit1 $007b
checkbit1 EVENT_RELEASED_THE_BEASTS
iftrue UnknownScript_0x1a4023
2writetext UnknownText_0x1a421a
closetext
@ -52,7 +52,7 @@ UnknownScript_0x1a4023: ; 0x1a4023
FisherScript_0x1a4029: ; 0x1a4029
faceplayer
loadfont
checkbit1 $0020
checkbit1 EVENT_JASMINE_RETURNED_TO_GYM
iftrue UnknownScript_0x1a4037
2writetext UnknownText_0x1a42ac
closetext

View File

@ -22,7 +22,7 @@ UnknownScript_0x99d57: ; 0x99d57
MortyScript_0x99d58: ; 0x99d58
faceplayer
loadfont
checkbit1 $04c0
checkbit1 EVENT_BEAT_MORTY
iftrue UnknownScript_0x99d8c
2writetext UnknownText_0x99e65
closetext
@ -31,7 +31,7 @@ MortyScript_0x99d58: ; 0x99d58
loadtrainer MORTY, 1
startbattle
returnafterbattle
setbit1 $04c0
setbit1 EVENT_BEAT_MORTY
loadfont
2writetext UnknownText_0x9a043
playsound $009c
@ -43,17 +43,17 @@ MortyScript_0x99d58: ; 0x99d58
setbit1 $0766
setbit1 $0767
UnknownScript_0x99d8c: ; 0x99d8c
checkbit1 $000c
checkbit1 EVENT_GOT_TM30_SHADOW_BALL
iftrue UnknownScript_0x99db1
setbit1 $0415
setbit1 $0416
setbit1 $058b
setbit1 $058c
setbit1 EVENT_BEAT_SAGE_JEFFREY
setbit1 EVENT_BEAT_SAGE_PING
setbit1 EVENT_BEAT_MEDIUM_MARTHA
setbit1 EVENT_BEAT_MEDIUM_GRACE
2writetext UnknownText_0x9a059
keeptextopen
verbosegiveitem TM_30, 1
iffalse UnknownScript_0x99db5
setbit1 $000c
setbit1 EVENT_GOT_TM30_SHADOW_BALL
2writetext UnknownText_0x9a0ec
closetext
loadmovesprites
@ -218,7 +218,7 @@ MediumGraceScript: ; 0x99e31
EcruteakGymGuyScript: ; 0x99e39
faceplayer
loadfont
checkbit1 $04c0
checkbit1 EVENT_BEAT_MORTY
iftrue .EcruteakGymGuyWinScript
2writetext EcruteakGymGuyText
closetext

View File

@ -23,11 +23,11 @@ UnknownScript_0x9800e: ; 0x9800e
; 0x9800f
UnknownScript_0x9800f: ; 0x9800f
checkbit1 $0335
checkbit1 EVENT_FOUGHT_SUICUNE
iftrue UnknownScript_0x98033
checkbit1 $0334
checkbit1 EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
iftrue UnknownScript_0x98033
checkbit1 $0021
checkbit1 EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x98022
return
; 0x98022
@ -77,7 +77,7 @@ UnknownScript_0x98061: ; 0x98061
SageScript_0x98062: ; 0x98062
faceplayer
loadfont
checkbit1 $0021
checkbit1 EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x9807c
checkbit2 $001e
iftrue UnknownScript_0x98076
@ -95,7 +95,7 @@ UnknownScript_0x98076: ; 0x98076
; 0x9807c
UnknownScript_0x9807c: ; 0x9807c
checkbit1 $0334
checkbit1 EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER
iftrue UnknownScript_0x980a4
checkbit1 $0000
iftrue UnknownScript_0x980aa
@ -135,7 +135,7 @@ UnknownScript_0x980aa: ; 0x980aa
SageScript_0x980b0: ; 0x980b0
faceplayer
loadfont
checkbit1 $0078
checkbit1 EVENT_GOT_CLEAR_BELL
iftrue UnknownScript_0x980be
2writetext UnknownText_0x9840b
closetext

View File

@ -9,7 +9,7 @@ EcruteakItemfinderHouse_MapScriptHeader: ; 0x9a5f9
CooltrainerMScript_0x9a5fb: ; 0x9a5fb
faceplayer
loadfont
checkbit1 $005a
checkbit1 EVENT_GOT_ITEMFINDER
iftrue UnknownScript_0x9a614
2writetext UnknownText_0x9a63c
yesorno
@ -17,7 +17,7 @@ CooltrainerMScript_0x9a5fb: ; 0x9a5fb
2writetext UnknownText_0x9a6b5
keeptextopen
verbosegiveitem ITEMFINDER, 1
setbit1 $005a
setbit1 EVENT_GOT_ITEMFINDER
UnknownScript_0x9a614: ; 0x9a614
2writetext UnknownText_0x9a70e
closetext

View File

@ -98,21 +98,21 @@ UnknownScript_0x78ba5: ; 0x78ba5
ProfElmScript: ; 0x78be0
faceplayer
loadfont
checkbit1 $0024
checkbit1 EVENT_GOT_SS_TICKET_FROM_ELM
iftrue UnknownScript_0x78bee
checkbit1 $0044
iftrue ElmGiveTicketScript
UnknownScript_0x78bee: ; 0x78bee
checkbit1 $007c
checkbit1 EVENT_GOT_MASTER_BALL_FROM_ELM
iftrue UnknownScript_0x78bfa
checkbit2 $0022
iftrue ElmGiveMasterBallScript
UnknownScript_0x78bfa: ; 0x78bfa
checkbit1 $0056
checkbit1 EVENT_GOT_EVERSTONE_FROM_ELM
iftrue UnknownScript_0x78e16
checkbit1 $0055
checkbit1 EVENT_SHOWED_TOGEPI_TO_ELM
iftrue UnknownScript_0x78e03
checkbit1 $0077
checkbit1 EVENT_TOLD_ELM_ABOUT_TOGEPI_OVER_THE_PHONE
iffalse UnknownScript_0x78c35
writebyte TOGEPI
special $0043
@ -137,20 +137,20 @@ UnknownScript_0x78c22: ; 0x78c22
; 0x78c35
UnknownScript_0x78c35: ; 0x78c35
checkbit1 $002d
checkbit1 EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
iffalse UnknownScript_0x78c41
checkbit1 $0054
checkbit1 EVENT_TOGEPI_HATCHED
iftrue UnknownScript_0x78c22
UnknownScript_0x78c41: ; 0x78c41
checkbit1 $002d ; why are we checking it again?
checkbit1 EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE ; why are we checking it again?
iftrue ElmWaitingEggHatchScript
checkbit2 $001b
iftrue ElmAideHasEggScript
checkbit1 $001f
checkbit1 EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue ElmStudyingEggScript
checkbit1 $001e
checkbit1 EVENT_GOT_MYSTERY_EGG_FROM_MR_POKEMON
iftrue ElmAfterTheftScript
checkbit1 $001a
checkbit1 EVENT_GOT_A_POKEMON_FROM_ELM
iftrue ElmDescribesMrPokemonScript
2writetext UnknownText_0x79375
closetext
@ -169,7 +169,7 @@ LabTryToLeaveScript: ; 0x78c65
; 0x78c73
CyndaquilPokeBallScript: ; 0x78c73
checkbit1 $001a
checkbit1 EVENT_GOT_A_POKEMON_FROM_ELM
iftrue LookAtElmPokeBallScript
spriteface $2, $0
refreshscreen $0
@ -182,7 +182,7 @@ CyndaquilPokeBallScript: ; 0x78c73
yesorno
iffalse DidntChooseStarterScript
disappear $4
setbit1 $001b
setbit1 EVENT_GOT_CYNDAQUIL_FROM_ELM
2writetext ChoseStarterText
keeptextopen
waitbutton
@ -200,7 +200,7 @@ CyndaquilPokeBallScript: ; 0x78c73
; 0x78cb5
TotodilePokeBallScript: ; 0x78cb5
checkbit1 $001a
checkbit1 EVENT_GOT_A_POKEMON_FROM_ELM
iftrue LookAtElmPokeBallScript
spriteface $2, $0
refreshscreen $0
@ -213,7 +213,7 @@ TotodilePokeBallScript: ; 0x78cb5
yesorno
iffalse DidntChooseStarterScript
disappear $5
setbit1 $001c
setbit1 EVENT_GOT_TOTODILE_FROM_ELM
2writetext ChoseStarterText
keeptextopen
waitbutton
@ -229,7 +229,7 @@ TotodilePokeBallScript: ; 0x78cb5
; 0x78cf1
ChikoritaPokeBallScript: ; 0x78cf1
checkbit1 $001a
checkbit1 EVENT_GOT_A_POKEMON_FROM_ELM
iftrue LookAtElmPokeBallScript
spriteface $2, $0
refreshscreen $0
@ -242,7 +242,7 @@ ChikoritaPokeBallScript: ; 0x78cf1
yesorno
iffalse DidntChooseStarterScript
disappear $6
setbit1 $001d
setbit1 EVENT_GOT_CHIKORITA_FROM_ELM
2writetext ChoseStarterText
keeptextopen
waitbutton
@ -287,7 +287,7 @@ ElmDirectionsScript: ; 0x78d33
2writetext ElmDirectionsText3
closetext
loadmovesprites
setbit1 $001a
setbit1 EVENT_GOT_A_POKEMON_FROM_ELM
setbit1 $06be
dotrigger $5
domaptrigger GROUP_NEW_BARK_TOWN, MAP_NEW_BARK_TOWN, $1
@ -311,7 +311,7 @@ LookAtElmPokeBallScript: ; 0x78d6d
MapElmsLabSignpost0Script: ; 0x78d74
loadfont
checkbit1 $001a
checkbit1 EVENT_GOT_A_POKEMON_FROM_ELM
iftrue UnknownScript_0x78d81
2writetext UnknownText_0x79690
closetext
@ -361,7 +361,7 @@ ElmAfterTheftScript: ; 0x78da2
keeptextopen
2writetext ElmAfterTheftText5
keeptextopen
setbit1 $001f
setbit1 EVENT_GAVE_MYSTERY_EGG_TO_ELM
setbit2 $0010
domaptrigger GROUP_ROUTE_29, MAP_ROUTE_29, $1
clearbit1 $0715
@ -399,7 +399,7 @@ ShowElmTogepiScript: ; 0x78dee
closetext
loadmovesprites
showemote $0, $2, 15
setbit1 $0055
setbit1 EVENT_SHOWED_TOGEPI_TO_ELM
loadfont
2writetext ShowElmTogepiText2
keeptextopen
@ -413,7 +413,7 @@ UnknownScript_0x78e03: ; 0x78e03
2writetext ElmGiveEverstoneText2
closetext
loadmovesprites
setbit1 $0056
setbit1 EVENT_GOT_EVERSTONE_FROM_ELM
end
; 0x78e16
@ -430,7 +430,7 @@ ElmGiveMasterBallScript: ; 0x78e1c
keeptextopen
verbosegiveitem MASTER_BALL, 1
iffalse .notdone
setbit1 $007c
setbit1 EVENT_GOT_MASTER_BALL_FROM_ELM
2writetext ElmGiveMasterBallText2
closetext
.notdone
@ -442,7 +442,7 @@ ElmGiveTicketScript: ; 0x78e2f
2writetext ElmGiveTicketText1
keeptextopen
verbosegiveitem S_S_TICKET, 1
setbit1 $0024
setbit1 EVENT_GOT_SS_TICKET_FROM_ELM
2writetext ElmGiveTicketText2
closetext
loadmovesprites
@ -560,11 +560,11 @@ UnknownScript_0x78ee2: ; 0x78ee2
ElmsAideScript: ; 0x78ee6
faceplayer
loadfont
checkbit1 $002d
checkbit1 EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
iftrue UnknownScript_0x78f0c
checkbit1 $001f
checkbit1 EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x78f06
checkbit1 $001e
checkbit1 EVENT_GOT_MYSTERY_EGG_FROM_MR_POKEMON
iftrue UnknownScript_0x78f00
2writetext UnknownText_0x79f65
closetext
@ -617,7 +617,7 @@ MapElmsLabSignpost14Script: ; 0x78f33
loadfont
checkbit2 $0043
iftrue UnknownScript_0x78f49
checkbit1 $0043
checkbit1 EVENT_ELM_CALLED_ABOUT_STOLEN_POKEMON
iftrue UnknownScript_0x78f43
2jump UnknownScript_0x78f49
; 0x78f43

View File

@ -80,7 +80,7 @@ UnknownScript_0x75f09: ; 0x75f09
GentlemanScript_0x75f1f: ; 0x75f1f
faceplayer
loadfont
checkbit1 $0071
checkbit1 EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA
iftrue UnknownScript_0x75f67
checkbit1 $0732
iftrue UnknownScript_0x75f58
@ -96,7 +96,7 @@ UnknownScript_0x75f37: ; 0x75f37
keeptextopen
verbosegiveitem METAL_COAT, 1
iffalse UnknownScript_0x75f44
setbit1 $0071
setbit1 EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA
UnknownScript_0x75f44: ; 0x75f44
loadmovesprites
waitbutton
@ -116,7 +116,7 @@ UnknownScript_0x75f58: ; 0x75f58
keeptextopen
verbosegiveitem METAL_COAT, 1
iffalse UnknownScript_0x75f65
setbit1 $0071
setbit1 EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA
UnknownScript_0x75f65: ; 0x75f65
loadmovesprites
end

View File

@ -80,7 +80,7 @@ UnknownScript_0x75f09: ; 0x75f09
GentlemanScript_0x75f1f: ; 0x75f1f
faceplayer
loadfont
checkbit1 $0071
checkbit1 EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA
iftrue UnknownScript_0x75f67
checkbit1 $0732
iftrue UnknownScript_0x75f58
@ -96,7 +96,7 @@ UnknownScript_0x75f37: ; 0x75f37
keeptextopen
verbosegiveitem METAL_COAT, 1
iffalse UnknownScript_0x75f44
setbit1 $0071
setbit1 EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA
UnknownScript_0x75f44: ; 0x75f44
loadmovesprites
waitbutton
@ -116,7 +116,7 @@ UnknownScript_0x75f58: ; 0x75f58
keeptextopen
verbosegiveitem METAL_COAT, 1
iffalse UnknownScript_0x75f65
setbit1 $0071
setbit1 EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA
UnknownScript_0x75f65: ; 0x75f65
loadmovesprites
end

View File

@ -19,7 +19,7 @@ JanineScript_0x195db9: ; 0x195db9
loadtrainer JANINE, 1
startbattle
returnafterbattle
setbit1 $04c9
setbit1 EVENT_BEAT_JANINE
setbit1 $0517
setbit1 $051a
setbit1 $0482
@ -41,13 +41,13 @@ UnknownScript_0x195e00: ; 0x195e00
faceplayer
loadfont
UnknownScript_0x195e02: ; 0x195e02
checkbit1 $00dd
checkbit1 EVENT_GOT_TM06_TOXIC
iftrue UnknownScript_0x195e15
2writetext UnknownText_0x196002
keeptextopen
verbosegiveitem TM_06, 1
iffalse UnknownScript_0x195e15
setbit1 $00dd
setbit1 EVENT_GOT_TM06_TOXIC
UnknownScript_0x195e15: ; 0x195e15
2writetext UnknownText_0x196074
closetext
@ -206,7 +206,7 @@ UnknownScript_0x195efd: ; 0x195efd
FuchsiaGymGuyScript: ; 0x195f03
faceplayer
loadfont
checkbit1 $04c9
checkbit1 EVENT_BEAT_JANINE
iftrue .FuchsiaGymGuyWinScript
2writetext FuchsiaGymGuyText
closetext

View File

@ -13,7 +13,7 @@ UnknownScript_0x5474f: ; 0x5474f
ClerkScript_0x54750: ; 0x54750
faceplayer
loadfont
checkbit1 $005b
checkbit1 EVENT_GOT_BICYCLE
iftrue UnknownScript_0x54775
2writetext UnknownText_0x54787
yesorno
@ -27,7 +27,7 @@ ClerkScript_0x54750: ; 0x54750
waitbutton
itemnotify
setbit2 $0014
setbit1 $005b
setbit1 EVENT_GOT_BICYCLE
UnknownScript_0x54775: ; 0x54775
2writetext UnknownText_0x5485f
closetext

View File

@ -9,7 +9,7 @@ GoldenrodBillsHouse_MapScriptHeader: ; 0x54be2
BillScript_0x54be4: ; 0x54be4
faceplayer
loadfont
checkbit1 $004f
checkbit1 EVENT_GOT_EEVEE
iftrue UnknownScript_0x54c1f
2writetext UnknownText_0x54c74
yesorno
@ -23,7 +23,7 @@ BillScript_0x54be4: ; 0x54be4
playsound $0002
waitbutton
givepoke EEVEE, 20, 0, 0
setbit1 $004f
setbit1 EVENT_GOT_EEVEE
2writetext UnknownText_0x54dc1
closetext
loadmovesprites

View File

@ -174,7 +174,7 @@ YoungsterScript_0x1989e6: ; 0x1989e6
CooltrainerFScript_0x1989e9: ; 0x1989e9
faceplayer
loadfont
checkbit1 $0021
checkbit1 EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x1989f7
2writetext UnknownText_0x198ae6
closetext

View File

@ -25,15 +25,15 @@ UnknownScript_0x56099: ; 0x56099
ClerkScript_0x5609c: ; 0x5609c
faceplayer
loadfont
checkbit1 $005f
checkbit1 EVENT_GOT_TM02_HEADBUTT
iftrue UnknownScript_0x560ad
checkbit1 $004b
checkbit1 EVENT_GOT_TM08_ROCK_SMASH
iftrue UnknownScript_0x560c2
2jump UnknownScript_0x560b6
; 0x560ad
UnknownScript_0x560ad: ; 0x560ad
checkbit1 $004b
checkbit1 EVENT_GOT_TM08_ROCK_SMASH
iftrue UnknownScript_0x560c8
2jump UnknownScript_0x560bc
; 0x560b6

View File

@ -7,9 +7,9 @@ GoldenrodFlowerShop_MapScriptHeader: ; 0x5535b
; 0x5535d
TeacherScript_0x5535d: ; 0x5535d
checkbit1 $002a
checkbit1 EVENT_FOUGHT_SUDOWOODO
iftrue UnknownScript_0x5538f
checkbit1 $005c
checkbit1 EVENT_GOT_SQUIRTBOTTLE
iftrue UnknownScript_0x55399
checkbit1 $00b9
iffalse UnknownScript_0x5539f
@ -22,7 +22,7 @@ TeacherScript_0x5535d: ; 0x5535d
2writetext UnknownText_0x554c2
keeptextopen
verbosegiveitem SQUIRTBOTTLE, 1
setbit1 $005c
setbit1 EVENT_GOT_SQUIRTBOTTLE
loadmovesprites
setbit1 $0769
clearbit1 $0768
@ -53,9 +53,9 @@ UnknownScript_0x5539f: ; 0x5539f
LassScript_0x553a2: ; 0x553a2
faceplayer
loadfont
checkbit1 $002a
checkbit1 EVENT_FOUGHT_SUDOWOODO
iftrue UnknownScript_0x553c5
checkbit1 $005c
checkbit1 EVENT_GOT_SQUIRTBOTTLE
iftrue UnknownScript_0x553bf
2writetext UnknownText_0x55561
closetext

View File

@ -20,7 +20,7 @@ UnknownScript_0x5400b: ; 0x5400b
WhitneyScript_0x5400c: ; 0x5400c
faceplayer
checkbit1 $04bf
checkbit1 EVENT_BEAT_WHITNEY
iftrue UnknownScript_0x54037
loadfont
2writetext UnknownText_0x54122
@ -30,16 +30,16 @@ WhitneyScript_0x5400c: ; 0x5400c
loadtrainer WHITNEY, 1
startbattle
returnafterbattle
setbit1 $04bf
setbit1 $0028
setbit1 EVENT_BEAT_WHITNEY
setbit1 EVENT_MADE_WHITNEY_CRY
dotrigger $1
setbit1 $04ad
setbit1 $04ae
setbit1 $0515
setbit1 $0516
setbit1 EVENT_BEAT_BEAUTY_VICTORIA
setbit1 EVENT_BEAT_BEAUTY_SAMANTHA
setbit1 EVENT_BEAT_LASS_CARRIE
setbit1 EVENT_BEAT_LASS_BRIDGET
UnknownScript_0x54037: ; 0x54037
loadfont
checkbit1 $0028
checkbit1 EVENT_MADE_WHITNEY_CRY
iffalse UnknownScript_0x54044
2writetext UnknownText_0x541f4
closetext
@ -48,7 +48,7 @@ UnknownScript_0x54037: ; 0x54037
; 0x54044
UnknownScript_0x54044: ; 0x54044
checkbit1 $000b
checkbit1 EVENT_GOT_TM45_ATTRACT
iftrue UnknownScript_0x54077
checkbit2 $001d
iftrue UnknownScript_0x54064
@ -66,7 +66,7 @@ UnknownScript_0x54064: ; 0x54064
keeptextopen
verbosegiveitem TM_45, 1
iffalse UnknownScript_0x5407b
setbit1 $000b
setbit1 EVENT_GOT_TM45_ATTRACT
2writetext UnknownText_0x54302
closetext
loadmovesprites
@ -134,7 +134,7 @@ WhitneyCriesScript: ; 0x540a0
loadmovesprites
applymovement $4, BridgetWalksAwayMovement
dotrigger $0
clearbit1 $0028
clearbit1 EVENT_MADE_WHITNEY_CRY
end
; 0x540bb
@ -227,7 +227,7 @@ BeautySamanthaScript: ; 0x540ef
GoldenrodGymGuyScript: ; 0x540f7
faceplayer
checkbit1 $04bf
checkbit1 EVENT_BEAT_WHITNEY
iftrue .GoldenrodGymGuyWinScript
loadfont
2writetext GoldenrodGymGuyText

View File

@ -16,7 +16,7 @@ UnknownScript_0x550eb: ; 0x550eb
OfficerScript_0x550ec: ; 0x550ec
faceplayer
loadfont
checkbit1 $00cd
checkbit1 EVENT_RESTORED_POWER_TO_KANTO
iftrue UnknownScript_0x550fa
2writetext UnknownText_0x55160
closetext

View File

@ -18,7 +18,7 @@ UnknownScript_0x60f94: ; 0x60f94
; 0x60f9e
UnknownScript_0x60f9e: ; 0x60f9e
checkbit1 $0340
checkbit1 EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
iftrue UnknownScript_0x60fd8
playsound $0023
moveperson $3, $0, $7
@ -31,8 +31,8 @@ UnknownScript_0x60f9e: ; 0x60f9e
2writetext UnknownText_0x622f0
closetext
verbosegiveitem GS_BALL, 1
setbit1 $0340
setbit1 $00be
setbit1 EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
setbit1 EVENT_CAN_GIVE_GS_BALL_TO_KURT
2writetext UnknownText_0x62359
closetext
loadmovesprites
@ -52,7 +52,7 @@ UnknownScript_0x60fd9: ; 0x60fd9
; 0x60fe3
UnknownScript_0x60fe3: ; 0x60fe3
checkbit1 $0340
checkbit1 EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
iftrue UnknownScript_0x6101d
playsound $0023
moveperson $3, $0, $7
@ -65,8 +65,8 @@ UnknownScript_0x60fe3: ; 0x60fe3
2writetext UnknownText_0x622f0
closetext
verbosegiveitem GS_BALL, 1
setbit1 $0340
setbit1 $00be
setbit1 EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
setbit1 EVENT_CAN_GIVE_GS_BALL_TO_KURT
2writetext UnknownText_0x62359
closetext
loadmovesprites

View File

@ -42,7 +42,7 @@ UnknownScript_0x181454: ; 0x181454
clearbit1 $0738
domaptrigger GROUP_SPROUT_TOWER_3F, MAP_SPROUT_TOWER_3F, $1
special $001b
checkbit1 $0024
checkbit1 EVENT_GOT_SS_TICKET_FROM_ELM
iftrue UnknownScript_0x181497
specialphonecall $5
UnknownScript_0x181497: ; 0x181497

View File

@ -38,25 +38,25 @@ StoneTable_0x7e4c7: ; 0x7e4c7
UnknownScript_0x7e4d8: ; 0x7e4d8
disappear 2
clearbit1 $070d
clearbit1 EVENT_BOULDER_IN_ICE_PATH_1
2jump UnknownScript_0x7e4f8
; 0x7e4e0
UnknownScript_0x7e4e0: ; 0x7e4e0
disappear 3
clearbit1 $070e
clearbit1 EVENT_BOULDER_IN_ICE_PATH_2
2jump UnknownScript_0x7e4f8
; 0x7e4e8
UnknownScript_0x7e4e8: ; 0x7e4e8
disappear 4
clearbit1 $070f
clearbit1 EVENT_BOULDER_IN_ICE_PATH_3
2jump UnknownScript_0x7e4f8
; 0x7e4f0
UnknownScript_0x7e4f0: ; 0x7e4f0
disappear 5
clearbit1 $0710
clearbit1 EVENT_BOULDER_IN_ICE_PATH_4
2jump UnknownScript_0x7e4f8
; 0x7e4f8

View File

@ -11,7 +11,7 @@ IlexForest_MapScriptHeader: ; 0x6eafe
; 0x6eb03
UnknownScript_0x6eb03: ; 0x6eb03
checkbit1 $0010
checkbit1 EVENT_GOT_HM01_CUT
iftrue UnknownScript_0x6eb34
copybytetovar FarfetchdPosition
if_equal $1, UnknownScript_0x6eb35
@ -373,12 +373,12 @@ UnknownScript_0x6eda1: ; 0x6eda1
BlackBeltScript_0x6edae: ; 0x6edae
faceplayer
loadfont
checkbit1 $0010
checkbit1 EVENT_GOT_HM01_CUT
iftrue UnknownScript_0x6edd8
2writetext UnknownText_0x6f099
keeptextopen
verbosegiveitem HM_01, 1
setbit1 $0010
setbit1 EVENT_GOT_HM01_CUT
2writetext UnknownText_0x6f141
closetext
loadmovesprites
@ -401,13 +401,13 @@ UnknownScript_0x6edd8: ; 0x6edd8
RockerScript_0x6edde: ; 0x6edde
faceplayer
loadfont
checkbit1 $005f
checkbit1 EVENT_GOT_TM02_HEADBUTT
iftrue UnknownScript_0x6edf3
2writetext UnknownText_0x6f21b
keeptextopen
verbosegiveitem TM_02, 1
iffalse UnknownScript_0x6edf7
setbit1 $005f
setbit1 EVENT_GOT_TM02_HEADBUTT
UnknownScript_0x6edf3: ; 0x6edf3
2writetext UnknownText_0x6f26d
closetext

View File

@ -25,26 +25,26 @@ UnknownScript_0x18000a: ; 0x18000a
domaptrigger GROUP_LANCES_ROOM, MAP_LANCES_ROOM, $0
domaptrigger GROUP_HALL_OF_FAME, MAP_HALL_OF_FAME, $0
clearbit1 $0309
clearbit1 $030a
clearbit1 $030b
clearbit1 $030c
clearbit1 $030d
clearbit1 $030e
clearbit1 $030f
clearbit1 $0310
clearbit1 $0311
clearbit1 EVENT_WILLS_ROOM_EXIT_OPEN
clearbit1 EVENT_WILLS_ROOM_ENTRANCE_CLOSED
clearbit1 EVENT_KOGAS_ROOM_EXIT_OPEN
clearbit1 EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
clearbit1 EVENT_BRUNOS_ROOM_EXIT_OPEN
clearbit1 EVENT_KARENS_ROOM_ENTRANCE_CLOSED
clearbit1 EVENT_KARENS_ROOM_EXIT_OPEN
clearbit1 EVENT_LANCES_ROOM_ENTRANCE_CLOSED
clearbit1 $0312
clearbit1 $05b8
clearbit1 $05b9
clearbit1 $05ba
clearbit1 $05bb
clearbit1 $05bc
clearbit1 EVENT_BEAT_ELITE_4_KAREN
clearbit1 EVENT_BEAT_CHAMPION_LANCE
setbit1 $075f
return
; 0x180053
UnknownScript_0x180053: ; 0x180053
checkbit1 $0319
checkbit1 EVENT_BEAT_RIVAL_IN_MT_MOON
iffalse UnknownScript_0x18012b
checkbit2 $005d
iftrue UnknownScript_0x18012b
@ -67,7 +67,7 @@ UnknownScript_0x180053: ; 0x180053
; 0x180094
UnknownScript_0x180094: ; 0x180094
checkbit1 $0319
checkbit1 EVENT_BEAT_RIVAL_IN_MT_MOON
iffalse UnknownScript_0x18012b
checkbit2 $005d
iftrue UnknownScript_0x18012b
@ -91,9 +91,9 @@ UnknownScript_0x1800ce: ; 0x1800ce
closetext
loadmovesprites
setbit1 $077b
checkbit1 $001c
checkbit1 EVENT_GOT_TOTODILE_FROM_ELM
iftrue UnknownScript_0x1800f3
checkbit1 $001d
checkbit1 EVENT_GOT_CHIKORITA_FROM_ELM
iftrue UnknownScript_0x180103
winlosstext UnknownText_0x180295, UnknownText_0x1802fd
setlasttalked $5

View File

@ -24,11 +24,11 @@ UnknownScript_0x180bc0: ; 0x180bc0
; 0x180bc1
UnknownScript_0x180bc1: ; 0x180bc1
checkbit1 $030f
checkbit1 EVENT_KARENS_ROOM_ENTRANCE_CLOSED
iffalse UnknownScript_0x180bcb
changeblock $4, $e, $2a
UnknownScript_0x180bcb: ; 0x180bcb
checkbit1 $0310
checkbit1 EVENT_KARENS_ROOM_EXIT_OPEN
iffalse UnknownScript_0x180bd5
changeblock $4, $2, $16
UnknownScript_0x180bd5: ; 0x180bd5
@ -44,7 +44,7 @@ UnknownScript_0x180bd6: ; 0x180bd6
reloadmappart
loadmovesprites
dotrigger $1
setbit1 $030f
setbit1 EVENT_KARENS_ROOM_ENTRANCE_CLOSED
waitbutton
end
; 0x180bee
@ -52,7 +52,7 @@ UnknownScript_0x180bd6: ; 0x180bd6
KarenScript_0x180bee: ; 0x180bee
faceplayer
loadfont
checkbit1 $05bb
checkbit1 EVENT_BEAT_ELITE_4_KAREN
iftrue UnknownScript_0x180c1c
2writetext UnknownText_0x180c27
closetext
@ -61,7 +61,7 @@ KarenScript_0x180bee: ; 0x180bee
loadtrainer KAREN, 1
startbattle
returnafterbattle
setbit1 $05bb
setbit1 EVENT_BEAT_ELITE_4_KAREN
loadfont
2writetext UnknownText_0x180d29
closetext
@ -70,7 +70,7 @@ KarenScript_0x180bee: ; 0x180bee
changeblock $4, $2, $16
reloadmappart
loadmovesprites
setbit1 $0310
setbit1 EVENT_KARENS_ROOM_EXIT_OPEN
waitbutton
end
; 0x180c1c

View File

@ -24,11 +24,11 @@ UnknownScript_0x18072c: ; 0x18072c
; 0x18072d
UnknownScript_0x18072d: ; 0x18072d
checkbit1 $030b
checkbit1 EVENT_WILLS_ROOM_ENTRANCE_CLOSED
iffalse UnknownScript_0x180737
changeblock $4, $e, $2a
UnknownScript_0x180737: ; 0x180737
checkbit1 $030c
checkbit1 EVENT_KOGAS_ROOM_EXIT_OPEN
iffalse UnknownScript_0x180741
changeblock $4, $2, $16
UnknownScript_0x180741: ; 0x180741
@ -44,7 +44,7 @@ UnknownScript_0x180742: ; 0x180742
reloadmappart
loadmovesprites
dotrigger $1
setbit1 $030b
setbit1 EVENT_WILLS_ROOM_ENTRANCE_CLOSED
waitbutton
end
; 0x18075a
@ -70,7 +70,7 @@ KogaScript_0x18075a: ; 0x18075a
changeblock $4, $2, $16
reloadmappart
loadmovesprites
setbit1 $030c
setbit1 EVENT_KOGAS_ROOM_EXIT_OPEN
waitbutton
end
; 0x180788

View File

@ -131,11 +131,11 @@ MomScript_0x7a582: ; 0x7a582
loadfont
checkbit1 $0076
iftrue UnknownScript_0x7a5af
checkbit1 $0040
checkbit1 EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST
iftrue UnknownScript_0x7a5b8
checkbit1 $001f
checkbit1 EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x7a5b5
checkbit1 $001a
checkbit1 EVENT_GOT_A_POKEMON_FROM_ELM
iftrue UnknownScript_0x7a5a9
2writetext UnknownText_0x7a8b5
closetext
@ -160,7 +160,7 @@ UnknownScript_0x7a5af: ; 0x7a5af
UnknownScript_0x7a5b5: ; 0x7a5b5
setbit1 $0076
UnknownScript_0x7a5b8: ; 0x7a5b8
setbit1 $0040
setbit1 EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST
special $0022
closetext
loadmovesprites

View File

@ -64,9 +64,9 @@ MapKrissHouse2FSignpost4Script: ; 0x7abd8
; 0x7abda
MapKrissHouse2FSignpost2Script: ; 0x7abda
checkbit1 $001a
checkbit1 EVENT_GOT_A_POKEMON_FROM_ELM
iftrue UnknownScript_0x7ac07
checkbit1 $0325
checkbit1 EVENT_LISTENED_TO_RADIO_IN_NEIGHBORS_HOUSE
iftrue UnknownScript_0x7ac0a
playmusic $001d
loadfont
@ -80,7 +80,7 @@ MapKrissHouse2FSignpost2Script: ; 0x7abda
2writetext UnknownText_0x7ac84
pause 45
loadmovesprites
setbit1 $0325
setbit1 EVENT_LISTENED_TO_RADIO_IN_NEIGHBORS_HOUSE
end
; 0x7ac07

View File

@ -19,9 +19,9 @@ MapKrissNeighborsHouseSignpost1Script: ; 0x7acf4
; 0x7acf7
MapKrissNeighborsHouseSignpost2Script: ; 0x7acf7
checkbit1 $001a
checkbit1 EVENT_GOT_A_POKEMON_FROM_ELM
iftrue UnknownScript_0x7ad24
checkbit1 $0325
checkbit1 EVENT_LISTENED_TO_RADIO_IN_NEIGHBORS_HOUSE
iftrue UnknownScript_0x7ad27
playmusic $001d
loadfont
@ -35,7 +35,7 @@ MapKrissNeighborsHouseSignpost2Script: ; 0x7acf7
2writetext UnknownText_0x7ae9b
pause 45
loadmovesprites
setbit1 $0325
setbit1 EVENT_LISTENED_TO_RADIO_IN_NEIGHBORS_HOUSE
end
; 0x7ad24

View File

@ -11,7 +11,7 @@ KurtsHouse_MapScriptHeader: ; 0x18e14f
; 0x18e154
UnknownScript_0x18e154: ; 0x18e154
checkbit1 $002b
checkbit1 EVENT_CLEARED_SLOWPOKE_WELL
iffalse UnknownScript_0x18e177
checkbit1 $00c0
iftrue UnknownScript_0x18e177
@ -38,7 +38,7 @@ KurtScript_0x18e178: ; 0x18e178
loadfont
checkbit1 $0035
iftrue UnknownScript_0x18e1cc
checkbit1 $002b
checkbit1 EVENT_CLEARED_SLOWPOKE_WELL
iftrue UnknownScript_0x18e1bf
2writetext UnknownText_0x18e473
closetext
@ -91,7 +91,7 @@ UnknownScript_0x18e1cc: ; 0x18e1cc
iftrue UnknownScript_0x18e322
checkbit1 $025e
iftrue UnknownScript_0x18e338
checkbit1 $00be
checkbit1 EVENT_CAN_GIVE_GS_BALL_TO_KURT
iftrue UnknownScript_0x18e34e
UnknownScript_0x18e202: ; 0x18e202
checkbit1 $0001
@ -317,7 +317,7 @@ UnknownScript_0x18e378: ; 0x18e378
closetext
loadmovesprites
setbit1 $00c0
clearbit1 $00be
clearbit1 EVENT_CAN_GIVE_GS_BALL_TO_KURT
clearbit1 $00bf
special $006a
pause 20
@ -388,7 +388,7 @@ TwinScript_0x18e3ed: ; 0x18e3ed
iftrue UnknownScript_0x18e420
checkbit1 $0030
iftrue UnknownScript_0x18e427
checkbit1 $002b
checkbit1 EVENT_CLEARED_SLOWPOKE_WELL
iftrue UnknownScript_0x18e419
checkbit1 $06fa
iftrue UnknownScript_0x18e420

View File

@ -42,7 +42,7 @@ UnknownScript_0x7001f: ; 0x7001f
; 0x70022
LanceScript_0x70022: ; 0x70022
checkbit1 $0026
checkbit1 EVENT_REFUSED_TO_HELP_LANCE_AT_LAKE_OF_RAGE
iftrue UnknownScript_0x70057
loadfont
2writetext UnknownText_0x70157
@ -59,7 +59,7 @@ UnknownScript_0x70035: ; 0x70035
applymovement $2, MovementData_0x70155
disappear $2
clearbit1 $06d5
setbit1 $0060
setbit1 EVENT_DECIDED_TO_HELP_LANCE
domaptrigger GROUP_MAHOGANY_MART_1F, MAP_MAHOGANY_MART_1F, $1
end
; 0x7004e
@ -68,7 +68,7 @@ UnknownScript_0x7004e: ; 0x7004e
2writetext UnknownText_0x70371
closetext
loadmovesprites
setbit1 $0026
setbit1 EVENT_REFUSED_TO_HELP_LANCE_AT_LAKE_OF_RAGE
end
; 0x70057
@ -110,7 +110,7 @@ UnknownScript_0x7007a: ; 0x7007a
GrampsScript_0x7008e: ; 0x7008e
faceplayer
loadfont
checkbit1 $0022
checkbit1 EVENT_CLEARED_ROCKET_HIDEOUT
iftrue UnknownScript_0x7009c
2writetext UnknownText_0x703f8
closetext
@ -140,7 +140,7 @@ MapLakeofRageSignpost0Script: ; 0x700a8
MapLakeofRageSignpost1Script: ; 0x700ab
loadfont
2writetext UnknownText_0x70903
checkbit1 $0022
checkbit1 EVENT_CLEARED_ROCKET_HIDEOUT
iftrue UnknownScript_0x700b8
closetext
loadmovesprites
@ -273,21 +273,21 @@ CooltrainerfLoisScript: ; 0x70106
SuperNerdScript_0x7010e: ; 0x7010e
faceplayer
loadfont
checkbit1 $006b
checkbit1 EVENT_GOT_BLACKBELT_FROM_WESLEY
iftrue UnknownScript_0x7013c
checkcode $b
if_not_equal WEDNESDAY, UnknownScript_0x70142
checkbit1 $006a
checkbit1 EVENT_MET_WESLEY_OF_WEDNESDAY
iftrue UnknownScript_0x70129
2writetext UnknownText_0x70784
keeptextopen
setbit1 $006a
setbit1 EVENT_MET_WESLEY_OF_WEDNESDAY
UnknownScript_0x70129: ; 0x70129
2writetext UnknownText_0x707dd
keeptextopen
verbosegiveitem BLACKBELT, 1
iffalse UnknownScript_0x70140
setbit1 $006b
setbit1 EVENT_GOT_BLACKBELT_FROM_WESLEY
2writetext UnknownText_0x7080b
closetext
loadmovesprites

View File

@ -9,13 +9,13 @@ LakeofRageHiddenPowerHouse_MapScriptHeader: ; 0x19a525
FisherScript_0x19a527: ; 0x19a527
faceplayer
loadfont
checkbit1 $0058
checkbit1 EVENT_GOT_TM10_HIDDEN_POWER
iftrue UnknownScript_0x19a542
2writetext UnknownText_0x19a54b
keeptextopen
verbosegiveitem TM_10, 1
iffalse UnknownScript_0x19a546
setbit1 $0058
setbit1 EVENT_GOT_TM10_HIDDEN_POWER
2writetext UnknownText_0x19a5de
closetext
loadmovesprites

View File

@ -13,7 +13,7 @@ FishingGuruScript_0x19a6ae: ; 0x19a6ae
iftrue UnknownScript_0x19a6fe
checkbit1 $0039
iftrue UnknownScript_0x19a6e0
checkbit1 $0022
checkbit1 EVENT_CLEARED_ROCKET_HIDEOUT
iftrue UnknownScript_0x19a6d7
checkbit1 $0038
iftrue UnknownScript_0x19a6d1

View File

@ -24,7 +24,7 @@ UnknownScript_0x180e3d: ; 0x180e3d
; 0x180e3e
UnknownScript_0x180e3e: ; 0x180e3e
checkbit1 $0311
checkbit1 EVENT_LANCES_ROOM_ENTRANCE_CLOSED
iffalse UnknownScript_0x180e48
changeblock $4, $16, $34
UnknownScript_0x180e48: ; 0x180e48
@ -44,7 +44,7 @@ UnknownScript_0x180e53: ; 0x180e53
reloadmappart
loadmovesprites
dotrigger $1
setbit1 $0311
setbit1 EVENT_LANCES_ROOM_ENTRANCE_CLOSED
end
; 0x180e6a
@ -69,7 +69,7 @@ UnknownScript_0x180e7b: ; 0x180e7b
startbattle
reloadmapmusic
returnafterbattle
setbit1 $05bc
setbit1 EVENT_BEAT_CHAMPION_LANCE
loadfont
2writetext UnknownText_0x181132
closetext
@ -78,7 +78,7 @@ UnknownScript_0x180e7b: ; 0x180e7b
changeblock $4, $0, $b
reloadmappart
loadmovesprites
setbit1 $0311
setbit1 EVENT_LANCES_ROOM_ENTRANCE_CLOSED
musicfadeout $0038, $10
pause 30
showemote $0, $2, 15

View File

@ -23,7 +23,7 @@ GentlemanScript_0x7ee6c: ; 0x7ee6c
loadfont
checkbit2 $0003
iftrue .UnknownScript_0x7ee8e
checkbit1 $00c9
checkbit1 EVENT_RETURNED_MACHINE_PART
iftrue .UnknownScript_0x7ee80
2writetext UnknownText_0x7effb
closetext

View File

@ -21,7 +21,7 @@ TeacherScript_0x7e6a6: ; 0x7e6a6
YoungsterScript_0x7e6a9: ; 0x7e6a9
faceplayer
loadfont
checkbit1 $00c9
checkbit1 EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x7e6b7
2writetext UnknownText_0x7e779
closetext

View File

@ -9,7 +9,7 @@ MahoganyGym_MapScriptHeader: ; 0x199a9c
PryceScript_0x199a9e: ; 0x199a9e
faceplayer
loadfont
checkbit1 $04c3
checkbit1 EVENT_BEAT_PRYCE
iftrue UnknownScript_0x199ac8
2writetext UnknownText_0x199b8d
closetext
@ -18,7 +18,7 @@ PryceScript_0x199a9e: ; 0x199a9e
loadtrainer PRYCE, 1
startbattle
returnafterbattle
setbit1 $04c3
setbit1 EVENT_BEAT_PRYCE
loadfont
2writetext UnknownText_0x199d3b
playsound $009c
@ -27,18 +27,18 @@ PryceScript_0x199a9e: ; 0x199a9e
checkcode $7
2call UnknownScript_0x199af6
UnknownScript_0x199ac8: ; 0x199ac8
checkbit1 $000e
checkbit1 EVENT_GOT_TM16_ICY_WIND
iftrue UnknownScript_0x199af0
setbit1 $0592
setbit1 $0593
setbit1 $040e
setbit1 $040f
setbit1 $0410
setbit1 EVENT_BEAT_SKIER_ROXANNE
setbit1 EVENT_BEAT_SKIER_CLARISSA
setbit1 EVENT_BEAT_BOARDER_RONALD
setbit1 EVENT_BEAT_BOARDER_BRAD
setbit1 EVENT_BEAT_BOARDER_DOUGLAS
2writetext UnknownText_0x199d55
keeptextopen
verbosegiveitem TM_16, 1
iffalse UnknownScript_0x199af4
setbit1 $000e
setbit1 EVENT_GOT_TM16_ICY_WIND
2writetext UnknownText_0x199def
closetext
loadmovesprites
@ -215,7 +215,7 @@ BoarderDouglasScript: ; 0x199b61
MahoganyGymGuyScript: ; 0x199b69
faceplayer
loadfont
checkbit1 $04c3
checkbit1 EVENT_BEAT_PRYCE
iftrue .MahoganyGymGuyWinScript
2writetext MahoganyGymGuyText
closetext

View File

@ -24,7 +24,7 @@ UnknownScript_0x6c357: ; 0x6c357
; 0x6c35b
UnknownScript_0x6c35b: ; 0x6c35b
checkbit1 $02e2
checkbit1 EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART
iftrue UnknownScript_0x6c362
return
; 0x6c362
@ -37,7 +37,7 @@ UnknownScript_0x6c362: ; 0x6c362
PharmacistScript_0x6c367: ; 0x6c367
faceplayer
loadfont
checkbit1 $0060
checkbit1 EVENT_DECIDED_TO_HELP_LANCE
iftrue UnknownScript_0x6c375
pokemart $0, $000f
loadmovesprites
@ -54,7 +54,7 @@ UnknownScript_0x6c375: ; 0x6c375
BlackBeltScript_0x6c37b: ; 0x6c37b
faceplayer
loadfont
checkbit1 $0060
checkbit1 EVENT_DECIDED_TO_HELP_LANCE
iftrue UnknownScript_0x6c389
2writetext UnknownText_0x6c494
closetext
@ -99,7 +99,7 @@ UnknownScript_0x6c38f: ; 0x6c38f
changeblock $6, $2, $1e
reloadmappart
loadmovesprites
setbit1 $02e2
setbit1 EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART
spriteface $4, $2
loadfont
2writetext UnknownText_0x6c5ba

View File

@ -42,7 +42,7 @@ UnknownScript_0x190013: ; 0x190013
PokefanMScript_0x19002e: ; 0x19002e
faceplayer
UnknownScript_0x19002f: ; 0x19002f
checkbit1 $0022
checkbit1 EVENT_CLEARED_ROCKET_HIDEOUT
iftrue UnknownScript_0x190039
2call UnknownScript_0x190040
end
@ -100,7 +100,7 @@ UnknownScript_0x190078: ; 0x190078
GrampsScript_0x19007e: ; 0x19007e
faceplayer
loadfont
checkbit1 $0022
checkbit1 EVENT_CLEARED_ROCKET_HIDEOUT
iftrue UnknownScript_0x19008c
2writetext UnknownText_0x1901e5
closetext

View File

@ -9,9 +9,9 @@ ManiasHouse_MapScriptHeader: ; 0x9d276
RockerScript_0x9d278: ; 0x9d278
faceplayer
loadfont
checkbit1 $0046
checkbit1 EVENT_MANIA_TOOK_SHUCKIE_OR_LET_YOU_KEEP_HIM
iftrue UnknownScript_0x9d2fa
checkbit1 $0045
checkbit1 EVENT_GOT_SHUCKIE
iftrue UnknownScript_0x9d2a4
2writetext UnknownText_0x9d303
yesorno
@ -25,7 +25,7 @@ RockerScript_0x9d278: ; 0x9d278
playsound $0091
waitbutton
loadmovesprites
setbit1 $0045
setbit1 EVENT_GOT_SHUCKIE
end
; 0x9d2a4
@ -64,7 +64,7 @@ UnknownScript_0x9d2bc: ; 0x9d2bc
2writetext UnknownText_0x9d4b1
closetext
loadmovesprites
setbit1 $0046
setbit1 EVENT_MANIA_TOOK_SHUCKIE_OR_LET_YOU_KEEP_HIM
end
; 0x9d2df
@ -79,7 +79,7 @@ UnknownScript_0x9d2e5: ; 0x9d2e5
2writetext UnknownText_0x9d4e3
closetext
loadmovesprites
setbit1 $0046
setbit1 EVENT_MANIA_TOOK_SHUCKIE_OR_LET_YOU_KEEP_HIM
end
; 0x9d2ee

View File

@ -30,9 +30,9 @@ UnknownScript_0x7408e: ; 0x7408e
2writetext UnknownText_0x74105
closetext
loadmovesprites
checkbit1 $001c
checkbit1 EVENT_GOT_TOTODILE_FROM_ELM
iftrue UnknownScript_0x740c3
checkbit1 $001d
checkbit1 EVENT_GOT_CHIKORITA_FROM_ELM
iftrue UnknownScript_0x740d3
winlosstext UnknownText_0x7419d, UnknownText_0x742e0
setlasttalked $2
@ -72,7 +72,7 @@ UnknownScript_0x740e3: ; 0x740e3
applymovement $2, MovementData_0x740fd
disappear $2
dotrigger $1
setbit1 $0319
setbit1 EVENT_BEAT_RIVAL_IN_MT_MOON
playmapmusic
end
; 0x740f9

View File

@ -9,7 +9,7 @@ MountMortarB1F_MapScriptHeader: ; 0x7e1f4
BlackBeltScript_0x7e1f6: ; 0x7e1f6
faceplayer
loadfont
checkbit1 $0061
checkbit1 EVENT_GOT_TYROGUE_FROM_KIYO
iftrue UnknownScript_0x7e231
checkbit1 $04a9
iftrue UnknownScript_0x7e217
@ -32,7 +32,7 @@ UnknownScript_0x7e217: ; 0x7e217
playsound $0002
waitbutton
givepoke TYROGUE, 10, 0, 0
setbit1 $0061
setbit1 EVENT_GOT_TYROGUE_FROM_KIYO
UnknownScript_0x7e231: ; 0x7e231
2writetext UnknownText_0x7e36a
closetext

View File

@ -36,7 +36,7 @@ UnknownScript_0x196e56: ; 0x196e56
playsound $0091
waitbutton
itemnotify
setbit1 $001e
setbit1 EVENT_GOT_MYSTERY_EGG_FROM_MR_POKEMON
blackoutmod GROUP_CHERRYGROVE_CITY, MAP_CHERRYGROVE_CITY
2writetext UnknownText_0x196feb
keeptextopen
@ -56,7 +56,7 @@ GentlemanScript_0x196e97: ; 0x196e97
loadfont
checkitem RED_SCALE
iftrue UnknownScript_0x196eb0
checkbit1 $001f
checkbit1 EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x196eaa
2writetext UnknownText_0x197134
closetext
@ -136,9 +136,9 @@ UnknownScript_0x196ec9: ; 0x196ec9
domaptrigger GROUP_ELMS_LAB, MAP_ELMS_LAB, $3
specialphonecall $2
clearbit1 $0702
checkbit1 $001c
checkbit1 EVENT_GOT_TOTODILE_FROM_ELM
iftrue UnknownScript_0x196f49
checkbit1 $001d
checkbit1 EVENT_GOT_CHIKORITA_FROM_ELM
iftrue UnknownScript_0x196f4d
setbit1 $0641
end

View File

@ -9,13 +9,13 @@ MrPsychicsHouse_MapScriptHeader: ; 0x18a778
FishingGuruScript_0x18a77a: ; 0x18a77a
faceplayer
loadfont
checkbit1 $00e3
checkbit1 EVENT_GOT_TM29_PSYCHIC
iftrue UnknownScript_0x18a78f
2writetext UnknownText_0x18a798
keeptextopen
verbosegiveitem TM_29, 1
iffalse UnknownScript_0x18a793
setbit1 $00e3
setbit1 EVENT_GOT_TM29_PSYCHIC
UnknownScript_0x18a78f: ; 0x18a78f
2writetext UnknownText_0x18a7bb
closetext

View File

@ -17,13 +17,13 @@ PokefanFScript_0x5c005: ; 0x5c005
TeacherScript_0x5c008: ; 0x5c008
faceplayer
loadfont
checkbit1 $0057
checkbit1 EVENT_GOT_QUICK_CLAW
iftrue UnknownScript_0x5c01d
2writetext UnknownText_0x5c265
keeptextopen
verbosegiveitem QUICK_CLAW, 1
iffalse UnknownScript_0x5c021
setbit1 $0057
setbit1 EVENT_GOT_QUICK_CLAW
UnknownScript_0x5c01d: ; 0x5c01d
2writetext UnknownText_0x5c30d
closetext
@ -122,13 +122,13 @@ UnknownScript_0x5c088: ; 0x5c088
if_equal $1, UnknownScript_0x5c0b9
if_equal $0, UnknownScript_0x5c0bf
UnknownScript_0x5c0a7: ; 0x5c0a7
checkbit1 $00cd
checkbit1 EVENT_RESTORED_POWER_TO_KANTO
iftrue UnknownScript_0x5c0f3
UnknownScript_0x5c0ad: ; 0x5c0ad
checkbit1 $0044
iftrue UnknownScript_0x5c0e6
UnknownScript_0x5c0b3: ; 0x5c0b3
checkbit1 $0021
checkbit1 EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x5c0d9
UnknownScript_0x5c0b9: ; 0x5c0b9
checkbit2 $0047
@ -271,11 +271,11 @@ PokefanfBeverly1Script: ; 0x5c138
iftrue UnknownScript_0x5c19b
checkpoke MARILL
iffalse UnknownScript_0x5c189
checkbit1 $0261
checkbit1 EVENT_SHOWED_BEVERLY_MARILL
iftrue UnknownScript_0x5c160
2writetext UnknownText_0x5c5bd
keeptextopen
setbit1 $0261
setbit1 EVENT_SHOWED_BEVERLY_MARILL
2call UnknownScript_0x5c18f
2jump UnknownScript_0x5c163
; 0x5c160

View File

@ -80,11 +80,11 @@ UnknownScript_0x1a8041: ; 0x1a8041
TeacherScript_0x1a806f: ; 0x1a806f
faceplayer
loadfont
checkbit1 $0040
checkbit1 EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST
iftrue UnknownScript_0x1a8095
checkbit1 $001f
checkbit1 EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x1a808f
checkbit1 $001a
checkbit1 EVENT_GOT_A_POKEMON_FROM_ELM
iftrue UnknownScript_0x1a8089
2writetext UnknownText_0x1a80f7
closetext

View File

@ -9,12 +9,12 @@ OlivineCafe_MapScriptHeader: ; 0x9c8bf
SailorScript_0x9c8c1: ; 0x9c8c1
faceplayer
loadfont
checkbit1 $0013
checkbit1 EVENT_GOT_HM04_STRENGTH
iftrue UnknownScript_0x9c8d3
2writetext UnknownText_0x9c8df
keeptextopen
verbosegiveitem HM_04, 1
setbit1 $0013
setbit1 EVENT_GOT_HM04_STRENGTH
UnknownScript_0x9c8d3: ; 0x9c8d3
2writetext UnknownText_0x9c965
closetext

View File

@ -9,7 +9,7 @@ OlivineGoodRodHouse_MapScriptHeader: ; 0x9c719
FishingGuruScript_0x9c71b: ; 0x9c71b
faceplayer
loadfont
checkbit1 $0018
checkbit1 EVENT_GOT_GOOD_ROD
iftrue UnknownScript_0x9c740
2writetext UnknownText_0x9c749
yesorno
@ -20,7 +20,7 @@ FishingGuruScript_0x9c71b: ; 0x9c71b
2writetext UnknownText_0x9c807
closetext
loadmovesprites
setbit1 $0018
setbit1 EVENT_GOT_GOOD_ROD
end
; 0x9c73a

View File

@ -9,7 +9,7 @@ OlivineGym_MapScriptHeader: ; 0x9c12d
JasmineScript_0x9c12f: ; 0x9c12f
faceplayer
loadfont
checkbit1 $04c1
checkbit1 EVENT_BEAT_JASMINE
iftrue UnknownScript_0x9c159
2writetext UnknownText_0x9c1b9
closetext
@ -18,7 +18,7 @@ JasmineScript_0x9c12f: ; 0x9c12f
loadtrainer JASMINE, 1
startbattle
returnafterbattle
setbit1 $04c1
setbit1 EVENT_BEAT_JASMINE
loadfont
2writetext UnknownText_0x9c33a
playsound $009c
@ -27,13 +27,13 @@ JasmineScript_0x9c12f: ; 0x9c12f
checkcode $7
2call UnknownScript_0x9c178
UnknownScript_0x9c159: ; 0x9c159
checkbit1 $000d
checkbit1 EVENT_GOT_TM23_IRON_TAIL
iftrue UnknownScript_0x9c172
2writetext UnknownText_0x9c354
keeptextopen
verbosegiveitem TM_23, 1
iffalse UnknownScript_0x9c176
setbit1 $000d
setbit1 EVENT_GOT_TM23_IRON_TAIL
2writetext UnknownText_0x9c3a5
closetext
loadmovesprites
@ -64,9 +64,9 @@ UnknownScript_0x9c184: ; 0x9c184
OlivineGymGuyScript: ; 0x9c187
faceplayer
checkbit1 $04c1
checkbit1 EVENT_BEAT_JASMINE
iftrue .OlivineGymGuyWinScript
checkbit1 $0020
checkbit1 EVENT_JASMINE_RETURNED_TO_GYM
iffalse .OlivineGymGuyPreScript
loadfont
2writetext OlivineGymGuyText

View File

@ -90,13 +90,13 @@ UnknownScript_0x5afc7: ; 0x5afc7
if_equal $1, UnknownScript_0x5afee
if_equal $0, UnknownScript_0x5aff4
UnknownScript_0x5afe2: ; 0x5afe2
checkbit1 $00cd
checkbit1 EVENT_RESTORED_POWER_TO_KANTO
iftrue UnknownScript_0x5b01b
UnknownScript_0x5afe8: ; 0x5afe8
checkbit1 $0044
iftrue UnknownScript_0x5b00e
UnknownScript_0x5afee: ; 0x5afee
checkbit1 $0021
checkbit1 EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x5b001
UnknownScript_0x5aff4: ; 0x5aff4
loadtrainer SAILOR, HUEY1
@ -130,7 +130,7 @@ UnknownScript_0x5b01b: ; 0x5b01b
startbattle
returnafterbattle
clearbit2 $0066
checkbit1 $0337
checkbit1 EVENT_HUEY_PROTEIN
iftrue UnknownScript_0x5b03f
checkbit1 $0265
iftrue UnknownScript_0x5b03e
@ -151,7 +151,7 @@ UnknownScript_0x5b03f: ; 0x5b03f
closetext
verbosegiveitem PROTEIN, 1
iffalse UnknownScript_0x5b06f
clearbit1 $0337
clearbit1 EVENT_HUEY_PROTEIN
setbit1 $0265
2jump UnknownScript_0x5b05f
; 0x5b053
@ -192,7 +192,7 @@ UnknownScript_0x5b06b: ; 0x5b06b
; 0x5b06f
UnknownScript_0x5b06f: ; 0x5b06f
setbit1 $0337
setbit1 EVENT_HUEY_PROTEIN
jumpstd $0021
end
; 0x5b076

View File

@ -64,7 +64,7 @@ UnknownScript_0x60bab: ; 0x60bab
2writetext UnknownText_0x60e6c
closetext
loadmovesprites
setbit1 $0020
setbit1 EVENT_JASMINE_RETURNED_TO_GYM
clearbit1 $06d3
checkcode $9
if_equal $0, UnknownScript_0x60c17
@ -107,7 +107,7 @@ UnknownScript_0x60c39: ; 0x60c39
MonsterScript_0x60c3a: ; 0x60c3a
faceplayer
loadfont
checkbit1 $0020
checkbit1 EVENT_JASMINE_RETURNED_TO_GYM
iftrue UnknownScript_0x60c51
2writetext UnknownText_0x60f03
writebyte AMPHAROS

View File

@ -49,15 +49,15 @@ SailorScript_0x748c0: ; 0x748c0
iffalse UnknownScript_0x7490a
clearbit1 $073a
setbit1 $073b
clearbit1 $0557
clearbit1 $0567
clearbit1 $049b
clearbit1 $04b2
clearbit1 $0445
clearbit1 $0589
clearbit1 $057b
clearbit1 $0459
clearbit1 $04ac
clearbit1 EVENT_BEAT_COOLTRAINERM_SEAN
clearbit1 EVENT_BEAT_COOLTRAINERF_CAROL
clearbit1 EVENT_BEAT_GENTLEMAN_EDWARD
clearbit1 EVENT_BEAT_BEAUTY_CASSIE
clearbit1 EVENT_BEAT_PSYCHIC_RODNEY
clearbit1 EVENT_BEAT_SUPER_NERD_SHAWN
clearbit1 EVENT_BEAT_SAILOR_GARRETT
clearbit1 EVENT_BEAT_FISHER_JONAH
clearbit1 EVENT_BEAT_BLACKBELT_WAI
UnknownScript_0x7490a: ; 0x7490a
clearbit1 $002f
appear $2

View File

@ -26,12 +26,12 @@ BugCatcherScript_0x18c00c: ; 0x18c00c
GrampsScript_0x18c00f: ; 0x18c00f
faceplayer
loadfont
checkbit1 $0079
checkbit1 EVENT_GOT_SILVER_WING
iftrue UnknownScript_0x18c023
2writetext UnknownText_0x18c0c6
keeptextopen
verbosegiveitem SILVER_WING, 1
setbit1 $0079
setbit1 EVENT_GOT_SILVER_WING
loadmovesprites
end
; 0x18c023

View File

@ -18,8 +18,8 @@ BrockScript_0x1a2864: ; 0x1a2864
loadtrainer BROCK, 1
startbattle
returnafterbattle
setbit1 $04c5
setbit1 $042b
setbit1 EVENT_BEAT_BROCK
setbit1 EVENT_BEAT_CAMPER_JERRY
loadfont
2writetext UnknownText_0x1a2a3d
playsound $009c
@ -70,7 +70,7 @@ CamperJerryScript: ; 0x1a28a4
PewterGymGuyScript: ; 0x1a28ac
faceplayer
loadfont
checkbit1 $04c5
checkbit1 EVENT_BEAT_BROCK
iftrue .PewterGymGuyWinScript
2writetext PewterGymGuyText
closetext

View File

@ -77,7 +77,7 @@ UnknownScript_0x192895: ; 0x192895
; 0x19289d
LinkReceptionistScript_0x19289d: ; 0x19289d
checkbit1 $001f
checkbit1 EVENT_GAVE_MYSTERY_EGG_TO_ELM
iffalse UnknownScript_0x19288d
loadfont
2writetext UnknownText_0x192e3a
@ -190,7 +190,7 @@ UnknownScript_0x19294a: ; 0x19294a
; 0x192952
LinkReceptionistScript_0x192952: ; 0x192952
checkbit1 $001f
checkbit1 EVENT_GAVE_MYSTERY_EGG_TO_ELM
iffalse UnknownScript_0x192895
loadfont
2writetext UnknownText_0x192de0

View File

@ -9,9 +9,9 @@ PokemonFanClub_MapScriptHeader: ; 0x1917e7
GentlemanScript_0x1917e9: ; 0x1917e9
faceplayer
loadfont
checkbit1 $00d4
checkbit1 EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT
iftrue UnknownScript_0x191815
checkbit1 $00d3
checkbit1 EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT_BUT_BAG_WAS_FULL
iftrue UnknownScript_0x191802
2writetext UnknownText_0x191881
yesorno
@ -23,7 +23,7 @@ UnknownScript_0x191802: ; 0x191802
keeptextopen
verbosegiveitem RARE_CANDY, 1
iffalse UnknownScript_0x19181f
setbit1 $00d4
setbit1 EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT
2writetext UnknownText_0x191a72
closetext
loadmovesprites
@ -52,9 +52,9 @@ ReceptionistScript_0x191821: ; 0x191821
FisherScript_0x191824: ; 0x191824
faceplayer
loadfont
checkbit1 $00d2
checkbit1 EVENT_GOT_LOST_ITEM_FROM_FAN_CLUB
iftrue UnknownScript_0x19185f
checkbit1 $00c9
checkbit1 EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x191838
2writetext UnknownText_0x191ba0
closetext
@ -64,7 +64,7 @@ FisherScript_0x191824: ; 0x191824
UnknownScript_0x191838: ; 0x191838
2writetext UnknownText_0x191bff
checkbit1 $00cf
checkbit1 EVENT_MET_COPYCAT_FOUND_OUT_ABOUT_LOST_ITEM
iftrue UnknownScript_0x191844
closetext
loadmovesprites
@ -83,7 +83,7 @@ UnknownScript_0x191844: ; 0x191844
playsound $0091
waitbutton
itemnotify
setbit1 $00d2
setbit1 EVENT_GOT_LOST_ITEM_FROM_FAN_CLUB
loadmovesprites
end
; 0x19185f

View File

@ -45,9 +45,9 @@ UnknownScript_0x188dc5: ; 0x188dc5
OfficerScript_0x188df5: ; 0x188df5
faceplayer
loadfont
checkbit1 $00c9
checkbit1 EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x188e0f
checkbit1 $00ca
checkbit1 EVENT_MET_MANAGER_AT_POWER_PLANT
iftrue UnknownScript_0x188e09
2writetext UnknownText_0x188ee0
closetext
@ -72,7 +72,7 @@ UnknownScript_0x188e0f: ; 0x188e0f
GymGuyScript_0x188e15: ; 0x188e15
faceplayer
loadfont
checkbit1 $00c9
checkbit1 EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x188e23
2writetext UnknownText_0x188fcf
closetext
@ -90,7 +90,7 @@ UnknownScript_0x188e23: ; 0x188e23
GymGuyScript_0x188e29: ; 0x188e29
faceplayer
loadfont
checkbit1 $00c9
checkbit1 EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x188e37
2writetext UnknownText_0x189079
closetext
@ -108,7 +108,7 @@ UnknownScript_0x188e37: ; 0x188e37
OfficerScript_0x188e3d: ; 0x188e3d
faceplayer
loadfont
checkbit1 $00c9
checkbit1 EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x188e4b
2writetext UnknownText_0x18910e
closetext
@ -126,7 +126,7 @@ UnknownScript_0x188e4b: ; 0x188e4b
GymGuyScript_0x188e51: ; 0x188e51
faceplayer
loadfont
checkbit1 $00c9
checkbit1 EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x188e5f
2writetext UnknownText_0x1891c2
closetext
@ -144,18 +144,18 @@ UnknownScript_0x188e5f: ; 0x188e5f
FisherScript_0x188e65: ; 0x188e65
faceplayer
loadfont
checkbit1 $00c9
checkbit1 EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x188eac
checkitem MACHINE_PART
iftrue UnknownScript_0x188e93
checkbit1 $00ca
checkbit1 EVENT_MET_MANAGER_AT_POWER_PLANT
iftrue UnknownScript_0x188e8d
2writetext UnknownText_0x189264
closetext
loadmovesprites
setbit1 $00ca
setbit1 EVENT_MET_MANAGER_AT_POWER_PLANT
clearbit1 $076d
clearbit1 $00fb
clearbit1 EVENT_FOUND_MACHINE_PART_IN_CERULEAN_GYM
domaptrigger GROUP_CERULEAN_GYM, MAP_CERULEAN_GYM, $1
dotrigger $1
end
@ -172,20 +172,20 @@ UnknownScript_0x188e93: ; 0x188e93
2writetext UnknownText_0x18936e
keeptextopen
takeitem MACHINE_PART, 1
setbit1 $00c9
setbit1 EVENT_RETURNED_MACHINE_PART
clearbit1 $0772
setbit1 $0771
setbit1 $076c
setbit1 $00cd
setbit1 EVENT_RESTORED_POWER_TO_KANTO
clearbit1 $0749
UnknownScript_0x188eac: ; 0x188eac
checkbit1 $00df
checkbit1 EVENT_GOT_TM07_ZAP_CANNON
iftrue UnknownScript_0x188ec5
2writetext UnknownText_0x1893c4
keeptextopen
verbosegiveitem TM_07, 1
iffalse UnknownScript_0x188ec3
setbit1 $00df
setbit1 EVENT_GOT_TM07_ZAP_CANNON
2writetext UnknownText_0x1893f4
closetext
UnknownScript_0x188ec3: ; 0x188ec3

View File

@ -170,7 +170,7 @@ BuenaScript_0x5d775: ; 0x5d775
loadfont
checkbit2 $0013
iftrue UnknownScript_0x5d865
checkbit1 $033d
checkbit1 EVENT_MET_BUENA
iffalse UnknownScript_0x5d800
checkbit2 $0060
iftrue UnknownScript_0x5d82f
@ -231,7 +231,7 @@ UnknownScript_0x5d7be: ; 0x5d7be
UnknownScript_0x5d800: ; 0x5d800
2writetext UnknownText_0x5dcf4
keeptextopen
setbit1 $033d
setbit1 EVENT_MET_BUENA
verbosegiveitem BLUE_CARD, 1
UnknownScript_0x5d80a: ; 0x5d80a
2writetext UnknownText_0x5de10
@ -239,7 +239,7 @@ UnknownScript_0x5d80a: ; 0x5d80a
loadmovesprites
checkcellnum $25
iftrue UnknownScript_0x5d81a
checkbit1 $033c
checkbit1 EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
iftrue UnknownScript_0x5d8cc
UnknownScript_0x5d81a: ; 0x5d81a
spriteface $b, $3
@ -263,7 +263,7 @@ UnknownScript_0x5d82f: ; 0x5d82f
loadmovesprites
checkcellnum $25
iftrue UnknownScript_0x5d83f
checkbit1 $033c
checkbit1 EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
iftrue UnknownScript_0x5d8cc
UnknownScript_0x5d83f: ; 0x5d83f
spriteface $b, $3
@ -303,7 +303,7 @@ UnknownScript_0x5d86b: ; 0x5d86b
loadmovesprites
checkcellnum $25
iftrue UnknownScript_0x5d87b
checkbit1 $029e
checkbit1 EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
iftrue UnknownScript_0x5d8cc
UnknownScript_0x5d87b: ; 0x5d87b
spriteface $b, $3
@ -316,7 +316,7 @@ UnknownScript_0x5d87f: ; 0x5d87f
loadmovesprites
checkcellnum $25
iftrue UnknownScript_0x5d88f
checkbit1 $029e
checkbit1 EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
iftrue UnknownScript_0x5d8cc
UnknownScript_0x5d88f: ; 0x5d88f
spriteface $b, $3
@ -329,7 +329,7 @@ UnknownScript_0x5d893: ; 0x5d893
loadmovesprites
checkcellnum $25
iftrue UnknownScript_0x5d8a3
checkbit1 $033c
checkbit1 EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
iftrue UnknownScript_0x5d8cc
UnknownScript_0x5d8a3: ; 0x5d8a3
end
@ -343,11 +343,11 @@ UnknownScript_0x5d8a4: ; 0x5d8a4
pause 15
spriteface $0, $1
pause 15
checkbit1 $029e
checkbit1 EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
iftrue UnknownScript_0x5d8cc
showemote $0, $b, 15
setbit1 $029e
setbit1 $033c
setbit1 EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD
setbit1 EVENT_BUENA_OFFERED_HER_PHONE_NUMBER
loadfont
2writetext UnknownText_0x5e1ee
2jump UnknownScript_0x5d8d0

View File

@ -11,7 +11,7 @@ RadioTower3F_MapScriptHeader: ; 0x5e53e
; 0x5e543
UnknownScript_0x5e543: ; 0x5e543
checkbit1 $0025
checkbit1 EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
iftrue UnknownScript_0x5e54a
return
; 0x5e54a
@ -29,7 +29,7 @@ SuperNerdScript_0x5e553: ; 0x5e553
GymGuyScript_0x5e556: ; 0x5e556
faceplayer
loadfont
checkbit1 $0021
checkbit1 EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x5e564
2writetext UnknownText_0x5e682
closetext
@ -47,11 +47,11 @@ UnknownScript_0x5e564: ; 0x5e564
CooltrainerFScript_0x5e56a: ; 0x5e56a
faceplayer
loadfont
checkbit1 $0047
checkbit1 EVENT_GOT_SUNNY_DAY_FROM_RADIO_TOWER
iftrue UnknownScript_0x5e59d
checkbit1 $0021
checkbit1 EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x5e58a
checkbit1 $0025
checkbit1 EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
iftrue UnknownScript_0x5e584
2writetext UnknownText_0x5e754
closetext
@ -74,7 +74,7 @@ UnknownScript_0x5e58a: ; 0x5e58a
2writetext UnknownText_0x5e821
closetext
loadmovesprites
setbit1 $0047
setbit1 EVENT_GOT_SUNNY_DAY_FROM_RADIO_TOWER
end
; 0x5e59d
@ -206,7 +206,7 @@ MapRadioTower3FSignpost2Script: ; 0x5e5f3
loadfont
2writetext UnknownText_0x5eaa4
closetext
checkbit1 $0025
checkbit1 EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
iftrue UnknownScript_0x5e603
checkitem CARD_KEY
iftrue UnknownScript_0x5e605
@ -218,7 +218,7 @@ UnknownScript_0x5e603: ; 0x5e603
UnknownScript_0x5e605: ; 0x5e605
2writetext UnknownText_0x5eabc
closetext
setbit1 $0025
setbit1 EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER
playsound $001f
changeblock $e, $2, $2a
changeblock $e, $4, $1

View File

@ -13,9 +13,9 @@ FisherScript_0x5eb82: ; 0x5eb82
TeacherScript_0x5eb85: ; 0x5eb85
faceplayer
loadfont
checkbit1 $0048
checkbit1 EVENT_GOT_PINK_BOW_FROM_MARY
iftrue UnknownScript_0x5ebac
checkbit1 $0021
checkbit1 EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x5eb99
2writetext UnknownText_0x5ec68
closetext
@ -31,7 +31,7 @@ UnknownScript_0x5eb99: ; 0x5eb99
2writetext UnknownText_0x5ecef
closetext
loadmovesprites
setbit1 $0048
setbit1 EVENT_GOT_PINK_BOW_FROM_MARY
end
; 0x5ebac

View File

@ -54,7 +54,7 @@ UnknownScript_0x60011: ; 0x60011
GentlemanScript_0x60046: ; 0x60046
faceplayer
loadfont
checkbit1 $0021
checkbit1 EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x60054
2writetext UnknownText_0x60246
closetext
@ -122,7 +122,7 @@ UnknownScript_0x6006e: ; 0x6006e
pause 15
special $0032
setbit1 $0571
setbit1 $0021
setbit1 EVENT_CLEARED_RADIO_TOWER
clearbit2 $0013
setbit1 $06cc
setbit1 $06cd
@ -148,7 +148,7 @@ UnknownScript_0x6006e: ; 0x6006e
loadmovesprites
dotrigger $2
domaptrigger GROUP_ECRUTEAK_HOUSE, MAP_ECRUTEAK_HOUSE, $0
setbit1 $0078
setbit1 EVENT_GOT_CLEAR_BELL
setbit1 $0761
2jump UnknownScript_0x600f1
; 0x600f1

View File

@ -16,12 +16,12 @@ UnknownScript_0x19aea2: ; 0x19aea2
RedsMomScript_0x19aea3: ; 0x19aea3
faceplayer
loadfont
checkbit1 $00cc
checkbit1 EVENT_MET_REDS_MOM
iftrue UnknownScript_0x19aeb4
2writetext UnknownText_0x19aec0
closetext
loadmovesprites
setbit1 $00cc
setbit1 EVENT_MET_REDS_MOM
end
; 0x19aeb4

View File

@ -17,7 +17,7 @@ GentlemanScript_0x188bd7: ; 0x188bd7
GymGuyScript_0x188bda: ; 0x188bda
faceplayer
loadfont
checkbit1 $00c9
checkbit1 EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x188be8
2writetext UnknownText_0x188c26
closetext

View File

@ -9,7 +9,7 @@ Route12SuperRodHouse_MapScriptHeader: ; 0x7f482
FishingGuruScript_0x7f484: ; 0x7f484
faceplayer
loadfont
checkbit1 $0019
checkbit1 EVENT_GOT_SUPER_ROD
iftrue UnknownScript_0x7f4a0
2writetext UnknownText_0x7f4af
yesorno
@ -18,7 +18,7 @@ FishingGuruScript_0x7f484: ; 0x7f484
keeptextopen
verbosegiveitem SUPER_ROD, 1
iffalse UnknownScript_0x7f4aa
setbit1 $0019
setbit1 EVENT_GOT_SUPER_ROD
UnknownScript_0x7f4a0: ; 0x7f4a0
2writetext UnknownText_0x7f57c
closetext

View File

@ -280,13 +280,13 @@ CooltrainerMScript_0x19efac: ; 0x19efac
loadfont
checkbit1 $0558
iftrue UnknownScript_0x19efda
checkbit1 $00d8
checkbit1 EVENT_CLEARED_NUGGET_BRIDGE
iftrue UnknownScript_0x19efc7
2writetext UnknownText_0x19f43b
keeptextopen
verbosegiveitem NUGGET, 1
iffalse UnknownScript_0x19efde
setbit1 $00d8
setbit1 EVENT_CLEARED_NUGGET_BRIDGE
UnknownScript_0x19efc7: ; 0x19efc7
2writetext UnknownText_0x19f49d
closetext

View File

@ -91,7 +91,7 @@ UnknownScript_0x1a4d79: ; 0x1a4d79
if_equal $1, UnknownScript_0x1a4d96
if_equal $0, UnknownScript_0x1a4d9c
UnknownScript_0x1a4d90: ; 0x1a4d90
checkbit1 $00cd
checkbit1 EVENT_RESTORED_POWER_TO_KANTO
iftrue UnknownScript_0x1a4db6
UnknownScript_0x1a4d96: ; 0x1a4d96
checkbit1 $0044
@ -242,7 +242,7 @@ UnknownScript_0x1a4e35: ; 0x1a4e35
if_equal $1, UnknownScript_0x1a4e52
if_equal $0, UnknownScript_0x1a4e58
UnknownScript_0x1a4e4c: ; 0x1a4e4c
checkbit1 $00cd
checkbit1 EVENT_RESTORED_POWER_TO_KANTO
iftrue UnknownScript_0x1a4e72
UnknownScript_0x1a4e52: ; 0x1a4e52
checkbit1 $0044

View File

@ -132,7 +132,7 @@ UnknownScript_0x1a08ff: ; 0x1a08ff
if_equal $1, UnknownScript_0x1a091c
if_equal $0, UnknownScript_0x1a0922
UnknownScript_0x1a0916: ; 0x1a0916
checkbit1 $00cd
checkbit1 EVENT_RESTORED_POWER_TO_KANTO
iftrue UnknownScript_0x1a093c
UnknownScript_0x1a091c: ; 0x1a091c
checkbit1 $0044
@ -334,7 +334,7 @@ UnknownScript_0x1a09e9: ; 0x1a09e9
if_equal $1, UnknownScript_0x1a0a06
if_equal $0, UnknownScript_0x1a0a0c
UnknownScript_0x1a0a00: ; 0x1a0a00
checkbit1 $00cd
checkbit1 EVENT_RESTORED_POWER_TO_KANTO
iftrue UnknownScript_0x1a0a26
UnknownScript_0x1a0a06: ; 0x1a0a06
checkbit1 $0044

View File

@ -9,7 +9,7 @@ Route27SandstormHouse_MapScriptHeader: ; 0x7b392
GrannyScript_0x7b394: ; 0x7b394
faceplayer
loadfont
checkbit1 $0075
checkbit1 EVENT_GOT_TM37_SANDSTORM
iftrue UnknownScript_0x7b3b7
special $0059
2writetext UnknownText_0x7b3c6
@ -23,7 +23,7 @@ UnknownScript_0x7b3aa: ; 0x7b3aa
keeptextopen
verbosegiveitem TM_37, 1
iffalse UnknownScript_0x7b3bb
setbit1 $0075
setbit1 EVENT_GOT_TM37_SANDSTORM
UnknownScript_0x7b3b7: ; 0x7b3b7
2writetext UnknownText_0x7b48f
closetext

View File

@ -16,13 +16,13 @@ UnknownScript_0x1ae657: ; 0x1ae657
CooltrainerFScript_0x1ae658: ; 0x1ae658
faceplayer
loadfont
checkbit1 $0074
checkbit1 EVENT_GOT_TM47_STEEL_WING
iftrue UnknownScript_0x1ae66f
2writetext UnknownText_0x1ae682
keeptextopen
verbosegiveitem TM_47, 1
iffalse UnknownScript_0x1ae66d
setbit1 $0074
setbit1 EVENT_GOT_TM47_STEEL_WING
UnknownScript_0x1ae66d: ; 0x1ae66d
loadmovesprites
end

View File

@ -42,7 +42,7 @@ UnknownScript_0x1a0f6d: ; 0x1a0f6d
showemote $0, $2, 15
applymovement $2, MovementData_0x1a108d
spriteface $0, $2
setbit1 $0041
setbit1 EVENT_DUDE_TALKED_TO_YOU
loadfont
2writetext UnknownText_0x1a10df
yesorno
@ -59,7 +59,7 @@ UnknownScript_0x1a0f6d: ; 0x1a0f6d
closetext
loadmovesprites
dotrigger $0
setbit1 $0042
setbit1 EVENT_LEARNED_TO_CATCH_POKEMON
end
; 0x1a0fa3
@ -68,7 +68,7 @@ UnknownScript_0x1a0fa3: ; 0x1a0fa3
showemote $0, $2, 15
applymovement $2, MovementData_0x1a1094
spriteface $0, $2
setbit1 $0041
setbit1 EVENT_DUDE_TALKED_TO_YOU
loadfont
2writetext UnknownText_0x1a10df
yesorno
@ -85,7 +85,7 @@ UnknownScript_0x1a0fa3: ; 0x1a0fa3
closetext
loadmovesprites
dotrigger $0
setbit1 $0042
setbit1 EVENT_LEARNED_TO_CATCH_POKEMON
end
; 0x1a0fd9
@ -112,9 +112,9 @@ CooltrainerMScript_0x1a0ff1: ; 0x1a0ff1
loadfont
checkcode $10
if_equal $0, UnknownScript_0x1a101c
checkbit1 $0042
checkbit1 EVENT_LEARNED_TO_CATCH_POKEMON
iftrue UnknownScript_0x1a101c
checkbit1 $001f
checkbit1 EVENT_GAVE_MYSTERY_EGG_TO_ELM
iffalse UnknownScript_0x1a101c
2writetext UnknownText_0x1a11e3
yesorno
@ -126,7 +126,7 @@ CooltrainerMScript_0x1a0ff1: ; 0x1a0ff1
2writetext UnknownText_0x1a114d
closetext
loadmovesprites
setbit1 $0042
setbit1 EVENT_LEARNED_TO_CATCH_POKEMON
end
; 0x1a101c
@ -180,21 +180,21 @@ UnknownScript_0x1a1043: ; 0x1a1043
TeacherScript_0x1a1049: ; 0x1a1049
faceplayer
loadfont
checkbit1 $0065
checkbit1 EVENT_GOT_PINK_BOW_FROM_TUSCANY
iftrue UnknownScript_0x1a1077
checkcode $b
if_not_equal TUESDAY, UnknownScript_0x1a107d
checkbit1 $0064
checkbit1 EVENT_MET_TUSCANY_OF_TUESDAY
iftrue UnknownScript_0x1a1064
2writetext UnknownText_0x1a13b2
keeptextopen
setbit1 $0064
setbit1 EVENT_MET_TUSCANY_OF_TUESDAY
UnknownScript_0x1a1064: ; 0x1a1064
2writetext UnknownText_0x1a142f
keeptextopen
verbosegiveitem PINK_BOW, 1
iffalse UnknownScript_0x1a107b
setbit1 $0065
setbit1 EVENT_GOT_PINK_BOW_FROM_TUSCANY
2writetext UnknownText_0x1a146f
closetext
loadmovesprites

View File

@ -88,7 +88,7 @@ UnknownScript_0x1a16ff: ; 0x1a16ff
checkbit1 $0044
iftrue UnknownScript_0x1a174b
UnknownScript_0x1a1705: ; 0x1a1705
checkbit1 $0021
checkbit1 EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x1a173e
UnknownScript_0x1a170b: ; 0x1a170b
checkbit2 $0047
@ -137,7 +137,7 @@ UnknownScript_0x1a174b: ; 0x1a174b
startbattle
returnafterbattle
clearbit2 $006b
checkbit1 $0338
checkbit1 EVENT_JOEY_HP_UP
iftrue UnknownScript_0x1a176f
checkbit1 $0266
iftrue UnknownScript_0x1a176e
@ -158,7 +158,7 @@ UnknownScript_0x1a176f: ; 0x1a176f
closetext
verbosegiveitem HP_UP, 1
iffalse UnknownScript_0x1a179f
clearbit1 $0338
clearbit1 EVENT_JOEY_HP_UP
setbit1 $0266
2jump UnknownScript_0x1a178f
; 0x1a1783
@ -199,7 +199,7 @@ UnknownScript_0x1a179b: ; 0x1a179b
; 0x1a179f
UnknownScript_0x1a179f: ; 0x1a179f
setbit1 $0338
setbit1 EVENT_JOEY_HP_UP
jumpstd $0021
end
; 0x1a17a6
@ -270,7 +270,7 @@ Bug_catcherDonScript: ; 0x1a17ca
YoungsterScript_0x1a17d2: ; 0x1a17d2
faceplayer
loadfont
checkbit1 $001f
checkbit1 EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x1a17e0
2writetext UnknownText_0x1a1a6a
closetext

View File

@ -9,13 +9,13 @@ Route30BerrySpeechHouse_MapScriptHeader: ; 0x196d62
PokefanMScript_0x196d64: ; 0x196d64
faceplayer
loadfont
checkbit1 $0027
checkbit1 EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE
iftrue UnknownScript_0x196d79
2writetext UnknownText_0x196d82
keeptextopen
verbosegiveitem BERRY, 1
iffalse UnknownScript_0x196d7d
setbit1 $0027
setbit1 EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE
UnknownScript_0x196d79: ; 0x196d79
2writetext UnknownText_0x196dec
closetext

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