Add more event flags.

This commit is contained in:
IIMarckus 2015-07-10 06:08:03 -06:00
parent 86c13acf84
commit 07a12b37b6
68 changed files with 304 additions and 281 deletions

View File

@ -30,11 +30,14 @@ EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER EQU $025
EVENT_REFUSED_TO_HELP_LANCE_AT_LAKE_OF_RAGE EQU $026 EVENT_REFUSED_TO_HELP_LANCE_AT_LAKE_OF_RAGE EQU $026
EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE EQU $027 EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE EQU $027
EVENT_MADE_WHITNEY_CRY EQU $028 EVENT_MADE_WHITNEY_CRY EQU $028
EVENT_HERDED_FARFETCHD EQU $029
EVENT_FOUGHT_SUDOWOODO EQU $02a EVENT_FOUGHT_SUDOWOODO EQU $02a
EVENT_CLEARED_SLOWPOKE_WELL EQU $02b EVENT_CLEARED_SLOWPOKE_WELL EQU $02b
EVENT_REFUSED_TO_TAKE_EGG_FROM_ELMS_AIDE EQU $02c EVENT_REFUSED_TO_TAKE_EGG_FROM_ELMS_AIDE EQU $02c
EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE EQU $02d EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE EQU $02d
EVENT_MADE_UNOWN_APPEAR_IN_RUINS EQU $02e EVENT_MADE_UNOWN_APPEAR_IN_RUINS EQU $02e
EVENT_FAST_SHIP_DESTINATION_OLIVINE EQU $02f
EVENT_JASMINE_EXPLAINED_AMPHYS_SICKNESS EQU $037
EVENT_HEALED_MOOMOO EQU $03d EVENT_HEALED_MOOMOO EQU $03d
EVENT_GOT_TM13_SNORE_FROM_MOOMOO_FARM EQU $03e EVENT_GOT_TM13_SNORE_FROM_MOOMOO_FARM EQU $03e
EVENT_TALKED_TO_FARMER_ABOUT_MOOMOO EQU $03f EVENT_TALKED_TO_FARMER_ABOUT_MOOMOO EQU $03f
@ -98,7 +101,14 @@ EVENT_RELEASED_THE_BEASTS EQU $07b
EVENT_GOT_MASTER_BALL_FROM_ELM EQU $07c EVENT_GOT_MASTER_BALL_FROM_ELM EQU $07c
EVENT_FOUND_REVIVE_IN_ROCKET_BASE_B1F EQU $086 EVENT_FOUND_REVIVE_IN_ROCKET_BASE_B1F EQU $086
EVENT_MET_FLORIA EQU $0b9 EVENT_MET_FLORIA EQU $0b9
EVENT_BUGGING_KURT_TOO_MUCH EQU $0bb
EVENT_TALKED_TO_RUINS_COWARD EQU $0bc
EVENT_GOT_DRATINI EQU $0bd
EVENT_CAN_GIVE_GS_BALL_TO_KURT EQU $0be EVENT_CAN_GIVE_GS_BALL_TO_KURT EQU $0be
EVENT_GAVE_GS_BALL_TO_KURT EQU $0bf
EVENT_FOREST_IS_RESTLESS EQU $0c0
EVENT_ANSWERED_DRAGON_MASTER_QUIZ_WRONG EQU $0c1
EVENT_GOT_NUGGET_FROM_GUY EQU $0c8
EVENT_RETURNED_MACHINE_PART EQU $0c9 EVENT_RETURNED_MACHINE_PART EQU $0c9
EVENT_MET_MANAGER_AT_POWER_PLANT EQU $0ca EVENT_MET_MANAGER_AT_POWER_PLANT EQU $0ca
EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM EQU $0cb EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM EQU $0cb
@ -113,6 +123,7 @@ EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT_BUT_BAG_WAS_FULL EQU $0d3
EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT EQU $0d4 EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT EQU $0d4
EVENT_TALKED_TO_SEAFOAM_GYM_GUY_ONCE EQU $0d5 EVENT_TALKED_TO_SEAFOAM_GYM_GUY_ONCE EQU $0d5
EVENT_ENABLE_DIPLOMA_PRINTING EQU $0d6 EVENT_ENABLE_DIPLOMA_PRINTING EQU $0d6
EVENT_CINNABAR_ROCKS_CLEARED EQU $0d7
EVENT_CLEARED_NUGGET_BRIDGE EQU $0d8 EVENT_CLEARED_NUGGET_BRIDGE EQU $0d8
EVENT_TALKED_TO_WARDENS_GRANDDAUGHTER EQU $0d9 EVENT_TALKED_TO_WARDENS_GRANDDAUGHTER EQU $0d9
EVENT_GOT_TM03_CURSE EQU $0da EVENT_GOT_TM03_CURSE EQU $0da
@ -126,9 +137,10 @@ EVENT_TALKED_TO_OAK_IN_KANTO EQU $0e1
EVENT_GOT_HP_UP_FROM_VERMILION_GUY EQU $0e2 EVENT_GOT_HP_UP_FROM_VERMILION_GUY EQU $0e2
EVENT_GOT_TM29_PSYCHIC EQU $0e3 EVENT_GOT_TM29_PSYCHIC EQU $0e3
EVENT_FOUND_LEFTOVERS_IN_CELADON_CAFE EQU $0f9 EVENT_FOUND_LEFTOVERS_IN_CELADON_CAFE EQU $0f9
EVENT_FOUND_BERSERK_GENE_IN_CERULEAN_CITY EQU $0fa
EVENT_FOUND_MACHINE_PART_IN_CERULEAN_GYM EQU $0fb EVENT_FOUND_MACHINE_PART_IN_CERULEAN_GYM EQU $0fb
EVENT_JACK_ASKED_FOR_PHONE_NUMBER EQU $25f EVENT_JACK_ASKED_FOR_PHONE_NUMBER EQU $25f
EVENT_SHOWED_BEVERLY_MARILL EQU $261 EVENT_BEVERLY_ASKED_FOR_PHONE_NUMBER EQU $261
EVENT_HUEY_ASKED_FOR_PHONE_NUMBER EQU $263 EVENT_HUEY_ASKED_FOR_PHONE_NUMBER EQU $263
EVENT_GOT_PROTEIN_FROM_HUEY EQU $265 EVENT_GOT_PROTEIN_FROM_HUEY EQU $265
EVENT_GOT_HP_UP_FROM_JOEY EQU $266 EVENT_GOT_HP_UP_FROM_JOEY EQU $266
@ -207,6 +219,13 @@ EVENT_EXPLODING_TRAP_21 EQU $2fd
EVENT_EXPLODING_TRAP_22 EQU $2fe EVENT_EXPLODING_TRAP_22 EQU $2fe
EVENT_LEARNED_HAIL_GIOVANNI EQU $2ff EVENT_LEARNED_HAIL_GIOVANNI EQU $2ff
EVENT_OPENED_DOOR_TO_ROCKET_HIDEOUT_TRANSMITTER EQU $300 EVENT_OPENED_DOOR_TO_ROCKET_HIDEOUT_TRANSMITTER EQU $300
EVENT_LEARNED_SLOWPOKETAIL EQU $301
EVENT_LEARNED_RATICATE_TAIL EQU $302
EVENT_OPENED_DOOR_TO_GIOVANNIS_OFFICE EQU $303
EVENT_WAREHOUSE_LAYOUT_1 EQU $304
EVENT_WAREHOUSE_LAYOUT_2 EQU $305
EVENT_WAREHOUSE_LAYOUT_3 EQU $306
EVENT_WAREHOUSE_BLOCKED_OFF EQU $307
EVENT_WILLS_ROOM_EXIT_OPEN EQU $30a EVENT_WILLS_ROOM_EXIT_OPEN EQU $30a
EVENT_WILLS_ROOM_ENTRANCE_CLOSED EQU $30b EVENT_WILLS_ROOM_ENTRANCE_CLOSED EQU $30b
EVENT_KOGAS_ROOM_EXIT_OPEN EQU $30c EVENT_KOGAS_ROOM_EXIT_OPEN EQU $30c
@ -242,6 +261,8 @@ EVENT_WADE_HAS_BITTER_BERRY EQU $32e
EVENT_WILTON_HAS_ULTRA_BALL EQU $32f EVENT_WILTON_HAS_ULTRA_BALL EQU $32f
EVENT_WILTON_HAS_GREAT_BALL EQU $330 EVENT_WILTON_HAS_GREAT_BALL EQU $330
EVENT_WILTON_HAS_POKE_BALL EQU $331 EVENT_WILTON_HAS_POKE_BALL EQU $331
EVENT_HOLE_IN_BURNED_TOWER EQU $332
EVENT_FOUGHT_EUSINE EQU $333
EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER EQU $334 EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER EQU $334
EVENT_FOUGHT_SUICUNE EQU $335 EVENT_FOUGHT_SUICUNE EQU $335
EVENT_GOT_RAINBOW_WING EQU $336 EVENT_GOT_RAINBOW_WING EQU $336
@ -630,9 +651,11 @@ EVENT_BOULDER_IN_ICE_PATH_1 EQU $70d
EVENT_BOULDER_IN_ICE_PATH_2 EQU $70e EVENT_BOULDER_IN_ICE_PATH_2 EQU $70e
EVENT_BOULDER_IN_ICE_PATH_3 EQU $70f EVENT_BOULDER_IN_ICE_PATH_3 EQU $70f
EVENT_BOULDER_IN_ICE_PATH_4 EQU $710 EVENT_BOULDER_IN_ICE_PATH_4 EQU $710
EVENT_MET_BILL EQU $712
EVENT_OPENED_MT_SILVER EQU $74f EVENT_OPENED_MT_SILVER EQU $74f
EVENT_FOUGHT_SNORLAX EQU $750 EVENT_FOUGHT_SNORLAX EQU $750
EVENT_RED_IN_MT_SILVER EQU $762 EVENT_RED_IN_MT_SILVER EQU $762
EVENT_RANG_CLEAR_BELL EQU $767
EVENT_FLORIA_AT_SUDOWOODO EQU $769 EVENT_FLORIA_AT_SUDOWOODO EQU $769
EVENT_TRAINERS_IN_CERULEAN_GYM EQU $76f EVENT_TRAINERS_IN_CERULEAN_GYM EQU $76f
EVENT_BLUE_IN_CINNABAR EQU $775 EVENT_BLUE_IN_CINNABAR EQU $775
@ -654,6 +677,7 @@ 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_MOON_STONE_FROM_AERODACTYL_ITEM_ROOM EQU $7a1
EVENT_PICKED_UP_HEAL_POWDER_FROM_AERODACTYL_ITEM_ROOM EQU $7a2 EVENT_PICKED_UP_HEAL_POWDER_FROM_AERODACTYL_ITEM_ROOM EQU $7a2
EVENT_PICKED_UP_ENERGY_ROOT_FROM_AERODACTYL_ITEM_ROOM EQU $7a3 EVENT_PICKED_UP_ENERGY_ROOT_FROM_AERODACTYL_ITEM_ROOM EQU $7a3
EVENT_EUSINE_IN_BURNED_TOWER EQU $7aa
EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY EQU $7ae EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY EQU $7ae
EVENT_SAW_SUICUNE_ON_ROUTE_42 EQU $7af EVENT_SAW_SUICUNE_ON_ROUTE_42 EQU $7af
EVENT_SAW_SUICUNE_ON_ROUTE_36 EQU $7b0 EVENT_SAW_SUICUNE_ON_ROUTE_36 EQU $7b0

View File

@ -291,7 +291,7 @@ GoldenrodRocketsScript:
end end
RadioTowerRocketsScript: RadioTowerRocketsScript:
setflag $0013 setflag ENGINE_BIKE_SHOP_CALL_ENABLED
setevent $06cf setevent $06cf
setevent $06d1 setevent $06d1
clearevent $06ce clearevent $06ce
@ -377,7 +377,7 @@ UnknownScript_0xbc2d4:
setevent $0727 setevent $0727
setevent $0728 setevent $0728
setevent $0729 setevent $0729
setflag $0051 setflag ENGINE_51
special PlayMapMusic special PlayMapMusic
end end
; 0xbc31e ; 0xbc31e
@ -583,7 +583,7 @@ InitializeEventsScript:
setevent $06ed setevent $06ed
setevent $06f0 setevent $06f0
setevent $07a9 setevent $07a9
setevent $07aa setevent EVENT_EUSINE_IN_BURNED_TOWER
setevent $06c8 setevent $06c8
setevent $07ac setevent $07ac
setevent $07ad setevent $07ad

View File

@ -12384,9 +12384,9 @@ String_1224f: ; 1224f
; 122c1 ; 122c1
UnknownScript_0x122c1: ; 0x122c1 UnknownScript_0x122c1: ; 0x122c1
checkflag $0011 checkflag ENGINE_BUG_CONTEST_TIMER
iffalse .script_122cd iffalse .script_122cd
setflag $0051 setflag ENGINE_51
special Function13a31 special Function13a31
.script_122cd .script_122cd
end end
@ -12721,7 +12721,7 @@ UnknownScript_0x124ce: ; 0x124ce
special Function8c084 special Function8c084
pause 40 pause 40
special HealParty special HealParty
checkflag $0011 checkflag ENGINE_BUG_CONTEST_TIMER
iftrue .script_64f2 iftrue .script_64f2
callasm HalveMoney callasm HalveMoney
callasm Function12527 callasm Function12527
@ -49267,7 +49267,7 @@ UnknownScript_0x506c8: ; 0x506c8
closetext closetext
callasm Function506ef callasm Function506ef
iffalse UnknownScript_0x506e9 iffalse UnknownScript_0x506e9
checkflag $0011 checkflag ENGINE_BUG_CONTEST_TIMER
iftrue UnknownScript_0x506e5 iftrue UnknownScript_0x506e5
battlecheck battlecheck
startbattle startbattle

View File

@ -157,7 +157,7 @@ UnknownScript_0x1980e5:
closetext closetext
verbosegiveitem GS_BALL, 1 verbosegiveitem GS_BALL, 1
spriteface $d, LEFT spriteface $d, LEFT
setflag $0064 setflag ENGINE_HAVE_EXAMINED_GS_BALL
clearevent $06ed clearevent $06ed
setevent $06eb setevent $06eb
dotrigger $0 dotrigger $0

View File

@ -16,7 +16,7 @@ DaisyScript_0x19b0d0:
end end
UnknownScript_0x19b0de: UnknownScript_0x19b0de:
checkflag $005c checkflag ENGINE_TEA_IN_BLUES_HOUSE
iftrue UnknownScript_0x19b11e iftrue UnknownScript_0x19b11e
writetext UnknownText_0x19b1b6 writetext UnknownText_0x19b1b6
yesorno yesorno
@ -24,9 +24,9 @@ UnknownScript_0x19b0de:
writetext UnknownText_0x19b244 writetext UnknownText_0x19b244
closetext closetext
special Function741d special Function741d
if_equal $0, UnknownScript_0x19b124 if_equal 0, UnknownScript_0x19b124
if_equal $1, UnknownScript_0x19b12a if_equal 1, UnknownScript_0x19b12a
setflag $005c setflag ENGINE_TEA_IN_BLUES_HOUSE
writetext UnknownText_0x19b266 writetext UnknownText_0x19b266
closetext closetext
loadmovesprites loadmovesprites

View File

@ -25,14 +25,14 @@ UnknownScript_0x185bf7:
end end
UnknownScript_0x185bf8: UnknownScript_0x185bf8:
checkevent $0332 checkevent EVENT_HOLE_IN_BURNED_TOWER
iftrue UnknownScript_0x185c02 iftrue .Next
changeblock $a, $8, $32 changeblock $a, $8, $32 ; hole
UnknownScript_0x185c02: .Next
checkevent EVENT_RELEASED_THE_BEASTS checkevent EVENT_RELEASED_THE_BEASTS
iftrue UnknownScript_0x185c0c iftrue .Done
changeblock $6, $e, $9 changeblock $6, $e, $9 ; ladder
UnknownScript_0x185c0c: .Done
return return
UnknownScript_0x185c0d: UnknownScript_0x185c0d:
@ -114,7 +114,7 @@ UnknownScript_0x185c80:
writetext UnknownText_0x185e75 writetext UnknownText_0x185e75
closetext closetext
loadmovesprites loadmovesprites
setevent $0332 setevent EVENT_HOLE_IN_BURNED_TOWER
pause 15 pause 15
warpcheck warpcheck
end end

View File

@ -259,4 +259,4 @@ BurnedTowerB1F_MapEventHeader:
person_event SPRITE_ENTEI, 7, 16, $6, $0, 255, 255, $d0, 0, ObjectEvent, $074b person_event SPRITE_ENTEI, 7, 16, $6, $0, 255, 255, $d0, 0, ObjectEvent, $074b
person_event SPRITE_SUICUNE, 8, 14, $6, $0, 255, 255, $d0, 0, ObjectEvent, $074b person_event SPRITE_SUICUNE, 8, 14, $6, $0, 255, 255, $d0, 0, ObjectEvent, $074b
person_event SPRITE_POKE_BALL, 8, 20, $1, $0, 255, 255, $1, 0, ItemFragment_0x186231, $0657 person_event SPRITE_POKE_BALL, 8, 20, $1, $0, 255, 255, $1, 0, ItemFragment_0x186231, $0657
person_event SPRITE_SUPER_NERD, 16, 14, $7, $0, 255, 255, $90, 0, SuperNerdScript_0x186212, $07aa person_event SPRITE_SUPER_NERD, 16, 14, $7, $0, 255, 255, $90, 0, SuperNerdScript_0x186212, EVENT_EUSINE_IN_BURNED_TOWER

View File

@ -86,7 +86,7 @@ YoungsterScript_0x184064:
writetext UnknownText_0x1842a9 writetext UnknownText_0x1842a9
closetext closetext
loadmovesprites loadmovesprites
checkevent $00fa checkevent EVENT_FOUND_BERSERK_GENE_IN_CERULEAN_CITY
iffalse UnknownScript_0x184072 iffalse UnknownScript_0x184072
end end
@ -141,7 +141,7 @@ CeruleanCityMartSign:
jumpstd martsign jumpstd martsign
MapCeruleanCitySignpostItem8: MapCeruleanCitySignpostItem8:
dw $00fa dw EVENT_FOUND_BERSERK_GENE_IN_CERULEAN_CITY
db BERSERK_GENE db BERSERK_GENE
UnknownText_0x1840bc: UnknownText_0x1840bc:

View File

@ -68,7 +68,7 @@ CherrygroveCityGuideGent:
keeptextopen keeptextopen
stringtotext .mapcardname, $1 stringtotext .mapcardname, $1
scall .UnknownScript_0x19c097 scall .UnknownScript_0x19c097
setflag $0001 setflag ENGINE_MAP_CARD
writetext GotMapCardText writetext GotMapCardText
keeptextopen keeptextopen
writetext GuideGentPokegearText writetext GuideGentPokegearText
@ -177,7 +177,7 @@ UnknownScript_0x19c12f:
TeacherScript_0x19c146: TeacherScript_0x19c146:
faceplayer faceplayer
loadfont loadfont
checkflag $0001 checkflag ENGINE_MAP_CARD
iftrue UnknownScript_0x19c154 iftrue UnknownScript_0x19c154
writetext UnknownText_0x19c650 writetext UnknownText_0x19c650
closetext closetext
@ -193,7 +193,7 @@ UnknownScript_0x19c154:
YoungsterScript_0x19c15a: YoungsterScript_0x19c15a:
faceplayer faceplayer
loadfont loadfont
checkflag $000b checkflag ENGINE_POKEDEX
iftrue UnknownScript_0x19c168 iftrue UnknownScript_0x19c168
writetext UnknownText_0x19c6d6 writetext UnknownText_0x19c6d6
closetext closetext

View File

@ -20,8 +20,8 @@ CianwoodCity_MapScriptHeader:
.FlyPointAndSuicune .FlyPointAndSuicune
setflag ENGINE_FLYPOINT_CIANWOOD setflag ENGINE_FLYPOINT_CIANWOOD
setevent $07aa setevent EVENT_EUSINE_IN_BURNED_TOWER
checkevent $0333 checkevent EVENT_FOUGHT_EUSINE
iffalse UnknownScript_0x1a001d iffalse UnknownScript_0x1a001d
disappear $c disappear $c
UnknownScript_0x1a001d: UnknownScript_0x1a001d:
@ -42,9 +42,9 @@ UnknownScript_0x1a001e:
dotrigger $0 dotrigger $0
clearevent EVENT_SAW_SUICUNE_ON_ROUTE_42 clearevent EVENT_SAW_SUICUNE_ON_ROUTE_42
domaptrigger GROUP_ROUTE_42, MAP_ROUTE_42, $1 domaptrigger GROUP_ROUTE_42, MAP_ROUTE_42, $1
checkevent $0333 checkevent EVENT_FOUGHT_EUSINE
iftrue UnknownScript_0x1a0083 iftrue .Done
setevent $0333 setevent EVENT_FOUGHT_EUSINE
playmusic MUSIC_MYSTICALMAN_ENCOUNTER playmusic MUSIC_MYSTICALMAN_ENCOUNTER
appear $c appear $c
applymovement $c, MovementData_0x1a00e7 applymovement $c, MovementData_0x1a00e7
@ -69,7 +69,7 @@ UnknownScript_0x1a001e:
special Functionc48f special Functionc48f
playmapmusic playmapmusic
pause 10 pause 10
UnknownScript_0x1a0083: .Done
end end
PokefanFScript_0x1a0084: PokefanFScript_0x1a0084:

View File

@ -16,11 +16,11 @@ CianwoodPharmacist:
loadfont loadfont
checkevent EVENT_GOT_SECRETPOTION_FROM_PHARMACY checkevent EVENT_GOT_SECRETPOTION_FROM_PHARMACY
iftrue .Mart iftrue .Mart
checkevent $0037 checkevent EVENT_JASMINE_EXPLAINED_AMPHYS_SICKNESS
iffalse .Mart iffalse .Mart
writetext PharmacistGiveSecretpotionText writetext PharmacistGiveSecretpotionText
keeptextopen keeptextopen
giveitem SECRETPOTION, $1 giveitem SECRETPOTION, 1
writetext ReceivedSecretpotionText writetext ReceivedSecretpotionText
playsound SFX_KEY_ITEM playsound SFX_KEY_ITEM
waitbutton waitbutton

View File

@ -10,7 +10,7 @@ CopycatsHouse2F_MapScriptHeader:
dbw 2, CopycatsHouse2FCallback dbw 2, CopycatsHouse2FCallback
CopycatsHouse2FCallback: CopycatsHouse2FCallback:
checkflag $0063 checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Part1 iftrue .Part1
disappear $7 disappear $7
appear $2 appear $2
@ -29,7 +29,7 @@ Copycat:
iftrue .Part13 iftrue .Part13
checkitem LOST_ITEM checkitem LOST_ITEM
iftrue .Part12 iftrue .Part12
checkflag $0063 checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Part1 iftrue .Part1
applymovement $2, MovementData_0x18afd0 applymovement $2, MovementData_0x18afd0
faceplayer faceplayer
@ -45,7 +45,7 @@ Copycat:
checkevent EVENT_RETURNED_MACHINE_PART checkevent EVENT_RETURNED_MACHINE_PART
iftrue .Part7 iftrue .Part7
loadfont loadfont
checkflag $0063 checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Part3 iftrue .Part3
writetext UnknownText_0x18afda writetext UnknownText_0x18afda
jump .Part4 jump .Part4
@ -55,7 +55,7 @@ Copycat:
.Part4 .Part4
closetext closetext
loadmovesprites loadmovesprites
checkflag $0063 checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Part5 iftrue .Part5
applymovement $2, MovementData_0x18afd0 applymovement $2, MovementData_0x18afd0
jump .Part6 jump .Part6
@ -74,7 +74,7 @@ Copycat:
.Part7 .Part7
loadfont loadfont
checkflag $0063 checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Part8 iftrue .Part8
writetext UnknownText_0x18b064 writetext UnknownText_0x18b064
jump .Part9 jump .Part9
@ -84,7 +84,7 @@ Copycat:
.Part9 .Part9
closetext closetext
loadmovesprites loadmovesprites
checkflag $0063 checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Part10 iftrue .Part10
applymovement $2, MovementData_0x18afd0 applymovement $2, MovementData_0x18afd0
jump .Part11 jump .Part11
@ -125,7 +125,7 @@ Copycat:
end end
.Part15 .Part15
checkflag $0063 checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Part16 iftrue .Part16
applymovement $2, MovementData_0x18afd0 applymovement $2, MovementData_0x18afd0
faceplayer faceplayer
@ -139,7 +139,7 @@ Copycat:
.Part17 .Part17
special Function14209 special Function14209
loadfont loadfont
checkflag $0063 checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Part18 iftrue .Part18
writetext UnknownText_0x18b298 writetext UnknownText_0x18b298
jump .Part19 jump .Part19
@ -149,7 +149,7 @@ Copycat:
.Part19 .Part19
closetext closetext
loadmovesprites loadmovesprites
checkflag $0063 checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Part20 iftrue .Part20
applymovement $2, MovementData_0x18afd0 applymovement $2, MovementData_0x18afd0
jump .Part21 jump .Part21

View File

@ -160,7 +160,7 @@ GentlemanScript_0x994c6:
jump UnknownScript_0x99505 jump UnknownScript_0x99505
UnknownScript_0x994f3: UnknownScript_0x994f3:
checkflag $0063 checkflag ENGINE_PLAYER_IS_FEMALE
iftrue UnknownScript_0x994ff iftrue UnknownScript_0x994ff
writetext UnknownText_0x99891 writetext UnknownText_0x99891
closetext closetext

View File

@ -10,7 +10,7 @@ DayCare_MapScriptHeader:
dbw 2, UnknownScript_0x62f7b dbw 2, UnknownScript_0x62f7b
UnknownScript_0x62f7b: UnknownScript_0x62f7b:
checkflag $0005 checkflag ENGINE_DAYCARE_MONS_ARE_COMPATIBLE
iftrue UnknownScript_0x62f88 iftrue UnknownScript_0x62f88
clearevent $06e5 clearevent $06e5
setevent $06e6 setevent $06e6
@ -58,7 +58,7 @@ UnknownScript_0x62fbd:
GrannyScript_0x62fc3: GrannyScript_0x62fc3:
faceplayer faceplayer
loadfont loadfont
checkflag $0005 checkflag ENGINE_DAYCARE_MONS_ARE_COMPATIBLE
iftrue UnknownScript_0x62fd1 iftrue UnknownScript_0x62fd1
special Function1672a special Function1672a
closetext closetext

View File

@ -99,7 +99,7 @@ UnknownScript_0x18d0cb:
writetext UnknownText_0x18d816 writetext UnknownText_0x18d816
closetext closetext
loadmovesprites loadmovesprites
setevent $00c1 setevent EVENT_ANSWERED_DRAGON_MASTER_QUIZ_WRONG
loadfont loadfont
checkevent $0005 checkevent $0005
iftrue UnknownScript_0x18d091 iftrue UnknownScript_0x18d091
@ -156,7 +156,7 @@ UnknownScript_0x18d100:
loadfont loadfont
writetext UnknownText_0x18d9bf writetext UnknownText_0x18d9bf
closetext closetext
setflag $0022 setflag ENGINE_RISINGBADGE
playsound SFX_GET_BADGE playsound SFX_GET_BADGE
waitbutton waitbutton
special RestartMapMusic special RestartMapMusic
@ -194,7 +194,7 @@ ElderScript_0x18d1a5:
iftrue UnknownScript_0x18d1f9 iftrue UnknownScript_0x18d1f9
checkevent $0006 checkevent $0006
iftrue UnknownScript_0x18d1ff iftrue UnknownScript_0x18d1ff
checkevent $00bd checkevent EVENT_GOT_DRATINI
iffalse UnknownScript_0x18d1c5 iffalse UnknownScript_0x18d1c5
checkevent EVENT_BEAT_RIVAL_IN_MT_MOON checkevent EVENT_BEAT_RIVAL_IN_MT_MOON
iftrue UnknownScript_0x18d1f3 iftrue UnknownScript_0x18d1f3
@ -212,9 +212,9 @@ UnknownScript_0x18d1c5:
playsound SFX_CAUGHT_MON playsound SFX_CAUGHT_MON
waitbutton waitbutton
givepoke DRATINI, 15, 0, 0 givepoke DRATINI, 15, 0, 0
checkevent $00c1 checkevent EVENT_ANSWERED_DRAGON_MASTER_QUIZ_WRONG
special SpecialDratini special SpecialDratini
setevent $00bd setevent EVENT_GOT_DRATINI
setevent $0006 setevent $0006
writetext UnknownText_0x18d6ca writetext UnknownText_0x18d6ca
closetext closetext

View File

@ -30,7 +30,7 @@ UnknownScript_0x9800f:
UnknownScript_0x98022: UnknownScript_0x98022:
clearevent $0766 clearevent $0766
setevent $0767 setevent EVENT_RANG_CLEAR_BELL
setevent $07b1 setevent $07b1
checkitem CLEAR_BELL checkitem CLEAR_BELL
iftrue UnknownScript_0x98032 iftrue UnknownScript_0x98032
@ -43,7 +43,7 @@ UnknownScript_0x98033:
return return
UnknownScript_0x98037: UnknownScript_0x98037:
checkevent $0767 checkevent EVENT_RANG_CLEAR_BELL
iftrue UnknownScript_0x98061 iftrue UnknownScript_0x98061
applymovement $3, MovementData_0x980c7 applymovement $3, MovementData_0x980c7
moveperson $2, $4, $6 moveperson $2, $4, $6
@ -70,7 +70,7 @@ SageScript_0x98062:
loadfont loadfont
checkevent EVENT_CLEARED_RADIO_TOWER checkevent EVENT_CLEARED_RADIO_TOWER
iftrue UnknownScript_0x9807c iftrue UnknownScript_0x9807c
checkflag $001e checkflag ENGINE_FOGBADGE
iftrue UnknownScript_0x98076 iftrue UnknownScript_0x98076
writetext UnknownText_0x980d1 writetext UnknownText_0x980d1
closetext closetext
@ -100,7 +100,7 @@ UnknownScript_0x98093:
closetext closetext
loadmovesprites loadmovesprites
dotrigger $1 dotrigger $1
setevent $0767 setevent EVENT_RANG_CLEAR_BELL
clearevent $0766 clearevent $0766
setevent $0000 setevent $0000
end end
@ -299,6 +299,6 @@ EcruteakHouse_MapEventHeader:
; people-events ; people-events
db 4 db 4
person_event SPRITE_SAGE, 10, 8, $6, $0, 255, 255, $0, 0, SageScript_0x98062, $0766 person_event SPRITE_SAGE, 10, 8, $6, $0, 255, 255, $0, 0, SageScript_0x98062, $0766
person_event SPRITE_SAGE, 10, 9, $6, $0, 255, 255, $0, 0, SageScript_0x98062, $0767 person_event SPRITE_SAGE, 10, 9, $6, $0, 255, 255, $0, 0, SageScript_0x98062, EVENT_RANG_CLEAR_BELL
person_event SPRITE_SAGE, 13, 10, $2, $11, 255, 255, $0, 0, SageScript_0x980b0, $07b1 person_event SPRITE_SAGE, 13, 10, $2, $11, 255, 255, $0, 0, SageScript_0x980b0, $07b1
person_event SPRITE_GRAMPS, 15, 7, $2, $11, 255, 255, $0, 0, GrampsScript_0x980c4, $07b1 person_event SPRITE_GRAMPS, 15, 7, $2, $11, 255, 255, $0, 0, GrampsScript_0x980c4, $07b1

View File

@ -46,8 +46,8 @@ UnknownScript_0x98e95:
applymovement $6, MovementData_0x98ece applymovement $6, MovementData_0x98ece
playsound SFX_EXIT_BUILDING playsound SFX_EXIT_BUILDING
disappear $6 disappear $6
clearevent $0712 clearevent EVENT_MET_BILL
setflag $0053 setflag ENGINE_TIME_CAPSULE
dotrigger $1 dotrigger $1
waitbutton waitbutton
end end

View File

@ -95,7 +95,7 @@ ProfElmScript:
UnknownScript_0x78bee: UnknownScript_0x78bee:
checkevent EVENT_GOT_MASTER_BALL_FROM_ELM checkevent EVENT_GOT_MASTER_BALL_FROM_ELM
iftrue UnknownScript_0x78bfa iftrue UnknownScript_0x78bfa
checkflag $0022 checkflag ENGINE_RISINGBADGE
iftrue ElmGiveMasterBallScript iftrue ElmGiveMasterBallScript
UnknownScript_0x78bfa: UnknownScript_0x78bfa:
checkevent EVENT_GOT_EVERSTONE_FROM_ELM checkevent EVENT_GOT_EVERSTONE_FROM_ELM
@ -132,7 +132,7 @@ UnknownScript_0x78c35:
UnknownScript_0x78c41: UnknownScript_0x78c41:
checkevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE ; why are we checking it again? checkevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE ; why are we checking it again?
iftrue ElmWaitingEggHatchScript iftrue ElmWaitingEggHatchScript
checkflag $001b checkflag ENGINE_ZEPHYRBADGE
iftrue ElmAideHasEggScript iftrue ElmAideHasEggScript
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue ElmStudyingEggScript iftrue ElmStudyingEggScript
@ -337,7 +337,7 @@ ElmAfterTheftScript:
writetext ElmAfterTheftText5 writetext ElmAfterTheftText5
keeptextopen keeptextopen
setevent EVENT_GAVE_MYSTERY_EGG_TO_ELM setevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
setflag $0010 setflag ENGINE_BUG_CONTEST_ON
domaptrigger GROUP_ROUTE_29, MAP_ROUTE_29, $1 domaptrigger GROUP_ROUTE_29, MAP_ROUTE_29, $1
clearevent $0715 clearevent $0715
setevent $0714 setevent $0714
@ -564,7 +564,7 @@ CopScript:
ElmsLabWindow: ElmsLabWindow:
loadfont loadfont
checkflag $0043 checkflag ENGINE_FLYPOINT_VIOLET
iftrue .Normal iftrue .Normal
checkevent EVENT_ELM_CALLED_ABOUT_STOLEN_POKEMON checkevent EVENT_ELM_CALLED_ABOUT_STOLEN_POKEMON
iftrue .BreakIn iftrue .BreakIn

View File

@ -43,22 +43,22 @@ SailorScript_0x75160:
loadfont loadfont
checkevent $0031 checkevent $0031
iftrue UnknownScript_0x7517a iftrue UnknownScript_0x7517a
checkevent $002f checkevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
iftrue UnknownScript_0x75174 iftrue .Olivine
writetext UnknownText_0x7523b writetext UnknownText_0x7523b
closetext closetext
loadmovesprites loadmovesprites
end end
UnknownScript_0x75174: .Olivine
writetext UnknownText_0x7529b writetext UnknownText_0x7529b
closetext closetext
loadmovesprites loadmovesprites
end end
UnknownScript_0x7517a: UnknownScript_0x7517a:
checkevent $002f checkevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
iftrue UnknownScript_0x7519c iftrue .Olivine
writetext UnknownText_0x754be writetext UnknownText_0x754be
closetext closetext
loadmovesprites loadmovesprites
@ -71,7 +71,7 @@ UnknownScript_0x7517a:
warp GROUP_VERMILION_PORT, MAP_VERMILION_PORT, $7, $11 warp GROUP_VERMILION_PORT, MAP_VERMILION_PORT, $7, $11
end end
UnknownScript_0x7519c: .Olivine
writetext UnknownText_0x7548d writetext UnknownText_0x7548d
closetext closetext
loadmovesprites loadmovesprites

View File

@ -48,7 +48,7 @@ TwinScript_0x75ebb:
showemote $0, $3, 15 showemote $0, $3, 15
applymovement $4, MovementData_0x7600c applymovement $4, MovementData_0x7600c
spriteface $3, RIGHT spriteface $3, RIGHT
checkflag $0063 checkflag ENGINE_PLAYER_IS_FEMALE
iftrue UnknownScript_0x75f03 iftrue UnknownScript_0x75f03
loadfont loadfont
writetext UnknownText_0x76284 writetext UnknownText_0x76284

View File

@ -19,12 +19,12 @@ ClerkScript_0x54750:
writetext UnknownText_0x547f8 writetext UnknownText_0x547f8
keeptextopen keeptextopen
waitbutton waitbutton
giveitem BICYCLE, $1 giveitem BICYCLE, 1
writetext UnknownText_0x54848 writetext UnknownText_0x54848
playsound SFX_KEY_ITEM playsound SFX_KEY_ITEM
waitbutton waitbutton
itemnotify itemnotify
setflag $0014 setflag ENGINE_14
setevent EVENT_GOT_BICYCLE setevent EVENT_GOT_BICYCLE
UnknownScript_0x54775: UnknownScript_0x54775:
writetext UnknownText_0x5485f writetext UnknownText_0x5485f

View File

@ -49,7 +49,7 @@ UnknownScript_0x54c1f:
BillsMom: BillsMom:
faceplayer faceplayer
loadfont loadfont
checkevent $0712 checkevent EVENT_MET_BILL
iffalse UnknownScript_0x54c33 iffalse UnknownScript_0x54c33
writetext UnknownText_0x54ea8 writetext UnknownText_0x54ea8
closetext closetext
@ -257,6 +257,6 @@ GoldenrodBillsHouse_MapEventHeader:
; people-events ; people-events
db 3 db 3
person_event SPRITE_BILL, 7, 6, $9, $0, 255, 255, $0, 0, BillsHouseBill, $0712 person_event SPRITE_BILL, 7, 6, $9, $0, 255, 255, $0, 0, BillsHouseBill, EVENT_MET_BILL
person_event SPRITE_POKEFAN_F, 7, 9, $6, $0, 255, 255, $0, 0, BillsMom, $ffff person_event SPRITE_POKEFAN_F, 7, 9, $6, $0, 255, 255, $0, 0, BillsMom, $ffff
person_event SPRITE_TWIN, 8, 9, $2, $11, 255, 255, $a0, 0, BillsSister, $ffff person_event SPRITE_TWIN, 8, 9, $2, $11, 255, 255, $a0, 0, BillsSister, $ffff

View File

@ -170,7 +170,7 @@ UnknownScript_0x1989f7:
CooltrainerFScript_0x1989fd: CooltrainerFScript_0x1989fd:
faceplayer faceplayer
loadfont loadfont
checkflag $0000 checkflag ENGINE_RADIO_CARD
iftrue UnknownScript_0x198a0b iftrue UnknownScript_0x198a0b
writetext UnknownText_0x198b73 writetext UnknownText_0x198b73
closetext closetext

View File

@ -58,7 +58,7 @@ ReceptionistScript_0x560ce:
loadfont loadfont
checkcode VAR_WEEKDAY checkcode VAR_WEEKDAY
if_not_equal SUNDAY, UnknownScript_0x56112 if_not_equal SUNDAY, UnknownScript_0x56112
checkflag $005b checkflag ENGINE_GOLDENROD_MALL_5F_HAPPINESS_EVENT
iftrue UnknownScript_0x56112 iftrue UnknownScript_0x56112
special Function718d special Function718d
writetext UnknownText_0x56143 writetext UnknownText_0x56143
@ -72,7 +72,7 @@ UnknownScript_0x560ee:
keeptextopen keeptextopen
verbosegiveitem TM_RETURN, 1 verbosegiveitem TM_RETURN, 1
iffalse UnknownScript_0x56116 iffalse UnknownScript_0x56116
setflag $005b setflag ENGINE_GOLDENROD_MALL_5F_HAPPINESS_EVENT
loadmovesprites loadmovesprites
end end
@ -87,7 +87,7 @@ UnknownScript_0x56103:
keeptextopen keeptextopen
verbosegiveitem TM_FRUSTRATION, 1 verbosegiveitem TM_FRUSTRATION, 1
iffalse UnknownScript_0x56116 iffalse UnknownScript_0x56116
setflag $005b setflag ENGINE_GOLDENROD_MALL_5F_HAPPINESS_EVENT
loadmovesprites loadmovesprites
end end

View File

@ -21,23 +21,23 @@ UnknownScript_0x7d78a:
jump UnknownScript_0x7d791 jump UnknownScript_0x7d791
UnknownScript_0x7d791: UnknownScript_0x7d791:
checkevent $0305 checkevent EVENT_WAREHOUSE_LAYOUT_2
iftrue UnknownScript_0x7d7a2 iftrue .Layout2
checkevent $0306 checkevent EVENT_WAREHOUSE_LAYOUT_3
iftrue UnknownScript_0x7d7a7 iftrue .Layout3
changeblock $a, $8, $d changeblock $a, $8, $d
return return
UnknownScript_0x7d7a2: .Layout2
changeblock $4, $a, $d changeblock $4, $a, $d
return return
UnknownScript_0x7d7a7: .Layout3
changeblock $a, $c, $d changeblock $a, $c, $d
return return
UnknownScript_0x7d7ac: UnknownScript_0x7d7ac:
clearevent $0307 clearevent EVENT_WAREHOUSE_BLOCKED_OFF
return return
BlackBeltScript_0x7d7b0: BlackBeltScript_0x7d7b0:

View File

@ -9,38 +9,38 @@ MapGoldenrodDeptStoreElevatorSignpost0Script:
loadfont loadfont
elevator Elevator_0x566e0 elevator Elevator_0x566e0
loadmovesprites loadmovesprites
iffalse UnknownScript_0x566df iffalse .Done
pause 5 pause 5
playsound SFX_ELEVATOR playsound SFX_ELEVATOR
earthquake 60 earthquake 60
waitbutton waitbutton
checkevent $0307 checkevent EVENT_WAREHOUSE_BLOCKED_OFF
iftrue UnknownScript_0x566df iftrue .Done
checkevent $0304 checkevent EVENT_WAREHOUSE_LAYOUT_1
iftrue UnknownScript_0x566cb iftrue .BoxLayout1
checkevent $0305 checkevent EVENT_WAREHOUSE_LAYOUT_2
iftrue UnknownScript_0x566d5 iftrue .BoxLayout2
checkevent $0306 checkevent EVENT_WAREHOUSE_LAYOUT_3
iftrue UnknownScript_0x566c1 iftrue .BoxLayout3
UnknownScript_0x566c1: ;0x566c1 .BoxLayout3
setevent $0304 setevent EVENT_WAREHOUSE_LAYOUT_1
clearevent $0305 clearevent EVENT_WAREHOUSE_LAYOUT_2
clearevent $0306 clearevent EVENT_WAREHOUSE_LAYOUT_3
end end
UnknownScript_0x566cb: .BoxLayout1
clearevent $0304 clearevent EVENT_WAREHOUSE_LAYOUT_1
setevent $0305 setevent EVENT_WAREHOUSE_LAYOUT_2
clearevent $0306 clearevent EVENT_WAREHOUSE_LAYOUT_3
end end
UnknownScript_0x566d5: .BoxLayout2
clearevent $0304 clearevent EVENT_WAREHOUSE_LAYOUT_1
clearevent $0305 clearevent EVENT_WAREHOUSE_LAYOUT_2
setevent $0306 setevent EVENT_WAREHOUSE_LAYOUT_3
end end
UnknownScript_0x566df: .Done
end end

View File

@ -12,7 +12,7 @@ GoldenrodDeptStoreRoof_MapScriptHeader:
dbw 2, UnknownScript_0x5672b dbw 2, UnknownScript_0x5672b
UnknownScript_0x5671b: UnknownScript_0x5671b:
checkflag $0061 checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
iftrue UnknownScript_0x56722 iftrue UnknownScript_0x56722
return return
@ -22,7 +22,7 @@ UnknownScript_0x56722:
return return
UnknownScript_0x5672b: UnknownScript_0x5672b:
checkflag $0061 checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
iftrue UnknownScript_0x56738 iftrue UnknownScript_0x56738
setevent $06f0 setevent $06f0
clearevent $06f1 clearevent $06f1

View File

@ -14,7 +14,7 @@ TeacherScript_0x5535d:
iffalse UnknownScript_0x5539f iffalse UnknownScript_0x5539f
checkevent $00ba checkevent $00ba
iffalse UnknownScript_0x5538f iffalse UnknownScript_0x5538f
checkflag $001d checkflag ENGINE_PLAINBADGE
iffalse UnknownScript_0x5539c iffalse UnknownScript_0x5539c
faceplayer faceplayer
loadfont loadfont

View File

@ -79,7 +79,7 @@ UnknownScript_0x6eb74:
YoungsterScript_0x6eb7b: YoungsterScript_0x6eb7b:
faceplayer faceplayer
loadfont loadfont
checkevent $0029 checkevent EVENT_HERDED_FARFETCHD
iftrue UnknownScript_0x6eb89 iftrue UnknownScript_0x6eb89
writetext UnknownText_0x6ef5c writetext UnknownText_0x6ef5c
closetext closetext
@ -294,7 +294,7 @@ UnknownScript_0x6ed50:
loadvar FarfetchdPosition, $a loadvar FarfetchdPosition, $a
appear $4 appear $4
setevent $06f7 setevent $06f7
setevent $0029 setevent EVENT_HERDED_FARFETCHD
end end
UnknownScript_0x6ed74: UnknownScript_0x6ed74:
@ -439,7 +439,7 @@ MapIlexForestSignpost0Script:
jumptext UnknownText_0x6f2de jumptext UnknownText_0x6f2de
MapIlexForestSignpost4Script: MapIlexForestSignpost4Script:
checkevent $00c0 checkevent EVENT_FOREST_IS_RESTLESS
iftrue UnknownScript_0x6ee30 iftrue UnknownScript_0x6ee30
jump UnknownScript_0x6ee35 jump UnknownScript_0x6ee35
@ -459,7 +459,7 @@ UnknownScript_0x6ee38:
UnknownScript_0x6ee42: UnknownScript_0x6ee42:
takeitem GS_BALL, 1 takeitem GS_BALL, 1
clearevent $00c0 clearevent EVENT_FOREST_IS_RESTLESS
setevent $07a4 setevent $07a4
disappear $8 disappear $8
clearevent $06eb clearevent $06eb

View File

@ -43,7 +43,7 @@ UnknownScript_0x18000a:
UnknownScript_0x180053: UnknownScript_0x180053:
checkevent EVENT_BEAT_RIVAL_IN_MT_MOON checkevent EVENT_BEAT_RIVAL_IN_MT_MOON
iffalse UnknownScript_0x18012b iffalse UnknownScript_0x18012b
checkflag $005d checkflag ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT
iftrue UnknownScript_0x18012b iftrue UnknownScript_0x18012b
checkcode VAR_WEEKDAY checkcode VAR_WEEKDAY
if_equal SUNDAY, UnknownScript_0x18012b if_equal SUNDAY, UnknownScript_0x18012b
@ -65,7 +65,7 @@ UnknownScript_0x180053:
UnknownScript_0x180094: UnknownScript_0x180094:
checkevent EVENT_BEAT_RIVAL_IN_MT_MOON checkevent EVENT_BEAT_RIVAL_IN_MT_MOON
iffalse UnknownScript_0x18012b iffalse UnknownScript_0x18012b
checkflag $005d checkflag ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT
iftrue UnknownScript_0x18012b iftrue UnknownScript_0x18012b
checkcode VAR_WEEKDAY checkcode VAR_WEEKDAY
if_equal SUNDAY, UnknownScript_0x18012b if_equal SUNDAY, UnknownScript_0x18012b
@ -128,7 +128,7 @@ UnknownScript_0x180113:
disappear $5 disappear $5
dotrigger $0 dotrigger $0
playmapmusic playmapmusic
setflag $005d setflag ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT
UnknownScript_0x18012b: UnknownScript_0x18012b:
end end

View File

@ -35,8 +35,8 @@ UnknownScript_0x7a4f6:
keeptextopen keeptextopen
stringtotext GearName, $1 stringtotext GearName, $1
scall UnknownScript_0x7a57e scall UnknownScript_0x7a57e
setflag $0004 setflag ENGINE_POKEGEAR
setflag $0002 setflag ENGINE_PHONE_CARD
addcellnum $1 addcellnum $1
dotrigger $1 dotrigger $1
setevent $06c7 setevent $06c7

View File

@ -12,9 +12,9 @@ KurtsHouse_MapScriptHeader:
UnknownScript_0x18e154: UnknownScript_0x18e154:
checkevent EVENT_CLEARED_SLOWPOKE_WELL checkevent EVENT_CLEARED_SLOWPOKE_WELL
iffalse UnknownScript_0x18e177 iffalse UnknownScript_0x18e177
checkevent $00c0 checkevent EVENT_FOREST_IS_RESTLESS
iftrue UnknownScript_0x18e177 iftrue UnknownScript_0x18e177
checkflag $0050 checkflag ENGINE_KURT_MAKING_BALLS
iftrue UnknownScript_0x18e16f iftrue UnknownScript_0x18e16f
disappear $5 disappear $5
appear $2 appear $2
@ -164,7 +164,7 @@ UnknownScript_0x18e293:
UnknownScript_0x18e299: UnknownScript_0x18e299:
setevent $0000 setevent $0000
setflag $0050 setflag ENGINE_KURT_MAKING_BALLS
UnknownScript_0x18e29f: UnknownScript_0x18e29f:
writetext UnknownText_0x18e779 writetext UnknownText_0x18e779
closetext closetext
@ -187,7 +187,7 @@ UnknownScript_0x18e2b2:
end end
UnknownScript_0x18e2b4: UnknownScript_0x18e2b4:
checkflag $0050 checkflag ENGINE_KURT_MAKING_BALLS
iftrue UnknownScript_0x18e3c5 iftrue UnknownScript_0x18e3c5
writetext UnknownText_0x18e7fb writetext UnknownText_0x18e7fb
keeptextopen keeptextopen
@ -198,7 +198,7 @@ UnknownScript_0x18e2c4:
jump UnknownScript_0x18e2ab jump UnknownScript_0x18e2ab
UnknownScript_0x18e2ca: UnknownScript_0x18e2ca:
checkflag $0050 checkflag ENGINE_KURT_MAKING_BALLS
iftrue UnknownScript_0x18e3c5 iftrue UnknownScript_0x18e3c5
writetext UnknownText_0x18e7fb writetext UnknownText_0x18e7fb
keeptextopen keeptextopen
@ -209,7 +209,7 @@ UnknownScript_0x18e2da:
jump UnknownScript_0x18e2ab jump UnknownScript_0x18e2ab
UnknownScript_0x18e2e0: UnknownScript_0x18e2e0:
checkflag $0050 checkflag ENGINE_KURT_MAKING_BALLS
iftrue UnknownScript_0x18e3c5 iftrue UnknownScript_0x18e3c5
writetext UnknownText_0x18e7fb writetext UnknownText_0x18e7fb
keeptextopen keeptextopen
@ -220,7 +220,7 @@ UnknownScript_0x18e2f0:
jump UnknownScript_0x18e2ab jump UnknownScript_0x18e2ab
UnknownScript_0x18e2f6: UnknownScript_0x18e2f6:
checkflag $0050 checkflag ENGINE_KURT_MAKING_BALLS
iftrue UnknownScript_0x18e3c5 iftrue UnknownScript_0x18e3c5
writetext UnknownText_0x18e7fb writetext UnknownText_0x18e7fb
keeptextopen keeptextopen
@ -231,7 +231,7 @@ UnknownScript_0x18e306:
jump UnknownScript_0x18e2ab jump UnknownScript_0x18e2ab
UnknownScript_0x18e30c: UnknownScript_0x18e30c:
checkflag $0050 checkflag ENGINE_KURT_MAKING_BALLS
iftrue UnknownScript_0x18e3c5 iftrue UnknownScript_0x18e3c5
writetext UnknownText_0x18e7fb writetext UnknownText_0x18e7fb
keeptextopen keeptextopen
@ -242,7 +242,7 @@ UnknownScript_0x18e31c:
jump UnknownScript_0x18e2ab jump UnknownScript_0x18e2ab
UnknownScript_0x18e322: UnknownScript_0x18e322:
checkflag $0050 checkflag ENGINE_KURT_MAKING_BALLS
iftrue UnknownScript_0x18e3c5 iftrue UnknownScript_0x18e3c5
writetext UnknownText_0x18e7fb writetext UnknownText_0x18e7fb
keeptextopen keeptextopen
@ -253,7 +253,7 @@ UnknownScript_0x18e332:
jump UnknownScript_0x18e2ab jump UnknownScript_0x18e2ab
UnknownScript_0x18e338: UnknownScript_0x18e338:
checkflag $0050 checkflag ENGINE_KURT_MAKING_BALLS
iftrue UnknownScript_0x18e3c5 iftrue UnknownScript_0x18e3c5
writetext UnknownText_0x18e7fb writetext UnknownText_0x18e7fb
keeptextopen keeptextopen
@ -264,20 +264,20 @@ UnknownScript_0x18e348:
jump UnknownScript_0x18e2ab jump UnknownScript_0x18e2ab
UnknownScript_0x18e34e: UnknownScript_0x18e34e:
checkevent $00bf checkevent EVENT_GAVE_GS_BALL_TO_KURT
iftrue UnknownScript_0x18e368 iftrue UnknownScript_0x18e368
checkitem GS_BALL checkitem GS_BALL
iffalse UnknownScript_0x18e202 iffalse UnknownScript_0x18e202
writetext UnknownText_0x18e8ab writetext UnknownText_0x18e8ab
closetext closetext
loadmovesprites loadmovesprites
setevent $00bf setevent EVENT_GAVE_GS_BALL_TO_KURT
takeitem GS_BALL, 1 takeitem GS_BALL, 1
setflag $0050 setflag ENGINE_KURT_MAKING_BALLS
end end
UnknownScript_0x18e368: UnknownScript_0x18e368:
checkflag $0050 checkflag ENGINE_KURT_MAKING_BALLS
iffalse UnknownScript_0x18e378 iffalse UnknownScript_0x18e378
writetext UnknownText_0x18e934 writetext UnknownText_0x18e934
closetext closetext
@ -290,9 +290,9 @@ UnknownScript_0x18e378:
writetext UnknownText_0x18e95c writetext UnknownText_0x18e95c
closetext closetext
loadmovesprites loadmovesprites
setevent $00c0 setevent EVENT_FOREST_IS_RESTLESS
clearevent EVENT_CAN_GIVE_GS_BALL_TO_KURT clearevent EVENT_CAN_GIVE_GS_BALL_TO_KURT
clearevent $00bf clearevent EVENT_GAVE_GS_BALL_TO_KURT
special Functionc48f special Functionc48f
pause 20 pause 20
showemote $0, $2, 30 showemote $0, $2, 30
@ -319,10 +319,10 @@ UnknownScript_0x18e3ac:
KurtScript_0x18e3bd: KurtScript_0x18e3bd:
faceplayer faceplayer
loadfont loadfont
checkevent $00bf checkevent EVENT_GAVE_GS_BALL_TO_KURT
iftrue UnknownScript_0x18e3e0 iftrue UnknownScript_0x18e3e0
UnknownScript_0x18e3c5: UnknownScript_0x18e3c5:
checkevent $00bb checkevent EVENT_BUGGING_KURT_TOO_MUCH
iffalse UnknownScript_0x18e3d4 iffalse UnknownScript_0x18e3d4
writetext UnknownText_0x18e7d8 writetext UnknownText_0x18e7d8
closetext closetext
@ -335,7 +335,7 @@ UnknownScript_0x18e3d4:
closetext closetext
loadmovesprites loadmovesprites
spriteface $5, UP spriteface $5, UP
setevent $00bb setevent EVENT_BUGGING_KURT_TOO_MUCH
end end
UnknownScript_0x18e3e0: UnknownScript_0x18e3e0:
@ -353,7 +353,7 @@ KurtsGranddaughter1:
iftrue KurtsGranddaughter2Subscript iftrue KurtsGranddaughter2Subscript
checkevent $0001 checkevent $0001
iftrue KurtsGranddaughterFunScript iftrue KurtsGranddaughterFunScript
checkevent $00c0 checkevent EVENT_FOREST_IS_RESTLESS
iftrue .Lonely iftrue .Lonely
checkevent $0030 checkevent $0030
iftrue .Dad iftrue .Dad
@ -392,7 +392,7 @@ KurtsGranddaughter2:
faceplayer faceplayer
KurtsGranddaughter2Subscript: KurtsGranddaughter2Subscript:
loadfont loadfont
checkevent $00bf checkevent EVENT_GAVE_GS_BALL_TO_KURT
iftrue .GSBall iftrue .GSBall
writetext KurtsGranddaughterHelpText writetext KurtsGranddaughterHelpText
closetext closetext

View File

@ -17,7 +17,7 @@ SuperNerdScript_0x7ee69:
GentlemanScript_0x7ee6c: GentlemanScript_0x7ee6c:
faceplayer faceplayer
loadfont loadfont
checkflag $0003 checkflag ENGINE_EXPN_CARD
iftrue .UnknownScript_0x7ee8e iftrue .UnknownScript_0x7ee8e
checkevent EVENT_RETURNED_MACHINE_PART checkevent EVENT_RETURNED_MACHINE_PART
iftrue .UnknownScript_0x7ee80 iftrue .UnknownScript_0x7ee80
@ -31,7 +31,7 @@ GentlemanScript_0x7ee6c:
keeptextopen keeptextopen
stringtotext .expncardname, $1 stringtotext .expncardname, $1
scall .UnknownScript_0x7ee94 scall .UnknownScript_0x7ee94
setflag $0003 setflag ENGINE_EXPN_CARD
.UnknownScript_0x7ee8e .UnknownScript_0x7ee8e
writetext UnknownText_0x7f141 writetext UnknownText_0x7f141
closetext closetext
@ -48,7 +48,7 @@ GentlemanScript_0x7ee6c:
SuperNerdScript_0x7eea2: SuperNerdScript_0x7eea2:
faceplayer faceplayer
loadfont loadfont
checkflag $0003 checkflag ENGINE_EXPN_CARD
iftrue UnknownScript_0x7eeb0 iftrue UnknownScript_0x7eeb0
writetext UnknownText_0x7f193 writetext UnknownText_0x7f193
closetext closetext

View File

@ -11,7 +11,7 @@ BlackBeltScript_0x19997f:
TeacherScript_0x199982: TeacherScript_0x199982:
faceplayer faceplayer
loadfont loadfont
checkflag $0013 checkflag ENGINE_BIKE_SHOP_CALL_ENABLED
iftrue UnknownScript_0x199990 iftrue UnknownScript_0x199990
writetext UnknownText_0x199a0e writetext UnknownText_0x199a0e
closetext closetext

View File

@ -28,7 +28,7 @@ RockerScript_0x9d278:
end end
UnknownScript_0x9d2a4: UnknownScript_0x9d2a4:
checkflag $0055 checkflag ENGINE_SHUCKLE_GIVEN
iffalse UnknownScript_0x9d2bc iffalse UnknownScript_0x9d2bc
writetext UnknownText_0x9d3ed writetext UnknownText_0x9d3ed
closetext closetext

View File

@ -26,7 +26,7 @@ UnknownScript_0x77097:
return return
UnknownScript_0x7709a: UnknownScript_0x7709a:
checkflag $0058 checkflag ENGINE_MT_MOON_SQUARE_CLEFAIRY
iftrue UnknownScript_0x77117 iftrue UnknownScript_0x77117
checkcode VAR_WEEKDAY checkcode VAR_WEEKDAY
if_not_equal MONDAY, UnknownScript_0x77117 if_not_equal MONDAY, UnknownScript_0x77117
@ -69,7 +69,7 @@ UnknownScript_0x7709a:
disappear $3 disappear $3
stopfollow stopfollow
clearevent $00ec clearevent $00ec
setflag $0058 setflag ENGINE_MT_MOON_SQUARE_CLEFAIRY
end end
UnknownScript_0x77117: UnknownScript_0x77117:

View File

@ -92,7 +92,7 @@ UnknownScript_0x196ec9:
writetext UnknownText_0x1973cc writetext UnknownText_0x1973cc
playsound SFX_ITEM playsound SFX_ITEM
waitbutton waitbutton
setflag $000b setflag ENGINE_POKEDEX
writetext UnknownText_0x1973de writetext UnknownText_0x1973de
closetext closetext
loadmovesprites loadmovesprites

View File

@ -244,11 +244,11 @@ PokefanfBeverly1Script:
iftrue UnknownScript_0x5c19b iftrue UnknownScript_0x5c19b
checkpoke MARILL checkpoke MARILL
iffalse UnknownScript_0x5c189 iffalse UnknownScript_0x5c189
checkevent EVENT_SHOWED_BEVERLY_MARILL checkevent EVENT_BEVERLY_ASKED_FOR_PHONE_NUMBER
iftrue UnknownScript_0x5c160 iftrue UnknownScript_0x5c160
writetext UnknownText_0x5c5bd writetext UnknownText_0x5c5bd
keeptextopen keeptextopen
setevent EVENT_SHOWED_BEVERLY_MARILL setevent EVENT_BEVERLY_ASKED_FOR_PHONE_NUMBER
scall UnknownScript_0x5c18f scall UnknownScript_0x5c18f
jump UnknownScript_0x5c163 jump UnknownScript_0x5c163

View File

@ -10,11 +10,11 @@ JasmineScript_0x60b91:
loadfont loadfont
checkitem SECRETPOTION checkitem SECRETPOTION
iftrue UnknownScript_0x60bab iftrue UnknownScript_0x60bab
checkevent $0037 checkevent EVENT_JASMINE_EXPLAINED_AMPHYS_SICKNESS
iftrue UnknownScript_0x60ba5 iftrue UnknownScript_0x60ba5
writetext UnknownText_0x60c81 writetext UnknownText_0x60c81
keeptextopen keeptextopen
setevent $0037 setevent EVENT_JASMINE_EXPLAINED_AMPHYS_SICKNESS
UnknownScript_0x60ba5: UnknownScript_0x60ba5:
writetext UnknownText_0x60d64 writetext UnknownText_0x60d64
closetext closetext

View File

@ -295,9 +295,9 @@ UnknownScript_0x192a25:
end end
LinkReceptionistScript_0x192a2d: LinkReceptionistScript_0x192a2d:
checkevent $0712 checkevent EVENT_MET_BILL
iftrue UnknownScript_0x192a25 iftrue UnknownScript_0x192a25
checkflag $0053 checkflag ENGINE_TIME_CAPSULE
iftrue UnknownScript_0x192a25 iftrue UnknownScript_0x192a25
special Function29cfa special Function29cfa
faceplayer faceplayer
@ -410,7 +410,7 @@ UnknownScript_0x192af7:
end end
UnknownScript_0x192b04: UnknownScript_0x192b04:
checkflag $0063 checkflag ENGINE_PLAYER_IS_FEMALE
iftrue UnknownScript_0x192b12 iftrue UnknownScript_0x192b12
applymovement2 MovementData_0x192cca applymovement2 MovementData_0x192cca
applymovement $0, MovementData_0x192cde applymovement $0, MovementData_0x192cde
@ -434,7 +434,7 @@ UnknownScript_0x192b12:
writebyte $80 writebyte $80
special Functionc225 special Functionc225
applymovement $0, MovementData_0x192d1c applymovement $0, MovementData_0x192d1c
setflag $009f setflag ENGINE_KRIS_IN_CABLE_CLUB
special Functione4a special Functione4a
loadfont loadfont
writetext UnknownText_0x19329a writetext UnknownText_0x19329a
@ -445,7 +445,7 @@ UnknownScript_0x192b12:
end end
UnknownScript_0x192b50: UnknownScript_0x192b50:
checkflag $009f checkflag ENGINE_KRIS_IN_CABLE_CLUB
iftrue UnknownScript_0x192b63 iftrue UnknownScript_0x192b63
applymovement $2, MovementData_0x192d04 applymovement $2, MovementData_0x192d04
applymovement $0, MovementData_0x192cf5 applymovement $0, MovementData_0x192cf5
@ -455,7 +455,7 @@ UnknownScript_0x192b50:
UnknownScript_0x192b63: UnknownScript_0x192b63:
applymovement $2, MovementData_0x192d04 applymovement $2, MovementData_0x192d04
applymovement $0, MovementData_0x192d28 applymovement $0, MovementData_0x192d28
clearflag $009f clearflag ENGINE_KRIS_IN_CABLE_CLUB
playsound SFX_TINGLE playsound SFX_TINGLE
applymovement $0, MovementData_0x192d17 applymovement $0, MovementData_0x192d17
writebyte $90 writebyte $90
@ -467,7 +467,7 @@ UnknownScript_0x192b63:
end end
UnknownScript_0x192b8a: UnknownScript_0x192b8a:
checkflag $009f checkflag ENGINE_KRIS_IN_CABLE_CLUB
iftrue UnknownScript_0x192b9d iftrue UnknownScript_0x192b9d
applymovement $3, MovementData_0x192d04 applymovement $3, MovementData_0x192d04
applymovement $0, MovementData_0x192cf5 applymovement $0, MovementData_0x192cf5
@ -477,7 +477,7 @@ UnknownScript_0x192b8a:
UnknownScript_0x192b9d: UnknownScript_0x192b9d:
applymovement $3, MovementData_0x192d04 applymovement $3, MovementData_0x192d04
applymovement $0, MovementData_0x192d28 applymovement $0, MovementData_0x192d28
clearflag $009f clearflag ENGINE_KRIS_IN_CABLE_CLUB
playsound SFX_TINGLE playsound SFX_TINGLE
applymovement $0, MovementData_0x192d17 applymovement $0, MovementData_0x192d17
writebyte $90 writebyte $90
@ -489,7 +489,7 @@ UnknownScript_0x192b9d:
end end
UnknownScript_0x192bc4: UnknownScript_0x192bc4:
checkflag $0063 checkflag ENGINE_PLAYER_IS_FEMALE
iftrue UnknownScript_0x192bec iftrue UnknownScript_0x192bec
checkcode VAR_FACING checkcode VAR_FACING
if_equal $2, UnknownScript_0x192bdc if_equal $2, UnknownScript_0x192bdc
@ -543,7 +543,7 @@ UnknownScript_0x192c20:
special Functionc225 special Functionc225
applymovement $0, MovementData_0x192d22 applymovement $0, MovementData_0x192d22
faceperson $0, $4 faceperson $0, $4
setflag $009f setflag ENGINE_KRIS_IN_CABLE_CLUB
special Functione4a special Functione4a
loadfont loadfont
writetext UnknownText_0x19329a writetext UnknownText_0x19329a
@ -555,7 +555,7 @@ UnknownScript_0x192c20:
UnknownScript_0x192c4e: UnknownScript_0x192c4e:
special Function29c92 special Function29c92
checkflag $009f checkflag ENGINE_KRIS_IN_CABLE_CLUB
iftrue UnknownScript_0x192c66 iftrue UnknownScript_0x192c66
applymovement $4, MovementData_0x192d08 applymovement $4, MovementData_0x192d08
applymovement $0, MovementData_0x192cf9 applymovement $0, MovementData_0x192cf9
@ -565,7 +565,7 @@ UnknownScript_0x192c4e:
UnknownScript_0x192c66: UnknownScript_0x192c66:
applymovement $4, MovementData_0x192d08 applymovement $4, MovementData_0x192d08
applymovement $0, MovementData_0x192cfc applymovement $0, MovementData_0x192cfc
clearflag $009f clearflag ENGINE_KRIS_IN_CABLE_CLUB
playsound SFX_TINGLE playsound SFX_TINGLE
applymovement $0, MovementData_0x192d17 applymovement $0, MovementData_0x192d17
writebyte $90 writebyte $90

View File

@ -8,7 +8,7 @@ RadioTower1F_MapScriptHeader:
ReceptionistScript_0x5cd29: ReceptionistScript_0x5cd29:
faceplayer faceplayer
loadfont loadfont
checkflag $0013 checkflag ENGINE_BIKE_SHOP_CALL_ENABLED
iftrue UnknownScript_0x5cd37 iftrue UnknownScript_0x5cd37
writetext UnknownText_0x5ce77 writetext UnknownText_0x5ce77
closetext closetext
@ -31,8 +31,8 @@ GentlemanScript_0x5cd3d:
special Functionc422 special Functionc422
UnknownScript_0x5cd4c: UnknownScript_0x5cd4c:
special Function4d9d3 special Function4d9d3
checkflag $004e checkflag ENGINE_LUCKY_NUMBER_SHOW
iftrue UnknownScript_0x5cd84 iftrue .GameOver
writetext UnknownText_0x5cf3a writetext UnknownText_0x5cf3a
keeptextopen keeptextopen
loadmovesprites loadmovesprites
@ -49,51 +49,51 @@ UnknownScript_0x5cd4c:
loadmovesprites loadmovesprites
applymovement $6, MovementData_0x5ce74 applymovement $6, MovementData_0x5ce74
loadfont loadfont
if_equal $1, UnknownScript_0x5cd8a if_equal 1, .FirstPlace
if_equal $2, UnknownScript_0x5cd9f if_equal 2, .SecondPlace
if_equal $3, UnknownScript_0x5cdb4 if_equal 3, .ThirdPlace
jump UnknownScript_0x5cdc9 jump .NoPrize
UnknownScript_0x5cd84: .GameOver
writetext UnknownText_0x5cf7e writetext UnknownText_0x5cf7e
closetext closetext
loadmovesprites loadmovesprites
end end
UnknownScript_0x5cd8a: .FirstPlace
writetext UnknownText_0x5cfb5 writetext UnknownText_0x5cfb5
playsound SFX_1ST_PLACE playsound SFX_1ST_PLACE
waitbutton waitbutton
keeptextopen keeptextopen
giveitem MASTER_BALL, $1 giveitem MASTER_BALL, 1
iffalse UnknownScript_0x5cdcf iffalse UnknownScript_0x5cdcf
itemnotify itemnotify
setflag $004e setflag ENGINE_LUCKY_NUMBER_SHOW
jump UnknownScript_0x5cd84 jump .GameOver
UnknownScript_0x5cd9f: .SecondPlace
writetext UnknownText_0x5d023 writetext UnknownText_0x5d023
playsound SFX_2ND_PLACE playsound SFX_2ND_PLACE
waitbutton waitbutton
keeptextopen keeptextopen
giveitem EXP_SHARE, $1 giveitem EXP_SHARE, 1
iffalse UnknownScript_0x5cdcf iffalse UnknownScript_0x5cdcf
itemnotify itemnotify
setflag $004e setflag ENGINE_LUCKY_NUMBER_SHOW
jump UnknownScript_0x5cd84 jump .GameOver
UnknownScript_0x5cdb4: .ThirdPlace
writetext UnknownText_0x5d076 writetext UnknownText_0x5d076
playsound SFX_3RD_PLACE playsound SFX_3RD_PLACE
waitbutton waitbutton
keeptextopen keeptextopen
giveitem PP_UP, $1 giveitem PP_UP, 1
iffalse UnknownScript_0x5cdcf iffalse UnknownScript_0x5cdcf
itemnotify itemnotify
setflag $004e setflag ENGINE_LUCKY_NUMBER_SHOW
jump UnknownScript_0x5cd84 jump .GameOver
UnknownScript_0x5cdc9: .NoPrize
writetext UnknownText_0x5d0c0 writetext UnknownText_0x5d0c0
closetext closetext
loadmovesprites loadmovesprites
@ -108,7 +108,7 @@ UnknownScript_0x5cdcf:
CooltrainerFScript_0x5cdd5: CooltrainerFScript_0x5cdd5:
faceplayer faceplayer
loadfont loadfont
checkflag $0000 checkflag ENGINE_RADIO_CARD
iftrue UnknownScript_0x5ce2d iftrue UnknownScript_0x5ce2d
writetext UnknownText_0x5d12d writetext UnknownText_0x5d12d
yesorno yesorno
@ -144,7 +144,7 @@ CooltrainerFScript_0x5cdd5:
scall UnknownScript_0x5ce3e scall UnknownScript_0x5ce3e
writetext UnknownText_0x5d3c0 writetext UnknownText_0x5d3c0
keeptextopen keeptextopen
setflag $0000 setflag ENGINE_RADIO_CARD
UnknownScript_0x5ce2d: UnknownScript_0x5ce2d:
writetext UnknownText_0x5d3e5 writetext UnknownText_0x5d3e5
closetext closetext

View File

@ -14,7 +14,7 @@ SuperNerdScript_0x5d6fe:
TeacherScript_0x5d701: TeacherScript_0x5d701:
faceplayer faceplayer
loadfont loadfont
checkflag $0013 checkflag ENGINE_BIKE_SHOP_CALL_ENABLED
iftrue UnknownScript_0x5d70f iftrue UnknownScript_0x5d70f
writetext UnknownText_0x5d956 writetext UnknownText_0x5d956
closetext closetext
@ -152,15 +152,15 @@ GruntF2Script:
Buena: Buena:
faceplayer faceplayer
loadfont loadfont
checkflag $0013 checkflag ENGINE_BIKE_SHOP_CALL_ENABLED
iftrue UnknownScript_0x5d865 iftrue UnknownScript_0x5d865
checkevent EVENT_MET_BUENA checkevent EVENT_MET_BUENA
iffalse UnknownScript_0x5d800 iffalse UnknownScript_0x5d800
checkflag $0060 checkflag ENGINE_60
iftrue UnknownScript_0x5d82f iftrue UnknownScript_0x5d82f
checkcode VAR_HOUR checkcode VAR_HOUR
if_less_than $12, UnknownScript_0x5d893 if_less_than $12, UnknownScript_0x5d893
checkflag $005f checkflag ENGINE_5F
iffalse UnknownScript_0x5d80a iffalse UnknownScript_0x5d80a
checkitem BLUE_CARD checkitem BLUE_CARD
iffalse UnknownScript_0x5d86b iffalse UnknownScript_0x5d86b
@ -197,7 +197,7 @@ UnknownScript_0x5d7be:
writevarcode VAR_BLUECARDBALANCE writevarcode VAR_BLUECARDBALANCE
waitbutton waitbutton
playsound SFX_TRANSACTION playsound SFX_TRANSACTION
setflag $0060 setflag ENGINE_60
pause 20 pause 20
spriteface $b, RIGHT spriteface $b, RIGHT
loadfont loadfont
@ -252,7 +252,7 @@ UnknownScript_0x5d83f:
end end
UnknownScript_0x5d845: UnknownScript_0x5d845:
setflag $0060 setflag ENGINE_60
loadfont loadfont
writetext UnknownText_0x5e01c writetext UnknownText_0x5e01c
closetext closetext

View File

@ -14,7 +14,7 @@ UnknownScript_0x1ad318:
if_less_than $5, UnknownScript_0x1ad328 if_less_than $5, UnknownScript_0x1ad328
checkcode VAR_XCOORD checkcode VAR_XCOORD
if_greater_than $d, UnknownScript_0x1ad328 if_greater_than $d, UnknownScript_0x1ad328
setflag $0019 setflag ENGINE_ALWAYS_ON_BIKE
return return
UnknownScript_0x1ad328: UnknownScript_0x1ad328:

View File

@ -10,8 +10,8 @@ Route17_MapScriptHeader:
dbw 5, UnknownScript_0x1ad0ab dbw 5, UnknownScript_0x1ad0ab
UnknownScript_0x1ad0ab: UnknownScript_0x1ad0ab:
setflag $0019 setflag ENGINE_ALWAYS_ON_BIKE
setflag $001a setflag ENGINE_DOWNHILL
return return
TrainerBikerCharles: TrainerBikerCharles:

View File

@ -7,18 +7,18 @@ Route19_MapScriptHeader:
; callbacks ; callbacks
dbw 1, UnknownScript_0x19e9de dbw 1, .ClearRocks
UnknownScript_0x19e9de: .ClearRocks
checkevent $00d7 checkevent EVENT_CINNABAR_ROCKS_CLEARED
iftrue UnknownScript_0x19e9fc iftrue .Done
changeblock $6, $6, $7a changeblock $6, $6, $7a
changeblock $8, $6, $7a changeblock $8, $6, $7a
changeblock $a, $6, $7a changeblock $a, $6, $7a
changeblock $c, $8, $7a changeblock $c, $8, $7a
changeblock $4, $8, $7a changeblock $4, $8, $7a
changeblock $a, $a, $7a changeblock $a, $a, $7a
UnknownScript_0x19e9fc: .Done
return return
TrainerSwimmerfDawn: TrainerSwimmerfDawn:
@ -132,7 +132,7 @@ SwimmermTuckerScript:
FisherScript_0x19ea4d: FisherScript_0x19ea4d:
faceplayer faceplayer
loadfont loadfont
checkevent $00d7 checkevent EVENT_CINNABAR_ROCKS_CLEARED
iftrue UnknownScript_0x19ea5b iftrue UnknownScript_0x19ea5b
writetext UnknownText_0x19ecaf writetext UnknownText_0x19ecaf
closetext closetext
@ -148,7 +148,7 @@ UnknownScript_0x19ea5b:
FisherScript_0x19ea61: FisherScript_0x19ea61:
faceplayer faceplayer
loadfont loadfont
checkevent $00d7 checkevent EVENT_CINNABAR_ROCKS_CLEARED
iftrue UnknownScript_0x19ea6f iftrue UnknownScript_0x19ea6f
writetext UnknownText_0x19ed45 writetext UnknownText_0x19ed45
closetext closetext

View File

@ -8,14 +8,14 @@ Route19FuchsiaGate_MapScriptHeader:
OfficerScript_0x1ab3f6: OfficerScript_0x1ab3f6:
faceplayer faceplayer
loadfont loadfont
checkevent $00d7 checkevent EVENT_CINNABAR_ROCKS_CLEARED
iftrue UnknownScript_0x1ab404 iftrue .RocksCleared
writetext UnknownText_0x1ab40a writetext UnknownText_0x1ab40a
closetext closetext
loadmovesprites loadmovesprites
end end
UnknownScript_0x1ab404: .RocksCleared
writetext UnknownText_0x1ab48a writetext UnknownText_0x1ab48a
closetext closetext
loadmovesprites loadmovesprites

View File

@ -7,10 +7,10 @@ Route20_MapScriptHeader:
; callbacks ; callbacks
dbw 5, UnknownScript_0x1acd25 dbw 5, .ClearRocks
UnknownScript_0x1acd25: .ClearRocks
setevent $00d7 setevent EVENT_CINNABAR_ROCKS_CLEARED
return return
TrainerSwimmerfNicole: TrainerSwimmerfNicole:

View File

@ -20,7 +20,7 @@ UnknownScript_0x1a0f5a:
end end
TuscanyCallback: TuscanyCallback:
checkflag $001b checkflag ENGINE_ZEPHYRBADGE
iftrue .DoesTuscanyAppear iftrue .DoesTuscanyAppear
.TuscanyDisappears .TuscanyDisappears

View File

@ -8,17 +8,17 @@ Route2NuggetSpeechHouse_MapScriptHeader:
FisherScript_0x9b847: FisherScript_0x9b847:
faceplayer faceplayer
loadfont loadfont
checkevent $00c8 checkevent EVENT_GOT_NUGGET_FROM_GUY
iftrue UnknownScript_0x9b85c iftrue .GotItem
writetext UnknownText_0x9b865 writetext UnknownText_0x9b865
keeptextopen keeptextopen
verbosegiveitem NUGGET, 1 verbosegiveitem NUGGET, 1
iffalse UnknownScript_0x9b860 iffalse .Done
setevent $00c8 setevent EVENT_GOT_NUGGET_FROM_GUY
UnknownScript_0x9b85c: .GotItem
writetext UnknownText_0x9b8e5 writetext UnknownText_0x9b8e5
closetext closetext
UnknownScript_0x9b860: .Done
loadmovesprites loadmovesprites
end end

View File

@ -39,7 +39,7 @@ UnknownScript_0x190470:
loadfont loadfont
checkevent EVENT_GOT_MIRACLE_SEED_IN_ROUTE_32 checkevent EVENT_GOT_MIRACLE_SEED_IN_ROUTE_32
iftrue UnknownScript_0x1904a5 iftrue UnknownScript_0x1904a5
checkflag $001b checkflag ENGINE_ZEPHYRBADGE
iffalse UnknownScript_0x19049f iffalse UnknownScript_0x19049f
checkevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE checkevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
iftrue UnknownScript_0x19048f iftrue UnknownScript_0x19048f
@ -211,7 +211,7 @@ FisherRalph1Script:
loadfont loadfont
checkflag ENGINE_RALPH checkflag ENGINE_RALPH
iftrue UnknownScript_0x19057d iftrue UnknownScript_0x19057d
checkflag $0052 checkflag ENGINE_SPECIAL_WILDDATA
iftrue UnknownScript_0x1905f1 iftrue UnknownScript_0x1905f1
checkcellnum $11 checkcellnum $11
iftrue UnknownScript_0x190603 iftrue UnknownScript_0x190603

View File

@ -33,7 +33,7 @@ HikerAnthony2Script:
loadfont loadfont
checkflag ENGINE_ANTHONY checkflag ENGINE_ANTHONY
iftrue UnknownScript_0x1ac051 iftrue UnknownScript_0x1ac051
checkflag $00a0 checkflag ENGINE_DUNSPARCE_SWARM
iftrue UnknownScript_0x1ac0c5 iftrue UnknownScript_0x1ac0c5
checkcellnum $13 checkcellnum $13
iftrue UnknownScript_0x1ac0d7 iftrue UnknownScript_0x1ac0d7

View File

@ -10,7 +10,7 @@ Route34_MapScriptHeader:
dbw 2, UnknownScript_0x78005 dbw 2, UnknownScript_0x78005
UnknownScript_0x78005: UnknownScript_0x78005:
checkflag $0005 checkflag ENGINE_DAYCARE_MONS_ARE_COMPATIBLE
iftrue UnknownScript_0x78014 iftrue UnknownScript_0x78014
clearevent $06e5 clearevent $06e5
setevent $06e6 setevent $06e6
@ -22,7 +22,7 @@ UnknownScript_0x78014:
jump UnknownScript_0x7801d jump UnknownScript_0x7801d
UnknownScript_0x7801d: UnknownScript_0x7801d:
checkflag $0006 checkflag ENGINE_DAYCARE_MAN_HAS_MON
iffalse UnknownScript_0x78029 iffalse UnknownScript_0x78029
clearevent $06e7 clearevent $06e7
jump UnknownScript_0x7802f jump UnknownScript_0x7802f
@ -32,7 +32,7 @@ UnknownScript_0x78029:
jump UnknownScript_0x7802f jump UnknownScript_0x7802f
UnknownScript_0x7802f: UnknownScript_0x7802f:
checkflag $0007 checkflag ENGINE_DAYCARE_LADY_HAS_MON
iffalse UnknownScript_0x78039 iffalse UnknownScript_0x78039
clearevent $06e8 clearevent $06e8
return return
@ -48,7 +48,7 @@ GrampsScript_0x7803d:
closetext closetext
loadmovesprites loadmovesprites
if_equal $1, UnknownScript_0x7805a if_equal $1, UnknownScript_0x7805a
clearflag $0005 clearflag ENGINE_DAYCARE_MONS_ARE_COMPATIBLE
checkcode VAR_FACING checkcode VAR_FACING
if_equal $3, UnknownScript_0x7805b if_equal $3, UnknownScript_0x7805b
applymovement $8, MovementData_0x78333 applymovement $8, MovementData_0x78333
@ -100,7 +100,7 @@ CamperTodd1Script:
loadfont loadfont
checkflag ENGINE_TODD checkflag ENGINE_TODD
iftrue UnknownScript_0x780bd iftrue UnknownScript_0x780bd
checkflag $0061 checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
iftrue UnknownScript_0x78131 iftrue UnknownScript_0x78131
checkcellnum $14 checkcellnum $14
iftrue UnknownScript_0x78143 iftrue UnknownScript_0x78143

View File

@ -10,7 +10,7 @@ Route34IlexForestGate_MapScriptHeader:
dbw 2, UnknownScript_0x62d2d dbw 2, UnknownScript_0x62d2d
UnknownScript_0x62d2d: UnknownScript_0x62d2d:
checkevent $00c0 checkevent EVENT_FOREST_IS_RESTLESS
iffalse UnknownScript_0x62d38 iffalse UnknownScript_0x62d38
disappear $2 disappear $2
appear $5 appear $5
@ -22,7 +22,7 @@ UnknownScript_0x62d38:
return return
UnknownScript_0x62d3d: UnknownScript_0x62d3d:
checkevent $00c0 checkevent EVENT_FOREST_IS_RESTLESS
iffalse UnknownScript_0x62d62 iffalse UnknownScript_0x62d62
showemote $0, $5, 20 showemote $0, $5, 20
spriteface $5, LEFT spriteface $5, LEFT
@ -42,7 +42,7 @@ UnknownScript_0x62d62:
TeacherScript_0x62d63: TeacherScript_0x62d63:
faceplayer faceplayer
loadfont loadfont
checkevent $00c0 checkevent EVENT_FOREST_IS_RESTLESS
iftrue UnknownScript_0x62d84 iftrue UnknownScript_0x62d84
checkevent EVENT_GOT_TM12_SWEET_SCENT checkevent EVENT_GOT_TM12_SWEET_SCENT
iftrue UnknownScript_0x62d7e iftrue UnknownScript_0x62d7e

View File

@ -236,7 +236,7 @@ Bug_catcherArnie1Script:
loadfont loadfont
checkflag ENGINE_ARNIE checkflag ENGINE_ARNIE
iftrue UnknownScript_0x19c9bb iftrue UnknownScript_0x19c9bb
checkflag $00a1 checkflag ENGINE_YANMA_SWARM
iftrue UnknownScript_0x19ca2f iftrue UnknownScript_0x19ca2f
checkcellnum $17 checkcellnum $17
iftrue UnknownScript_0x19c90f iftrue UnknownScript_0x19c90f

View File

@ -27,7 +27,7 @@ UnknownScript_0x6a19f:
end end
UnknownScript_0x6a1a3: UnknownScript_0x6a1a3:
checkflag $0011 checkflag ENGINE_BUG_CONTEST_TIMER
iftrue UnknownScript_0x6a1ac iftrue UnknownScript_0x6a1ac
dotrigger $0 dotrigger $0
return return
@ -41,7 +41,7 @@ UnknownScript_0x6a1af:
if_equal TUESDAY, UnknownScript_0x6a1ca if_equal TUESDAY, UnknownScript_0x6a1ca
if_equal THURSDAY, UnknownScript_0x6a1ca if_equal THURSDAY, UnknownScript_0x6a1ca
if_equal SATURDAY, UnknownScript_0x6a1ca if_equal SATURDAY, UnknownScript_0x6a1ca
checkflag $0011 checkflag ENGINE_BUG_CONTEST_TIMER
iftrue UnknownScript_0x6a1ac iftrue UnknownScript_0x6a1ac
disappear $2 disappear $2
appear $3 appear $3
@ -88,7 +88,7 @@ OfficerScript_0x6a204:
if_equal FRIDAY, UnknownScript_0x6a2c7 if_equal FRIDAY, UnknownScript_0x6a2c7
faceplayer faceplayer
loadfont loadfont
checkflag $0051 checkflag ENGINE_51
iftrue UnknownScript_0x6a2c1 iftrue UnknownScript_0x6a2c1
scall UnknownScript_0x6a2de scall UnknownScript_0x6a2de
writetext UnknownText_0x6a2eb writetext UnknownText_0x6a2eb
@ -99,7 +99,7 @@ OfficerScript_0x6a204:
special Function13a12 special Function13a12
clearevent $0308 clearevent $0308
UnknownScript_0x6a234: UnknownScript_0x6a234:
setflag $0011 setflag ENGINE_BUG_CONTEST_TIMER
special PlayMapMusic special PlayMapMusic
writetext UnknownText_0x6a39d writetext UnknownText_0x6a39d
keeptextopen keeptextopen
@ -193,7 +193,7 @@ UnknownScript_0x6a2c7:
OfficerScript_0x6a2ca: OfficerScript_0x6a2ca:
faceplayer faceplayer
loadfont loadfont
checkflag $0051 checkflag ENGINE_51
iftrue UnknownScript_0x6a2c1 iftrue UnknownScript_0x6a2c1
writetext UnknownText_0x6a894 writetext UnknownText_0x6a894
closetext closetext

View File

@ -27,7 +27,7 @@ UnknownScript_0x6ab13:
end end
UnknownScript_0x6ab17: UnknownScript_0x6ab17:
checkflag $0011 checkflag ENGINE_BUG_CONTEST_TIMER
iftrue UnknownScript_0x6ab20 iftrue UnknownScript_0x6ab20
dotrigger $0 dotrigger $0
return return
@ -43,7 +43,7 @@ UnknownScript_0x6ab23:
if_equal TUESDAY, UnknownScript_0x6ab42 if_equal TUESDAY, UnknownScript_0x6ab42
if_equal THURSDAY, UnknownScript_0x6ab42 if_equal THURSDAY, UnknownScript_0x6ab42
if_equal SATURDAY, UnknownScript_0x6ab42 if_equal SATURDAY, UnknownScript_0x6ab42
checkflag $0011 checkflag ENGINE_BUG_CONTEST_TIMER
iftrue UnknownScript_0x6ab42 iftrue UnknownScript_0x6ab42
disappear $2 disappear $2
appear $d appear $d
@ -140,7 +140,7 @@ OfficerScript_0x6abe0:
if_equal FRIDAY, UnknownScript_0x6acf1 if_equal FRIDAY, UnknownScript_0x6acf1
faceplayer faceplayer
loadfont loadfont
checkflag $0051 checkflag ENGINE_51
iftrue UnknownScript_0x6ac91 iftrue UnknownScript_0x6ac91
scall UnknownScript_0x6ad02 scall UnknownScript_0x6ad02
writetext UnknownText_0x6add5 writetext UnknownText_0x6add5
@ -151,7 +151,7 @@ OfficerScript_0x6abe0:
special Function13a12 special Function13a12
clearevent $0308 clearevent $0308
UnknownScript_0x6ac10: UnknownScript_0x6ac10:
setflag $0011 setflag ENGINE_BUG_CONTEST_TIMER
special PlayMapMusic special PlayMapMusic
writetext UnknownText_0x6ae87 writetext UnknownText_0x6ae87
keeptextopen keeptextopen
@ -162,7 +162,7 @@ UnknownScript_0x6ac10:
writetext UnknownText_0x6aecc writetext UnknownText_0x6aecc
closetext closetext
loadmovesprites loadmovesprites
setflag $0011 setflag ENGINE_BUG_CONTEST_TIMER
special Function135db special Function135db
spriteface $0, LEFT spriteface $0, LEFT
playsound SFX_EXIT_BUILDING playsound SFX_EXIT_BUILDING
@ -286,7 +286,7 @@ UnknownScript_0x6acf1:
OfficerScript_0x6acf4: OfficerScript_0x6acf4:
faceplayer faceplayer
loadfont loadfont
checkflag $0051 checkflag ENGINE_51
iftrue UnknownScript_0x6ac91 iftrue UnknownScript_0x6ac91
writetext UnknownText_0x6b370 writetext UnknownText_0x6b370
closetext closetext

View File

@ -113,7 +113,7 @@ SunnyScript:
keeptextopen keeptextopen
setevent EVENT_MET_SUNNY_OF_SUNDAY setevent EVENT_MET_SUNNY_OF_SUNDAY
.MetSunny .MetSunny
checkflag $0063 checkflag ENGINE_PLAYER_IS_FEMALE
iftrue .Kris iftrue .Kris
writetext SunnyGivesGiftText1 writetext SunnyGivesGiftText1
keeptextopen keeptextopen

View File

@ -63,7 +63,7 @@ MapRuinsofAlphAerodactylChamberSignpost2Script:
UnknownScript_0x58df7: UnknownScript_0x58df7:
setevent $0705 setevent $0705
setevent $02a3 setevent $02a3
setflag $002d setflag ENGINE_UNLOCKED_UNOWNS_3
domaptrigger GROUP_RUINS_OF_ALPH_INNER_CHAMBER, MAP_RUINS_OF_ALPH_INNER_CHAMBER, $1 domaptrigger GROUP_RUINS_OF_ALPH_INNER_CHAMBER, MAP_RUINS_OF_ALPH_INNER_CHAMBER, $1
earthquake 30 earthquake 30
showemote $0, $0, 15 showemote $0, $0, 15

View File

@ -64,7 +64,7 @@ MapRuinsofAlphHoOhChamberSignpost2Script:
UnknownScript_0x585ba: UnknownScript_0x585ba:
setevent $0705 setevent $0705
setevent $02a0 setevent $02a0
setflag $002e setflag ENGINE_UNLOCKED_UNOWNS_4
domaptrigger GROUP_RUINS_OF_ALPH_INNER_CHAMBER, MAP_RUINS_OF_ALPH_INNER_CHAMBER, $1 domaptrigger GROUP_RUINS_OF_ALPH_INNER_CHAMBER, MAP_RUINS_OF_ALPH_INNER_CHAMBER, $1
earthquake 30 earthquake 30
showemote $0, $0, 15 showemote $0, $0, 15

View File

@ -68,7 +68,7 @@ MapRuinsofAlphKabutoChamberSignpost2Script:
UnknownScript_0x58778: UnknownScript_0x58778:
setevent $0705 setevent $0705
setevent $02a1 setevent $02a1
setflag $002b setflag ENGINE_UNLOCKED_UNOWNS_1
setevent $074e setevent $074e
domaptrigger GROUP_RUINS_OF_ALPH_INNER_CHAMBER, MAP_RUINS_OF_ALPH_INNER_CHAMBER, $1 domaptrigger GROUP_RUINS_OF_ALPH_INNER_CHAMBER, MAP_RUINS_OF_ALPH_INNER_CHAMBER, $1
earthquake 30 earthquake 30

View File

@ -64,7 +64,7 @@ MapRuinsofAlphOmanyteChamberSignpost2Script:
UnknownScript_0x58c36: UnknownScript_0x58c36:
setevent $0705 setevent $0705
setevent $02a2 setevent $02a2
setflag $002c setflag ENGINE_UNLOCKED_UNOWNS_2
domaptrigger GROUP_RUINS_OF_ALPH_INNER_CHAMBER, MAP_RUINS_OF_ALPH_INNER_CHAMBER, $1 domaptrigger GROUP_RUINS_OF_ALPH_INNER_CHAMBER, MAP_RUINS_OF_ALPH_INNER_CHAMBER, $1
earthquake 30 earthquake 30
showemote $0, $0, 15 showemote $0, $0, 15

View File

@ -20,7 +20,7 @@ UnknownScript_0x5800e:
end end
UnknownScript_0x5800f: UnknownScript_0x5800f:
checkflag $000c checkflag ENGINE_UNOWN_DEX
iftrue UnknownScript_0x5802c iftrue UnknownScript_0x5802c
checkevent EVENT_MADE_UNOWN_APPEAR_IN_RUINS checkevent EVENT_MADE_UNOWN_APPEAR_IN_RUINS
iftrue UnknownScript_0x5801e iftrue UnknownScript_0x5801e
@ -71,12 +71,12 @@ UnknownScript_0x58044:
FisherScript_0x58061: FisherScript_0x58061:
faceplayer faceplayer
loadfont loadfont
checkevent $00bc checkevent EVENT_TALKED_TO_RUINS_COWARD
iftrue UnknownScript_0x58070 iftrue .Next
setevent $00bc setevent EVENT_TALKED_TO_RUINS_COWARD
writetext UnknownText_0x583a4 writetext UnknownText_0x583a4
keeptextopen keeptextopen
UnknownScript_0x58070: ;0x58070 .Next
writetext UnknownText_0x58420 writetext UnknownText_0x58420
closetext closetext
loadmovesprites loadmovesprites

View File

@ -50,7 +50,7 @@ UnknownScript_0x59192:
writetext UnknownText_0x592fa writetext UnknownText_0x592fa
playsound SFX_ITEM playsound SFX_ITEM
waitbutton waitbutton
setflag $000c setflag ENGINE_UNOWN_DEX
writetext UnknownText_0x59311 writetext UnknownText_0x59311
closetext closetext
loadmovesprites loadmovesprites
@ -80,7 +80,7 @@ ScientistScript_0x591e5:
loadfont loadfont
checkcode VAR_UNOWNCOUNT checkcode VAR_UNOWNCOUNT
if_equal 26, UnknownScript_0x5920b if_equal 26, UnknownScript_0x5920b
checkflag $000c checkflag ENGINE_UNOWN_DEX
iftrue UnknownScript_0x59205 iftrue UnknownScript_0x59205
checkevent EVENT_MADE_UNOWN_APPEAR_IN_RUINS checkevent EVENT_MADE_UNOWN_APPEAR_IN_RUINS
iftrue UnknownScript_0x591ff iftrue UnknownScript_0x591ff

View File

@ -29,7 +29,7 @@ UnknownScript_0x6dfef:
end end
UnknownScript_0x6dff0: UnknownScript_0x6dff0:
checkevent $0303 checkevent EVENT_OPENED_DOOR_TO_GIOVANNIS_OFFICE
iftrue UnknownScript_0x6dff7 iftrue UnknownScript_0x6dff7
return return
@ -141,7 +141,7 @@ GruntF5Script:
writetext UnknownText_0x6e611 writetext UnknownText_0x6e611
closetext closetext
loadmovesprites loadmovesprites
setevent $0301 setevent EVENT_LEARNED_SLOWPOKETAIL
end end
TrainerGruntM28: TrainerGruntM28:
@ -169,7 +169,7 @@ GruntM28Script:
writetext UnknownText_0x6e737 writetext UnknownText_0x6e737
closetext closetext
loadmovesprites loadmovesprites
setevent $0302 setevent EVENT_LEARNED_RATICATE_TAIL
end end
TrainerScientistRoss: TrainerScientistRoss:
@ -226,33 +226,32 @@ ScientistMitchScript:
loadmovesprites loadmovesprites
end end
MapTeamRocketBaseB3FSignpostPtr1: BossDoor:
dw $0303 dw EVENT_OPENED_DOOR_TO_GIOVANNIS_OFFICE
dw MapTeamRocketBaseB3FSignpost1Script dw .Script
.Script
MapTeamRocketBaseB3FSignpost1Script:
loadfont loadfont
checkevent $0301 checkevent EVENT_LEARNED_SLOWPOKETAIL
iffalse UnknownScript_0x6e105 iffalse .NeedsPassword
checkevent $0302 checkevent EVENT_LEARNED_RATICATE_TAIL
iffalse UnknownScript_0x6e105 iffalse .NeedsPassword
jump UnknownScript_0x6e10b jump .OpenSesame
UnknownScript_0x6e105: .NeedsPassword
writetext UnknownText_0x6e970 writetext UnknownText_0x6e970
closetext closetext
loadmovesprites loadmovesprites
end end
UnknownScript_0x6e10b: .OpenSesame
writetext UnknownText_0x6e9a3 writetext UnknownText_0x6e9a3
closetext closetext
playsound SFX_ENTER_DOOR playsound SFX_ENTER_DOOR
changeblock $a, $8, $7 changeblock $a, $8, $7
reloadmappart reloadmappart
loadmovesprites loadmovesprites
setevent $0303 setevent EVENT_OPENED_DOOR_TO_GIOVANNIS_OFFICE
waitbutton waitbutton
end end
@ -639,8 +638,8 @@ TeamRocketBaseB3F_MapEventHeader:
; signposts ; signposts
db 10 db 10
signpost 9, 10, $6, MapTeamRocketBaseB3FSignpostPtr1 signpost 9, 10, $6, BossDoor
signpost 9, 11, $6, MapTeamRocketBaseB3FSignpostPtr1 signpost 9, 11, $6, BossDoor
signpost 1, 10, $0, MapTeamRocketBaseB3FSignpost9Script signpost 1, 10, $0, MapTeamRocketBaseB3FSignpost9Script
signpost 1, 11, $0, MapTeamRocketBaseB3FSignpost9Script signpost 1, 11, $0, MapTeamRocketBaseB3FSignpost9Script
signpost 1, 12, $0, MapTeamRocketBaseB3FSignpost9Script signpost 1, 12, $0, MapTeamRocketBaseB3FSignpost9Script

View File

@ -14,7 +14,7 @@ UnknownScript_0x9b38a:
UnknownScript_0x9b38b: UnknownScript_0x9b38b:
spriteface $0, UP spriteface $0, UP
loadfont loadfont
checkflag $0057 checkflag ENGINE_FOUGHT_IN_TRAINER_HALL_TODAY
iftrue UnknownScript_0x9b3f7 iftrue UnknownScript_0x9b3f7
writetext UnknownText_0x9b420 writetext UnknownText_0x9b420
keeptextopen keeptextopen
@ -31,7 +31,7 @@ UnknownScript_0x9b3aa:
writetext UnknownText_0x9b487 writetext UnknownText_0x9b487
yesorno yesorno
iffalse UnknownScript_0x9b3ed iffalse UnknownScript_0x9b3ed
setflag $0057 setflag ENGINE_FOUGHT_IN_TRAINER_HALL_TODAY
writetext UnknownText_0x9b4a2 writetext UnknownText_0x9b4a2
closetext closetext
loadmovesprites loadmovesprites

View File

@ -119,9 +119,9 @@ GentlemanScript_0x7d9bf:
keeptextopen keeptextopen
verbosegiveitem CARD_KEY, 1 verbosegiveitem CARD_KEY, 1
setevent $004a setevent $004a
setevent $0304 setevent EVENT_WAREHOUSE_LAYOUT_1
clearevent $0305 clearevent EVENT_WAREHOUSE_LAYOUT_2
clearevent $0306 clearevent EVENT_WAREHOUSE_LAYOUT_3
writetext UnknownText_0x7dc5b writetext UnknownText_0x7dc5b
keeptextopen keeptextopen
UnknownScript_0x7d9de: UnknownScript_0x7d9de:

View File

@ -10,7 +10,7 @@ UnionCaveB2F_MapScriptHeader:
dbw 2, UnknownScript_0x5a30d dbw 2, UnknownScript_0x5a30d
UnknownScript_0x5a30d: UnknownScript_0x5a30d:
checkflag $0059 checkflag ENGINE_UNION_CAVE_LAPRAS
iftrue UnknownScript_0x5a319 iftrue UnknownScript_0x5a319
checkcode VAR_WEEKDAY checkcode VAR_WEEKDAY
if_equal FRIDAY, UnknownScript_0x5a31c if_equal FRIDAY, UnknownScript_0x5a31c
@ -28,7 +28,7 @@ SurfScript_0x5a31f:
loadpokedata LAPRAS, 20 loadpokedata LAPRAS, 20
startbattle startbattle
disappear $7 disappear $7
setflag $0059 setflag ENGINE_UNION_CAVE_LAPRAS
returnafterbattle returnafterbattle
end end

View File

@ -224,7 +224,7 @@ UnknownScript_0x7c140:
GrampsScript_0x7c146: GrampsScript_0x7c146:
loadfont loadfont
checkflag $0056 checkflag ENGINE_GOLDENROD_UNDERGROUND_MERCHANT_CLOSED
iftrue UnknownScript_0x7c300 iftrue UnknownScript_0x7c300
checkcode VAR_WEEKDAY checkcode VAR_WEEKDAY
if_equal MONDAY, UnknownScript_0x7c156 if_equal MONDAY, UnknownScript_0x7c156
@ -246,7 +246,7 @@ SuperNerdScript_0x7c161:
jump UnknownScript_0x7c300 jump UnknownScript_0x7c300
UnknownScript_0x7c173: UnknownScript_0x7c173:
checkflag $005a checkflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
iftrue UnknownScript_0x7c208 iftrue UnknownScript_0x7c208
special Function24ae8 special Function24ae8
writetext UnknownText_0x7c5f9 writetext UnknownText_0x7c5f9
@ -259,7 +259,7 @@ UnknownScript_0x7c173:
special Function7413 special Function7413
if_equal $0, UnknownScript_0x7c1fc if_equal $0, UnknownScript_0x7c1fc
if_equal $1, UnknownScript_0x7c1fc if_equal $1, UnknownScript_0x7c1fc
setflag $005a setflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
if_equal $2, UnknownScript_0x7c1a9 if_equal $2, UnknownScript_0x7c1a9
if_equal $3, UnknownScript_0x7c1b5 if_equal $3, UnknownScript_0x7c1b5
jump UnknownScript_0x7c1c1 jump UnknownScript_0x7c1c1
@ -329,7 +329,7 @@ SuperNerdScript_0x7c20e:
jump UnknownScript_0x7c300 jump UnknownScript_0x7c300
UnknownScript_0x7c220: UnknownScript_0x7c220:
checkflag $005a checkflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
iftrue UnknownScript_0x7c2b5 iftrue UnknownScript_0x7c2b5
special Function24ae8 special Function24ae8
writetext UnknownText_0x7c75c writetext UnknownText_0x7c75c
@ -342,7 +342,7 @@ UnknownScript_0x7c220:
special Function7418 special Function7418
if_equal $0, UnknownScript_0x7c2a9 if_equal $0, UnknownScript_0x7c2a9
if_equal $1, UnknownScript_0x7c2a9 if_equal $1, UnknownScript_0x7c2a9
setflag $005a setflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
if_equal $2, UnknownScript_0x7c256 if_equal $2, UnknownScript_0x7c256
if_equal $3, UnknownScript_0x7c262 if_equal $3, UnknownScript_0x7c262
jump UnknownScript_0x7c26e jump UnknownScript_0x7c26e