Split more files from event_scripts.s

This commit is contained in:
GriffinR
2020-01-09 13:25:10 -05:00
parent a40c63fe48
commit d071f05504
33 changed files with 1594 additions and 1591 deletions
+4 -4
View File
@@ -801,7 +801,7 @@ _0806CEB8:
ldr r0, _0806CED8 @ =gUnknown_8168CE4
cmp r4, r0
beq _0806CECA
ldr r0, _0806CEDC @ =gUnknown_81A6955
ldr r0, _0806CEDC @ =EventScript_PC
cmp r4, r0
beq _0806CECA
movs r0, 0x5
@@ -816,7 +816,7 @@ _0806CED2:
bx r1
.align 2, 0
_0806CED8: .4byte gUnknown_8168CE4
_0806CEDC: .4byte gUnknown_81A6955
_0806CEDC: .4byte EventScript_PC
thumb_func_end sub_806CEA0
thumb_func_start TryGetScriptOnPressingA
@@ -1219,11 +1219,11 @@ sub_806D1F0: @ 806D1F0
lsrs r0, 24
cmp r0, 0x1
bne _0806D218
ldr r0, _0806D214 @ =gUnknown_81A6955
ldr r0, _0806D214 @ =EventScript_PC
b _0806D53E
.align 2, 0
_0806D210: .4byte gSpecialVar_Facing
_0806D214: .4byte gUnknown_81A6955
_0806D214: .4byte EventScript_PC
_0806D218:
adds r0, r4, 0
bl MetatileBehavior_IsRegionMap
+20 -1564
View File
File diff suppressed because it is too large Load Diff
@@ -19,7 +19,7 @@ CeladonCity_DepartmentStore_2F_EventScript_16BB10:: @ 816BB10
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_16BB38
msgbox gUnknown_81A5190
@@ -47,7 +47,7 @@ CeladonCity_DepartmentStore_2F_EventScript_16BB4E:: @ 816BB4E
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_16BB74
msgbox gUnknown_81A5190
@@ -19,7 +19,7 @@ CeladonCity_DepartmentStore_4F_EventScript_16BC0A:: @ 816BC0A
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_16BC30
msgbox gUnknown_81A5190
@@ -19,7 +19,7 @@ CeladonCity_DepartmentStore_5F_EventScript_16BC5C:: @ 816BC5C
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_16BC84
msgbox gUnknown_81A5190
@@ -45,7 +45,7 @@ CeladonCity_DepartmentStore_5F_EventScript_16BC96:: @ 816BC96
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_16BCBC
msgbox gUnknown_81A5190
+1 -1
View File
@@ -15,7 +15,7 @@ CeruleanCity_Mart_EventScript_16ACB0:: @ 816ACB0
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_16ACD8
msgbox gUnknown_81A5190
+1 -1
View File
@@ -15,7 +15,7 @@ CinnabarIsland_Mart_EventScript_16EA22:: @ 816EA22
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_16EA48
msgbox gUnknown_81A5190
+1 -1
View File
@@ -7,7 +7,7 @@ FourIsland_Mart_EventScript_171CAE:: @ 8171CAE
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_171CD4
msgbox gUnknown_81A5190
+1 -1
View File
@@ -15,7 +15,7 @@ FuchsiaCity_Mart_EventScript_16D4F3:: @ 816D4F3
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_16D518
msgbox gUnknown_81A5190
@@ -48,7 +48,7 @@ IndigoPlateau_PokemonCenter_1F_EventScript_16EACC:: @ 816EACC
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_16EAF4
msgbox gUnknown_81A5190
+1 -1
View File
@@ -19,7 +19,7 @@ LavenderTown_Mart_EventScript_16B36B:: @ 816B36B
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_16B390
msgbox gUnknown_81A5190
@@ -108,7 +108,7 @@ gUnknown_81A1321:: @ 81A1321
.string "I'm also sorry for being such a \n"
.string "poor host on your visit here.$"
Text_1A1390:: @ 81A1390
Text_UsualPCServicesUnavailable:: @ 81A1390
.string "The usual PC services aren't\n"
.string "available…$"
+1 -1
View File
@@ -15,7 +15,7 @@ PewterCity_Mart_EventScript_16A6E0:: @ 816A6E0
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_16A708
msgbox gUnknown_81A5190
+1 -1
View File
@@ -15,7 +15,7 @@ SaffronCity_Mart_EventScript_16EFB5:: @ 816EFB5
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_16EFDC
msgbox gUnknown_81A5190
+1 -1
View File
@@ -7,7 +7,7 @@ SevenIsland_Mart_EventScript_170B31:: @ 8170B31
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_170B58
msgbox gUnknown_81A5190
@@ -129,7 +129,7 @@ SevenIsland_TrainerTower_Lobby_EventScript_164992:: @ 8164992
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_1649B8
msgbox gUnknown_81A5190
+1 -1
View File
@@ -7,7 +7,7 @@ SixIsland_Mart_EventScript_171E66:: @ 8171E66
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_171E8C
msgbox gUnknown_81A5190
+1 -1
View File
@@ -7,7 +7,7 @@ ThreeIsland_Mart_EventScript_17188D:: @ 817188D
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_1718B4
msgbox gUnknown_81A5190
+1 -1
View File
@@ -119,7 +119,7 @@ EventScript_16768E:: @ 816768E
end
EventScript_1676A6:: @ 81676A6
message Text_1A6211
message Text_MayIHelpYou
waitmessage
compare VAR_MAP_SCENE_TWO_ISLAND, 4
goto_if eq, EventScript_167728
+1 -1
View File
@@ -15,7 +15,7 @@ VermilionCity_Mart_EventScript_16B666:: @ 816B666
goto_if eq, EventScript_1A7AE0
lock
faceplayer
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_16B68C
msgbox gUnknown_81A5190
+1 -1
View File
@@ -59,7 +59,7 @@ ViridianCity_Mart_EventScript_16A268:: @ 816A268
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_1A7AE0
message Text_1A6211
message Text_MayIHelpYou
waitmessage
pokemart Items_16A298
msgbox gUnknown_81A5190
+248
View File
@@ -0,0 +1,248 @@
EventScript_1A666F:: @ 81A666F
copyvar VAR_MON_BOX_POS, VAR_MON_BOX_ID
return
EventScript_1A6675:: @ 81A6675
copyvar VAR_MON_BOX_ID, VAR_MON_BOX_POS
return
Std_ObtainItem:: @ 81A667B
copyvar VAR_MON_BOX_POS, VAR_MON_BOX_ID
textcolor 3
additem VAR_0x8000, VAR_0x8001
copyvar VAR_0x8007, VAR_RESULT
call EventScript_1A6697
copyvar VAR_MON_BOX_ID, VAR_MON_BOX_POS
return
EventScript_1A6697:: @ 81A6697
bufferitemnameplural 1, VAR_0x8000, VAR_0x8001
checkitemtype VAR_0x8000
call EventScript_1A66BC
compare VAR_0x8007, 1
call_if eq, EventScript_1A6749
compare VAR_0x8007, 0
call_if eq, EventScript_1A675E
return
EventScript_1A66BC:: @ 81A66BC
switch VAR_RESULT
case POCKET_ITEMS, EventScript_1A66F9
case POCKET_KEY_ITEMS, EventScript_1A6709
case POCKET_POKE_BALLS, EventScript_1A6719
case POCKET_TM_CASE, EventScript_1A6729
case POCKET_BERRY_POUCH, EventScript_1A6739
end
EventScript_1A66F9:: @ 81A66F9
getstdstring 2, 24
compare VAR_0x8007, 1
call_if eq, EventScript_1A6764
return
EventScript_1A6709:: @ 81A6709
getstdstring 2, 25
compare VAR_0x8007, 1
call_if eq, EventScript_1A6764
return
EventScript_1A6719:: @ 81A6719
getstdstring 2, 26
compare VAR_0x8007, 1
call_if eq, EventScript_1A6764
return
EventScript_1A6729:: @ 81A6729
getstdstring 2, 27
compare VAR_0x8007, 1
call_if eq, EventScript_1A6768
return
EventScript_1A6739:: @ 81A6739
getstdstring 2, 28
compare VAR_0x8007, 1
call_if eq, EventScript_1A6764
return
EventScript_1A6749:: @ 81A6749
message Text_ObtainedTheX
waitfanfare
waitmessage
msgbox Text_PutItemAway
setvar VAR_RESULT, 1
return
EventScript_1A675E:: @ 81A675E
setvar VAR_RESULT, 0
return
EventScript_1A6764:: @ 81A6764
playfanfare MUS_FANFA1
return
EventScript_1A6768:: @ 81A6768
playfanfare MUS_FANFA1
return
Std_ObtainDecoration:: @ 81A676C
adddecor VAR_0x8000
copyvar VAR_0x8007, VAR_RESULT
call EventScript_1A677A
return
EventScript_1A677A:: @ 81A677A
getdecorname 1, VAR_0x8000
compare VAR_0x8007, 1
call_if eq, EventScript_1A6795
compare VAR_0x8007, 0
call_if eq, EventScript_1A67AD
return
EventScript_1A6795:: @ 81A6795
playfanfare MUS_FANFA4
message Text_1A52F0
waitfanfare
waitmessage
msgbox gUnknown_81A532F
setvar VAR_RESULT, 1
return
EventScript_1A67AD:: @ 81A67AD
setvar VAR_RESULT, 0
return
Std_FindItem:: @ 81A67B3
lock
faceplayer
waitse
copyvar VAR_0x8004, VAR_0x8000
copyvar VAR_0x8005, VAR_0x8001
checkitemspace VAR_0x8000, VAR_0x8001
copyvar VAR_0x8007, VAR_RESULT
getitemname 1, VAR_0x8000
checkitemtype VAR_0x8000
call EventScript_1A66BC
compare VAR_0x8007, 1
call_if eq, EventScript_1A67EE
compare VAR_0x8007, 0
call_if eq, EventScript_1A682D
release
return
EventScript_1A67EE:: @ 81A67EE
removeobject VAR_LAST_TALKED
additem VAR_0x8004, VAR_0x8005
specialvar VAR_RESULT, Special_ItemIsTM_GetMoveName
copyvar VAR_0x8008, VAR_RESULT
compare VAR_0x8008, 1
call_if eq, EventScript_1A6821
compare VAR_0x8008, 0
call_if eq, EventScript_1A6827
waitfanfare
waitmessage
msgbox Text_PutItemAway
return
EventScript_1A6821:: @ 81A6821
message Text_1A63E8
return
EventScript_1A6827:: @ 81A6827
message Text_FoundOneItem
return
EventScript_1A682D:: @ 81A682D
msgbox Text_ObtainedTheX
msgbox Text_TooBadBagFull
setvar VAR_RESULT, 0
return
EventScript_PickUpHiddenItem:: @ 81A6843
lockall
textcolor 3
waitse
compare VAR_0x8005, 0
goto_if eq, EventScript_PickUpHiddenCoins
call EventScript_GiveItem
compare VAR_0x8007, 1
goto_if eq, EventScript_ItemInPocketMessage
compare VAR_0x8007, 0
goto_if eq, EventScript_BagIsFullMessage
end
EventScript_GiveItem::
additem VAR_0x8005, VAR_0x8006
copyvar VAR_0x8007, VAR_RESULT
getitemname 1, VAR_0x8005
checkitemtype VAR_0x8005
call EventScript_1A66BC
return
EventScript_ItemInPocketMessage::
compare VAR_0x8006, 1
call_if eq, EventScript_FoundSingleItemMessage
compare VAR_0x8006, 1
call_if ne, EventScript_FoundMultipleItemsMessage
waitfanfare
waitmessage
msgbox Text_PutItemAway
special Special_SetHiddenItemFlag
releaseall
end
EventScript_FoundSingleItemMessage::
message Text_FoundOneItem
return
EventScript_FoundCoinsMessage::
getnumberstring 0, VAR_0x8006
message Text_FoundXCoins
return
EventScript_FoundMultipleItemsMessage::
getnumberstring 0, VAR_0x8006
message Text_FoundXItems
return
EventScript_BagIsFullMessage::
msgbox Text_FoundOneItem
msgbox Text_TooBadBagFull
setvar VAR_RESULT, 0
releaseall
end
EventScript_PickUpHiddenCoins::
checkflag FLAG_GOT_COIN_CASE
goto_if FALSE, EventScript_HiddenCoinsButNoCoinCase
checkcoins VAR_RESULT
specialvar VAR_RESULT, Special_CheckAddCoins
compare VAR_RESULT, 0
goto_if eq, EventScript_HiddenCoinsButTheCoinCaseIsFull
givecoins VAR_0x8006
getstdstring 1, 0x17
call EventScript_1A6764
call EventScript_FoundCoinsMessage
waitfanfare
waitmessage
msgbox Text_PutCoinsAwayInCoinCase
special Special_SetHiddenItemFlag
releaseall
end
EventScript_HiddenCoinsButTheCoinCaseIsFull::
getnumberstring 0, VAR_0x8006
getstdstring 1, 0x17
msgbox Text_FoundXCoins
msgbox Text_CoinCaseIsFull
setvar VAR_RESULT, 0
releaseall
end
EventScript_HiddenCoinsButNoCoinCase::
getnumberstring 0, VAR_0x8006
getstdstring 1, 0x17
msgbox Text_FoundXCoins
msgbox Text_NothingToPutThemIn
setvar VAR_RESULT, 0
releaseall
end
+108
View File
@@ -0,0 +1,108 @@
EventScript_PC:: @ 81A6955
special sub_8110AB4
compare VAR_RESULT, 2
goto_if eq, EventScript_1A7AE0
lockall
checkflag FLAG_SYS_PC_STORAGE_DISABLED
goto_if TRUE, EventScript_PCDisabled
setvar VAR_0x8004, 27
special Special_SetSomeVariable
setvar VAR_0x8004, 0
special Special_AnimatePcTurnOn
playse SE_PC_ON
msgbox Text_BootedUpPC
goto EventScript_PCMainMenu
end
EventScript_PCDisabled:: @ 81A698E
msgbox Text_UsualPCServicesUnavailable
releaseall
end
EventScript_PCMainMenu:: @ 81A6998
message Text_AccessWhichPC
waitmessage
special ScrSpecial_CreatePCMenu
waitstate
goto EventScript_ChoosePCMenu
end
EventScript_ChoosePCMenu:: @ 81A69A8
switch VAR_RESULT
case 0, EventScript_AccessPokemonStorage
case 1, EventScript_AccessPlayersPC
case 2, EventScript_AccessProfOaksPC
case 3, EventScript_1A6A56
case 4, EventScript_1A6A46
case SCR_MENU_CANCEL, EventScript_1A6A46
end
EventScript_AccessPlayersPC:: @ 81A69F0
playse SE_PC_LOGIN
msgbox Text_AccessedPlayersPC
special PlayerPC
waitstate
goto EventScript_PCMainMenu
end
EventScript_AccessPokemonStorage:: @ 81A6A05
playse SE_PC_LOGIN
checkflag FLAG_SYS_NOT_SOMEONES_PC
call_if FALSE, EventScript_1A6A34
checkflag FLAG_SYS_NOT_SOMEONES_PC
call_if TRUE, EventScript_1A6A3D
msgbox Text_OpenedPkmnStorage
special ShowPokemonStorageSystem
waitstate
setvar VAR_0x8004, 27
special Special_SetSomeVariable
goto EventScript_PCMainMenu
end
EventScript_1A6A34:: @ 81A6A34
msgbox Text_AccessedSomeonesPC
return
EventScript_1A6A3D:: @ 81A6A3D
msgbox Text_AccessedBillsPC
return
EventScript_1A6A46:: @ 81A6A46
setvar VAR_0x8004, 0
playse SE_PC_OFF
special Special_AnimatePcTurnOff
special sub_812B35C
releaseall
end
EventScript_1A6A56:: @ 81A6A56
checkflag FLAG_SYS_GAME_CLEAR
goto_if FALSE, EventScript_1A6A46
playse SE_PC_LOGIN
setvar VAR_0x8004, 31
special HelpSystem_BackupSomeVariable
special Special_SetSomeVariable
special HallOfFamePCBeginFade
waitstate
special HelpSystem_RestoreSomeVariable
goto EventScript_ChoosePCMenu
end
EventScript_AccessProfOaksPC:: @ 81A6A7A
checkflag FLAG_SYS_POKEDEX_GET
goto_if FALSE, EventScript_1A6A46
playse SE_PC_LOGIN
msgbox Text_AccessedProfOaksPC
msgbox Text_HavePokedexRated, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if eq, EventScript_ExitOaksPC
setflag FLAG_OAKS_RATING_IS_VIA_PC
call EventScript_1A73E0
clearflag FLAG_OAKS_RATING_IS_VIA_PC
goto EventScript_ExitOaksPC
end
EventScript_ExitOaksPC:: @ 81A6AB2
msgbox Text_ClosedLinkToProfOaksPC
goto EventScript_PCMainMenu
end
+585
View File
@@ -0,0 +1,585 @@
EventScript_NeedCardKey:: @ 81A8135
msgbox Text_ItNeedsCardKey
releaseall
end
EventScript_DoorUnlocked:: @ 81A813F
msgbox Text_TheDoorIsOpen
releaseall
end
EventScript_Close2FDoor1:: @ 81A8149
setmetatile 5, 8, 944, 1
setmetatile 6, 8, 945, 1
setmetatile 5, 9, 952, 1
setmetatile 6, 9, 953, 1
setmetatile 6, 10, 821, 0
return
EventScript_Close2FDoor2:: @ 81A8177
setmetatile 5, 15, 944, 1
setmetatile 6, 15, 945, 1
setmetatile 5, 16, 952, 1
setmetatile 6, 16, 953, 1
setmetatile 6, 17, 821, 0
return
EventScript_Close3FDoor1:: @ 81A81A5
setmetatile 9, 11, 960, 1
setmetatile 10, 11, 961, 1
setmetatile 9, 12, 962, 1
setmetatile 10, 12, 963, 1
setmetatile 9, 13, 964, 1
setmetatile 10, 13, 965, 1
return
EventScript_Close3FDoor2:: @ 81A81DC
setmetatile 20, 11, 960, 1
setmetatile 21, 11, 961, 1
setmetatile 20, 12, 962, 1
setmetatile 21, 12, 963, 1
setmetatile 20, 13, 964, 1
setmetatile 21, 13, 965, 1
return
EventScript_Close4FDoor1:: @ 81A8213
setmetatile 3, 16, 944, 1
setmetatile 4, 16, 945, 1
setmetatile 3, 17, 952, 1
setmetatile 4, 17, 953, 1
setmetatile 4, 18, 821, 0
return
EventScript_Close4FDoor2:: @ 81A8241
setmetatile 14, 11, 944, 1
setmetatile 15, 11, 945, 1
setmetatile 14, 12, 952, 1
setmetatile 15, 12, 953, 1
setmetatile 15, 13, 821, 0
return
EventScript_Close5FDoor1:: @ 81A826F
setmetatile 7, 8, 960, 1
setmetatile 8, 8, 961, 1
setmetatile 7, 9, 962, 1
setmetatile 8, 9, 963, 1
setmetatile 7, 10, 964, 1
setmetatile 8, 10, 965, 1
return
EventScript_Close5FDoor2:: @ 81A82A6
setmetatile 7, 17, 960, 1
setmetatile 8, 17, 961, 1
setmetatile 7, 18, 962, 1
setmetatile 8, 18, 963, 1
setmetatile 7, 19, 964, 1
setmetatile 8, 19, 965, 1
return
EventScript_Close5FDoor3:: @ 81A82DD
setmetatile 18, 12, 960, 1
setmetatile 19, 12, 961, 1
setmetatile 18, 13, 962, 1
setmetatile 19, 13, 963, 1
setmetatile 18, 14, 964, 1
setmetatile 19, 14, 965, 1
return
EventScript_Close6FDoor:: @ 81A8314
setmetatile 5, 14, 960, 1
setmetatile 6, 14, 961, 1
setmetatile 5, 15, 962, 1
setmetatile 6, 15, 963, 1
setmetatile 5, 16, 964, 1
setmetatile 6, 16, 965, 1
return
EventScript_Close7FDoor1:: @ 81A834B
setmetatile 11, 8, 944, 1
setmetatile 12, 8, 945, 1
setmetatile 11, 9, 952, 1
setmetatile 12, 9, 953, 1
setmetatile 12, 10, 821, 0
return
EventScript_Close7FDoor2:: @ 81A8379
setmetatile 24, 7, 944, 1
setmetatile 25, 7, 945, 1
setmetatile 24, 8, 952, 1
setmetatile 25, 8, 953, 1
setmetatile 25, 9, 821, 0
return
EventScript_Close7FDoor3:: @ 81A83A7
setmetatile 25, 13, 944, 1
setmetatile 26, 13, 945, 1
setmetatile 25, 14, 952, 1
setmetatile 26, 14, 953, 1
setmetatile 26, 15, 821, 0
return
EventScript_Close8FDoor:: @ 81A83D5
setmetatile 5, 9, 960, 1
setmetatile 6, 9, 961, 1
setmetatile 5, 10, 962, 1
setmetatile 6, 10, 963, 1
setmetatile 5, 11, 964, 1
setmetatile 6, 11, 965, 1
return
EventScript_Close9FDoor1:: @ 81A840C
setmetatile 2, 9, 960, 1
setmetatile 3, 9, 961, 1
setmetatile 2, 10, 962, 1
setmetatile 3, 10, 963, 1
setmetatile 2, 11, 964, 1
setmetatile 3, 11, 965, 1
return
EventScript_Close9FDoor2:: @ 81A8443
setmetatile 12, 15, 960, 1
setmetatile 13, 15, 961, 1
setmetatile 12, 16, 962, 1
setmetatile 13, 16, 963, 1
setmetatile 12, 17, 964, 1
setmetatile 13, 17, 965, 1
return
EventScript_Close9FDoor3:: @ 81A847A
setmetatile 21, 6, 944, 1
setmetatile 22, 6, 945, 1
setmetatile 21, 7, 952, 1
setmetatile 22, 7, 953, 1
setmetatile 22, 8, 821, 0
return
EventScript_Close9FDoor4:: @ 81A84A8
setmetatile 21, 12, 944, 1
setmetatile 22, 12, 945, 1
setmetatile 21, 13, 952, 1
setmetatile 22, 13, 953, 1
setmetatile 22, 14, 821, 0
return
EventScript_Close10FDoor:: @ 81A84D6
setmetatile 12, 11, 944, 1
setmetatile 13, 11, 945, 1
setmetatile 12, 12, 952, 1
setmetatile 13, 12, 953, 1
setmetatile 13, 13, 821, 0
return
EventScript_Close11FDoor:: @ 81A8504
setmetatile 5, 16, 944, 1
setmetatile 6, 16, 945, 1
setmetatile 5, 17, 952, 1
setmetatile 6, 17, 953, 1
setmetatile 6, 18, 821, 0
return
EventScript_Open2FDoor1:: @ 81A8532
setmetatile 5, 8, 821, 0
setmetatile 6, 8, 820, 0
setmetatile 5, 9, 821, 0
setmetatile 6, 9, 820, 0
setmetatile 6, 10, 820, 0
return
EventScript_Open2FDoor2:: @ 81A8560
setmetatile 5, 15, 821, 0
setmetatile 6, 15, 820, 0
setmetatile 5, 16, 821, 0
setmetatile 6, 16, 820, 0
setmetatile 6, 17, 820, 0
return
EventScript_Open3FDoor1:: @ 81A858E
setmetatile 9, 11, 839, 1
setmetatile 10, 11, 838, 1
setmetatile 9, 12, 821, 0
setmetatile 10, 12, 821, 0
setmetatile 9, 13, 825, 0
setmetatile 10, 13, 826, 0
return
EventScript_Open3FDoor2:: @ 81A85C5
setmetatile 20, 11, 839, 1
setmetatile 21, 11, 838, 1
setmetatile 20, 12, 821, 0
setmetatile 21, 12, 821, 0
setmetatile 20, 13, 825, 0
setmetatile 21, 13, 826, 0
return
EventScript_Open4FDoor1:: @ 81A85FC
setmetatile 3, 16, 821, 0
setmetatile 4, 16, 820, 0
setmetatile 3, 17, 821, 0
setmetatile 4, 17, 820, 0
setmetatile 4, 18, 820, 0
return
EventScript_Open4FDoor2:: @ 81A862A
setmetatile 14, 11, 821, 0
setmetatile 15, 11, 820, 0
setmetatile 14, 12, 821, 0
setmetatile 15, 12, 820, 0
setmetatile 15, 13, 820, 0
return
EventScript_Open5FDoor1:: @ 81A8658
setmetatile 7, 8, 839, 1
setmetatile 8, 8, 838, 1
setmetatile 7, 9, 821, 0
setmetatile 8, 9, 821, 0
setmetatile 7, 10, 825, 0
setmetatile 8, 10, 826, 0
return
EventScript_Open5FDoor2:: @ 81A868F
setmetatile 7, 17, 839, 1
setmetatile 8, 17, 838, 1
setmetatile 7, 18, 821, 0
setmetatile 8, 18, 821, 0
setmetatile 7, 19, 825, 0
setmetatile 8, 19, 826, 0
return
EventScript_Open5FDoor3:: @ 81A86C6
setmetatile 18, 12, 839, 1
setmetatile 19, 12, 838, 1
setmetatile 18, 13, 821, 0
setmetatile 19, 13, 821, 0
setmetatile 18, 14, 825, 0
setmetatile 19, 14, 826, 0
return
EventScript_Open6FDoor:: @ 81A86FD
setmetatile 5, 14, 839, 1
setmetatile 6, 14, 838, 1
setmetatile 5, 15, 821, 0
setmetatile 6, 15, 821, 0
setmetatile 5, 16, 825, 0
setmetatile 6, 16, 826, 0
return
EventScript_Open7FDoor1:: @ 81A8734
setmetatile 11, 8, 821, 0
setmetatile 12, 8, 820, 0
setmetatile 11, 9, 821, 0
setmetatile 12, 9, 820, 0
setmetatile 12, 10, 820, 0
return
EventScript_Open7FDoor2:: @ 81A8762
setmetatile 24, 7, 821, 0
setmetatile 25, 7, 820, 0
setmetatile 24, 8, 821, 0
setmetatile 25, 8, 820, 0
setmetatile 25, 9, 820, 0
return
EventScript_Open7FDoor3:: @ 81A8790
setmetatile 25, 13, 821, 0
setmetatile 26, 13, 820, 0
setmetatile 25, 14, 821, 0
setmetatile 26, 14, 820, 0
setmetatile 26, 15, 820, 0
return
EventScript_Open8FDoor:: @ 81A87BE
setmetatile 5, 9, 839, 1
setmetatile 6, 9, 838, 1
setmetatile 5, 10, 821, 0
setmetatile 6, 10, 821, 0
setmetatile 5, 11, 825, 0
setmetatile 6, 11, 826, 0
return
EventScript_Open9FDoor1:: @ 81A87F5
setmetatile 2, 9, 839, 1
setmetatile 3, 9, 838, 1
setmetatile 2, 10, 821, 0
setmetatile 3, 10, 821, 0
setmetatile 2, 11, 825, 0
setmetatile 3, 11, 826, 0
return
EventScript_Open9FDoor2:: @ 81A882C
setmetatile 12, 15, 839, 1
setmetatile 13, 15, 838, 1
setmetatile 12, 16, 821, 0
setmetatile 13, 16, 821, 0
setmetatile 12, 17, 825, 0
setmetatile 13, 17, 826, 0
return
EventScript_Open9FDoor3:: @ 81A8863
setmetatile 21, 6, 821, 0
setmetatile 22, 6, 820, 0
setmetatile 21, 7, 821, 0
setmetatile 22, 7, 820, 0
setmetatile 22, 8, 820, 0
return
EventScript_Open9FDoor4:: @ 81A8891
setmetatile 21, 12, 821, 0
setmetatile 22, 12, 820, 0
setmetatile 21, 13, 821, 0
setmetatile 22, 13, 820, 0
setmetatile 22, 14, 820, 0
return
EventScript_Open10FDoor:: @ 81A88BF
setmetatile 12, 11, 821, 0
setmetatile 13, 11, 820, 0
setmetatile 12, 12, 821, 0
setmetatile 13, 12, 820, 0
setmetatile 13, 13, 820, 0
return
EventScript_Open11FDoor:: @ 81A88ED
setmetatile 5, 16, 821, 0
setmetatile 6, 16, 820, 0
setmetatile 5, 17, 821, 0
setmetatile 6, 17, 820, 0
setmetatile 6, 18, 820, 0
return
SilphCo_2F_EventScript_Door1:: @ 81A891B
lockall
setvar VAR_0x4001, 1
setvar VAR_0x8004, 634
checkflag FLAG_SILPH_2F_DOOR_1
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_2F_EventScript_Door2:: @ 81A8935
lockall
setvar VAR_0x4001, 2
setvar VAR_0x8004, 635
checkflag FLAG_SILPH_2F_DOOR_2
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_3F_EventScript_Door1:: @ 81A894F
lockall
setvar VAR_0x4001, 3
setvar VAR_0x8004, 636
checkflag FLAG_SILPH_3F_DOOR_1
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_3F_EventScript_Door2:: @ 81A8969
lockall
setvar VAR_0x4001, 4
setvar VAR_0x8004, 637
checkflag FLAG_SILPH_3F_DOOR_2
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_4F_EventScript_Door1:: @ 81A8983
lockall
setvar VAR_0x4001, 5
setvar VAR_0x8004, 638
checkflag FLAG_SILPH_4F_DOOR_1
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_4F_EventScript_Door2:: @ 81A899D
lockall
setvar VAR_0x4001, 6
setvar VAR_0x8004, 639
checkflag FLAG_SILPH_4F_DOOR_2
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_5F_EventScript_Door1:: @ 81A89B7
lockall
setvar VAR_0x4001, 7
setvar VAR_0x8004, 640
checkflag FLAG_SILPH_5F_DOOR_1
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_5F_EventScript_Door2:: @ 81A89D1
lockall
setvar VAR_0x4001, 8
setvar VAR_0x8004, 641
checkflag FLAG_SILPH_5F_DOOR_2
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_5F_EventScript_Door3:: @ 81A89EB
lockall
setvar VAR_0x4001, 9
setvar VAR_0x8004, 642
checkflag FLAG_SILPH_5F_DOOR_3
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_6F_EventScript_Door:: @ 81A8A05
lockall
setvar VAR_0x4001, 10
setvar VAR_0x8004, 643
checkflag FLAG_SILPH_6F_DOOR
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_7F_EventScript_Door1:: @ 81A8A1F
lockall
setvar VAR_0x4001, 11
setvar VAR_0x8004, 644
checkflag FLAG_SILPH_7F_DOOR_1
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_7F_EventScript_Door2:: @ 81A8A39
lockall
setvar VAR_0x4001, 12
setvar VAR_0x8004, 645
checkflag FLAG_SILPH_7F_DOOR_2
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_7F_EventScript_Door3:: @ 81A8A53
lockall
setvar VAR_0x4001, 13
setvar VAR_0x8004, 646
checkflag FLAG_SILPH_7F_DOOR_3
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_8F_EventScript_Door:: @ 81A8A6D
lockall
setvar VAR_0x4001, 14
setvar VAR_0x8004, 647
checkflag FLAG_SILPH_8F_DOOR
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_9F_EventScript_Door1:: @ 81A8A87
lockall
setvar VAR_0x4001, 15
setvar VAR_0x8004, 648
checkflag FLAG_SILPH_9F_DOOR_1
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_9F_EventScript_Door2:: @ 81A8AA1
lockall
setvar VAR_0x4001, 16
setvar VAR_0x8004, 649
checkflag FLAG_SILPH_9F_DOOR_2
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_9F_EventScript_Door3:: @ 81A8ABB
lockall
setvar VAR_0x4001, 17
setvar VAR_0x8004, 650
checkflag FLAG_SILPH_9F_DOOR_3
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_9F_EventScript_Door4:: @ 81A8AD5
lockall
setvar VAR_0x4001, 18
setvar VAR_0x8004, 651
checkflag FLAG_SILPH_9F_DOOR_4
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_10F_EventScript_Door:: @ 81A8AEF
lockall
setvar VAR_0x4001, 19
setvar VAR_0x8004, 652
checkflag FLAG_SILPH_10F_DOOR
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
SilphCo_11F_EventScript_Door:: @ 81A8B09
lockall
setvar VAR_0x4001, 20
setvar VAR_0x8004, 653
checkflag FLAG_SILPH_11F_DOOR
goto_if TRUE, EventScript_DoorUnlocked
goto EventScript_TryUnlockDoor
end
EventScript_TryUnlockDoor:: @ 81A8B23
checkflag FLAG_HIDE_SILPH_CO_5F_CARD_KEY
goto_if TRUE, EventScript_OpenDoor
goto EventScript_NeedCardKey
end
EventScript_OpenDoor:: @ 81A8B32
playfanfare MUS_FANFA1
msgbox Text_CardKeyOpenedDoor
waitfanfare
compare VAR_0x4001, 1
call_if eq, EventScript_Open2FDoor1
compare VAR_0x4001, 2
call_if eq, EventScript_Open2FDoor2
compare VAR_0x4001, 3
call_if eq, EventScript_Open3FDoor1
compare VAR_0x4001, 4
call_if eq, EventScript_Open3FDoor2
compare VAR_0x4001, 5
call_if eq, EventScript_Open4FDoor1
compare VAR_0x4001, 6
call_if eq, EventScript_Open4FDoor2
compare VAR_0x4001, 7
call_if eq, EventScript_Open5FDoor1
compare VAR_0x4001, 8
call_if eq, EventScript_Open5FDoor2
compare VAR_0x4001, 9
call_if eq, EventScript_Open5FDoor3
compare VAR_0x4001, 10
call_if eq, EventScript_Open6FDoor
compare VAR_0x4001, 11
call_if eq, EventScript_Open7FDoor1
compare VAR_0x4001, 12
call_if eq, EventScript_Open7FDoor2
compare VAR_0x4001, 13
call_if eq, EventScript_Open7FDoor3
compare VAR_0x4001, 14
call_if eq, EventScript_Open8FDoor
compare VAR_0x4001, 15
call_if eq, EventScript_Open9FDoor1
compare VAR_0x4001, 16
call_if eq, EventScript_Open9FDoor2
compare VAR_0x4001, 17
call_if eq, EventScript_Open9FDoor3
compare VAR_0x4001, 18
call_if eq, EventScript_Open9FDoor4
compare VAR_0x4001, 19
call_if eq, EventScript_Open10FDoor
compare VAR_0x4001, 20
call_if eq, EventScript_Open11FDoor
waitse
playse SE_KI_GASYAN
special DrawWholeMapView
waitse
special Special_SetHiddenItemFlag
releaseall
end
+27
View File
@@ -0,0 +1,27 @@
EventScript_1C5550:: @ 81C5552
msgbox Text_1C556D, MSGBOX_NPC
end
EventScript_1C555B:: @ 81C555B
msgbox Text_1C558D, MSGBOX_SIGN
end
EventScript_1C5564:: @ 81C5564
msgbox Text_1C55A4, MSGBOX_SIGN
end
Text_1C556D:: @ 81C556D
.string "テストよう メッセージです!\n"
.string "ポケモンの せかいへ ようこそ!$"
Text_1C558D:: @ 81C558D
.string "テストよう メッセージです!\n"
.string "かんばん です$"
Text_1C55A4:: @ 81C55A4
.string "テストよう メッセージです!\n"
.string "ざひょう チェックの イベントです$"
.align 2
Text_1C55C8:: @ 81C55C8
.string "$"
+116
View File
@@ -0,0 +1,116 @@
gUnknown_81A9288:: @ 81A9288
.braille "UP$"
gUnknown_81A928B:: @ 81A928B
.braille "DOWN$"
gUnknown_81A9290:: @ 81A9290
.braille "RIGHT$"
gUnknown_81A9296:: @ 81A9296
.braille "LEFT$"
gUnknown_81A929B:: @ 81A929B
.braille "CUT$"
gUnknown_81A929F:: @ 81A929F
.braille "ABC$"
gUnknown_81A92A3:: @ 81A92A3
.braille "GHI$"
gUnknown_81A92A7:: @ 81A92A7
.braille "MNO$"
gUnknown_81A92AB:: @ 81A92AB
.braille "TUV$"
gUnknown_81A92AF:: @ 81A92AF
.braille "DEF$"
gUnknown_81A92B3:: @ 81A92B3
.braille "JKL$"
gUnknown_81A92B7:: @ 81A92B7
.braille "PQRS$"
gUnknown_81A92BC:: @ 81A92BC
.braille "WXYZ$"
gUnknown_81A92C1:: @ 81A92C1
.braille ".$"
gUnknown_81A92C3:: @ 81A92C3
.braille ",$"
gUnknown_81A92C5:: @ 81A92C5
.braille "EVERYTHING$"
gUnknown_81A92D0:: @ 81A92D0
.braille "HAS MEANING$"
gUnknown_81A92DC:: @ 81A92DC
.braille "EXISTENCE$"
gUnknown_81A92E6:: @ 81A92E6
.braille "HAS MEANING$"
gUnknown_81A92F2:: @ 81A92F2
.braille "BEING ALIVE$"
gUnknown_81A92FE:: @ 81A92FE
.braille "HAS MEANING$"
gUnknown_81A930A:: @ 81A930A
.braille "HAVE DREAMS$"
gUnknown_81A9316:: @ 81A9316
.braille "USE POWER.$"
gUnknown_81A9321:: @ 81A9321
.braille "LET THE TWO$"
gUnknown_81A932D:: @ 81A932D
.braille "GLITTERING$"
gUnknown_81A9338:: @ 81A9338
.braille "STONES$"
gUnknown_81A933F:: @ 81A933F
.braille "ONE IN RED$"
gUnknown_81A934A:: @ 81A934A
.braille "ONE IN BLUE$"
gUnknown_81A9356:: @ 81A9356
.braille "CONNECT THE$"
gUnknown_81A9362:: @ 81A9362
.braille "PAST.$"
gUnknown_81A9368:: @ 81A9368
.braille "TWO FRIENDS$"
gUnknown_81A9374:: @ 81A9374
.braille "SHARING$"
gUnknown_81A937C:: @ 81A937C
.braille "POWER OPEN$"
gUnknown_81A9387:: @ 81A9387
.braille "A WINDOW TO$"
gUnknown_81A9393:: @ 81A9393
.braille "A NEW WORLD$"
gUnknown_81A939F:: @ 81A939F
.braille "THAT GLOWS.$"
gUnknown_81A93AB:: @ 81A93AB
.braille "THE NEXT$"
gUnknown_81A93B4:: @ 81A93B4
.braille "WORLD WAITS$"
gUnknown_81A93C0:: @ 81A93C0
.braille "FOR YOU.$"
+234
View File
@@ -0,0 +1,234 @@
gOtherText_NewName:: @ 81C574F
.string "NEW NAME$"
gNameChoice_Green:: @ 81C5758
.string "GREEN$"
gNameChoice_Red:: @ 81C575E
.string "RED$"
gNameChoice_Leaf:: @ 81C5762
.string "LEAF$"
gNameChoice_Fire:: @ 81C5767
.string "FIRE$"
gNameChoice_Gary:: @ 81C576C
.string "GARY$"
gNameChoice_Kaz:: @ 81C5771
.string "KAZ$"
gNameChoice_Toru:: @ 81C5775
.string "TORU$"
gNameChoice_Ash:: @ 81C577A
.string "ASH$"
gNameChoice_Kene:: @ 81C577E
.string "KENE$"
gNameChoice_Geki:: @ 81C5783
.string "GEKI$"
gNameChoice_Jak:: @ 81C5788
.string "JAK$"
gNameChoice_Janne:: @ 81C578C
.string "JANNE$"
gNameChoice_Jonn:: @ 81C5792
.string "JONN$"
gNameChoice_Kamon:: @ 81C5797
.string "KAMON$"
gNameChoice_Karl:: @ 81C579D
.string "KARL$"
gNameChoice_Taylor:: @ 81C57A2
.string "TAYLOR$"
gNameChoice_Oscar:: @ 81C57A9
.string "OSCAR$"
gNameChoice_Hiro:: @ 81C57AF
.string "HIRO$"
gNameChoice_Max:: @ 81C57B4
.string "MAX$"
gNameChoice_Jon:: @ 81C57B8
.string "JON$"
gNameChoice_Ralph:: @ 81C57BC
.string "RALPH$"
gNameChoice_Kay:: @ 81C57C2
.string "KAY$"
gNameChoice_Tosh:: @ 81C57C6
.string "TOSH$"
gNameChoice_Roak:: @ 81C57CB
.string "ROAK$"
gNameChoice_Omi:: @ 81C57D0
.string "OMI$"
gNameChoice_Jodi:: @ 81C57D4
.string "JODI$"
gNameChoice_Amanda:: @ 81C57D9
.string "AMANDA$"
gNameChoice_Hillary:: @ 81C57E0
.string "HILLARY$"
gNameChoice_Makey:: @ 81C57E8
.string "MAKEY$"
gNameChoice_Michi:: @ 81C57EE
.string "MICHI$"
gNameChoice_Paula:: @ 81C57F4
.string "PAULA$"
gNameChoice_June:: @ 81C57FA
.string "JUNE$"
gNameChoice_Cassie:: @ 81C57FF
.string "CASSIE$"
gNameChoice_Rey:: @ 81C5806
.string "REY$"
gNameChoice_Seda:: @ 81C580A
.string "SEDA$"
gNameChoice_Kiko:: @ 81C580F
.string "KIKO$"
gNameChoice_Mina:: @ 81C5814
.string "MINA$"
gNameChoice_Norie:: @ 81C5819
.string "NORIE$"
gNameChoice_Sai:: @ 81C581F
.string "SAI$"
gNameChoice_Momo:: @ 81C5823
.string "MOMO$"
gNameChoice_Suzi:: @ 81C5828
.string "SUZI$"
gNewGame_HelpDocs1:: @ 81C582D
.string "The various buttons will be explained in\n"
.string "the order of their importance.$"
gNewGame_HelpDocs2:: @ 81C5875
.string "Moves the main character.\n"
.string "Also used to choose various data\n"
.string "headings.$"
gNewGame_HelpDocs3:: @ 81C58BA
.string "Used to confirm a choice, check\n"
.string "things, chat, and scroll text.$"
gNewGame_HelpDocs4:: @ 81C58F9
.string "Used to exit, cancel a choice,\n"
.string "and cancel a mode.$"
gNewGame_HelpDocs5:: @ 81C592B
.string "Press this button to open the\n"
.string "MENU.$"
gNewGame_HelpDocs6:: @ 81C594F
.string "Used to shift items and to use\n"
.string "a registered item.$"
gNewGame_HelpDocs7:: @ 81C5981
.string "If you need help playing the\n"
.string "game, or on how to do things,\n"
.string "press the L or R Button.$"
gOakText_AskPlayerGender:: @ 81C59D5
.string "Now tell me. Are you a boy?\n"
.string "Or are you a girl?$"
gNewGameAdventureIntro1::
.string "In the world which you are about to\n"
.string "enter, you will embark on a grand\n"
.string "adventure with you as the hero.\n"
.string "\n"
.string "Speak to people and check things\n"
.string "wherever you go, be it towns, roads,\n"
.string "or caves. Gather information and\n"
.string "hints from every source.$"
gNewGameAdventureIntro2::
.string "New paths will open to you by helping\n"
.string "people in need, overcoming challenges,\n"
.string "and solving mysteries.\n"
.string "\n"
.string "At times, you will be challenged by\n"
.string "others and attacked by wild creatures.\n"
.string "Be brave and keep pushing on.$"
gNewGameAdventureIntro3::
.string "Through your adventure, we hope\n"
.string "that you will interact with all sorts\n"
.string "of people and achieve personal growth.\n"
.string "That is our biggest objective.\n"
.string "\n"
.string "Press the A Button, and let your\n"
.string "adventure begin!$"
gOakText_WelcomeToTheWorld:: @ 81C5C78
.string "Hello, there!\n"
.string "Glad to meet you!\pWelcome to the world of POKéMON!\pMy name is OAK.\pPeople affectionately refer to me\n"
.string "as the POKéMON PROFESSOR.\p$"
gOakText_WorldInhabited1:: @ 81C5D06
.string "This world…$"
gOakText_WorldInhabited2:: @ 81C5D12
.string "…is inhabited far and wide by\n"
.string "creatures called POKéMON.\p$"
gOakText_PetsBattlingStudy:: @ 81C5D4B
.string "For some people, POKéMON are pets.\n"
.string "Others use them for battling.\pAs for myself…\pI study POKéMON as a profession.\p$"
gOakText_TellMeALittleAboutYourself:: @ 81C5DBD
.string "But first, tell me a little about\n"
.string "yourself.\p$"
gOakText_AskPlayerName:: @ 81C5DEA
.string "Let's begin with your name.\n"
.string "What is it?\p$"
gOakText_FinalizePlayerName:: @ 81C5E13
.string "Right…\n"
.string "So your name is {PLAYER}.$"
gOakText_IntroduceRival:: @ 81C5E2E
.string "This is my grandson.\pHe's been your rival since you both\n"
.string "were babies.\p…Erm, what was his name now?$"
gOakText_AskRivalName:: @ 81C5E91
.string "Your rival's name, what was it now?$"
gOakText_ConfirmRivalName:: @ 81C5EB5
.string "…Er, was it {RIVAL}?$"
gOakText_RememberRivalName:: @ 81C5EC5
.string "That's right! I remember now!\n"
.string "His name is {RIVAL}!\p$"
gOakText_LegendAboutToUnfold:: @ 81C5EF4
.string "{PLAYER}!\pYour very own POKéMON legend is\n"
.string "about to unfold!\pA world of dreams and adventures\n"
.string "with POKéMON awaits! Let's go!$"
+47
View File
@@ -0,0 +1,47 @@
Text_ObtainedTheX:: @ 81A51F6
.string "Obtained the {STR_VAR_2}!$"
Text_BagIsFull:: @ 81A5207
.string "The BAG is full…$"
Text_PutItemAway:: @ 81A5218
.string "{PLAYER} put the {STR_VAR_2}\n"
.string "in the {STR_VAR_3}.$"
Text_FoundOneItem:: @ 81A5231
.string "{PLAYER} found one {STR_VAR_2}!$"
Text_TooBadBagFull:: @ 81A5242
.string "Too bad!\n"
.string "The BAG is full…$"
Text_FoundXCoins:: @ 81A525C
.string "{PLAYER} found\n"
.string "{STR_VAR_1} {STR_VAR_2}!$"
Text_PutCoinsAwayInCoinCase:: @ 81A526C
.string "{PLAYER} put the COINS away in\n"
.string "the COIN CASE.$"
Text_CoinCaseIsFull:: @ 81A5294
.string "Too bad!\n"
.string "The COIN CASE is full…$"
Text_NothingToPutThemIn:: @ 81A52B4
.string "Too bad!\n"
.string "There's nothing to put them in…$"
Text_FoundXItems:: @ 81A52DD
.string "{PLAYER} found\n"
.string "{STR_VAR_1} {STR_VAR_2}(s)!$"
Text_1A52F0:: @ 81A52F0
.string "Obtained the {STR_VAR_2}!$"
Text_1A5301:: @ 81A5301
.string "Too bad! There's no room left for\n"
.string "another {STR_VAR_2}…$"
gUnknown_81A532F:: @ 81A532F
.string "The {STR_VAR_2} was transferred\n"
.string "to the PC.$"
+155
View File
@@ -0,0 +1,155 @@
gUnknown_81C5F69::
.string "POKé DUDE: The speedier of the\n"
.string "battlers gets to attack first.$"
gUnknown_81C5FA7::
.string "It looks like my RATTATA was\n"
.string "faster than the PIDGEY.$"
gUnknown_81C5FDC::
.string "The battlers take turns attacking\n"
.string "and reducing each other's HP.$"
gUnknown_81C601C::
.string "My RATTATA reduced the foe's HP\n"
.string "to zero, so it wins!\p"
.string "The POKéMON that took part in the\n"
.string "battle get EXP. Points.\p"
.string "When a POKéMON collects enough\n"
.string "EXP. Points, it levels up.\p"
.string "Leveling up makes your POKéMON\n"
.string "stronger than before.$"
gUnknown_81C60FA::
.string "POKé DUDE: Uh-oh…\n"
.string "My RATTATA has been poisoned…\p"
.string "If a POKéMON is poisoned, it loses\n"
.string "HP steadily.$"
gUnknown_81C615A::
.string "If a POKéMON develops a status\n"
.string "problem, heal it right away.$"
gUnknown_81C6196::
.string "Using an item on a POKéMON uses\n"
.string "up one turn, though.\p"
.string "Now, it's the opponent's turn!$"
gUnknown_81C61EA::
.string "Yay!\n"
.string "We managed to win!$"
gUnknown_81C6202::
.string "POKé DUDE: The move BUBBLE is\n"
.string "a WATER-type attack.\p"
.string "The targeted ODDISH is a\n"
.string "GRASS/POISON-type POKéMON.\p"
.string "The WATER-type attack is absorbed\n"
.string "by the GRASS-type POKéMON…\p"
.string "As a result, the move becomes not\n"
.string "very effective, and inflicts only\l"
.string "half the usual damage.$"
gUnknown_81C6301::
.string "Uh-oh, this is not good!\p"
.string "The ABSORB attack you just saw\n"
.string "is a GRASS-type move.\p"
.string "POLIWAG is a WATER-type POKéMON.\p"
.string "So, ABSORB becomes super\n"
.string "effective, doubling the damage.$"
gUnknown_81C63A9::
.string "It's not going to be easy to win\n"
.string "with this matchup…\p"
.string "Let's try shifting POKéMON!$"
gUnknown_81C63F9::
.string "Shifting POKéMON in and out uses\n"
.string "up one turn.\p"
.string "Now, it's the opponent's turn.$"
gUnknown_81C6446::
.string "BUTTERFREE is a BUG/FLYING-type\n"
.string "POKéMON.\p"
.string "Against this POKéMON, a GRASS-\n"
.string "type attack…\p"
.string "…inflicts only half the usual\n"
.string "damage on a BUG-type POKéMON…\p"
.string "…And, it also causes only half the\n"
.string "damage on a FLYING-type POKéMON.\p"
.string "Therefore, BUTTERFREE, being a\n"
.string "BUG/FLYING POKéMON, only takes\l"
.string "one quarter of the usual damage.$"
gUnknown_81C657A::
.string "ODDISH is a GRASS/POISON-type\n"
.string "POKéMON.\p"
.string "A FLYING- or PSYCHIC-type attack\n"
.string "is super effective against it.\p"
.string "One of those types of attacks will\n"
.string "inflict double the usual damage.\p"
.string "Okay, here we go!$"
gUnknown_81C6637::
.string "Yeah!\n"
.string "We won!$"
gUnknown_81C6645::
.string "POKé DUDE: When you're trying to\n"
.string "catch a POKéMON, don't throw any\l"
.string "POKé BALLS right away.\p"
.string "First, you need to weaken it by\n"
.string "reducing its HP.$"
gUnknown_81C66CF::
.string "Okay, that should be good enough.\p"
.string "But, if it's possible, it would be\n"
.string "best if the target has a status\l"
.string "problem.\p"
.string "For instance, it would be easier\n"
.string "to catch if it were asleep or\l"
.string "paralyzed.$"
gUnknown_81C6787::
.string "This will make the POKéMON a lot\n"
.string "easier to catch!\p"
.string "Oh, yes. If you paralyze a\n"
.string "POKéMON, you can't make it fall\l"
.string "asleep on top of paralysis.\p"
.string "In other words, you can't double\n"
.string "up status problems, okay?$"
gUnknown_81C684B::
.string "Okay!\n"
.string "Let me throw my POKé BALL!$"
gUnknown_81C686C::
.string "Before you throw a POKé BALL,\n"
.string "consider the condition and the\l"
.string "type of POKéMON, and pick the kind\l"
.string "of BALL that would work best.$"
+26
View File
@@ -0,0 +1,26 @@
gText_WouldYouLikeToSaveTheGame:: @ 81C55C9
.string "Would you like to save the game?$"
gText_AlreadySaveFile_WouldLikeToOverwrite:: @ 81C55EA
.string "There is already a saved file.\n"
.string "Is it okay to overwrite it?$"
gText_SavingDontTurnOffThePower:: @ 81C5625
.string "SAVING…\n"
.string "DON'T TURN OFF THE POWER.$"
gText_PlayerSavedTheGame:: @ 81C5647
.string "{PLAYER} saved the game.$"
gUnknown_81C565A::
.string "セーブに しっぱい しました‥$"
gText_DifferentGameFile:: @ 81C566A
.string "WARNING!\p"
.string "There is a different game file that\n"
.string "is already saved.\p"
.string "If you save now, the other file's\n"
.string "adventure, including items and\l"
.string "POKéMON, will be entirely lost.\p"
.string "Are you sure you want to save now\n"
.string "and overwrite the other save file?$"
+1
View File
@@ -1184,6 +1184,7 @@ extern const u8 Text_1BCB42[];
extern const u8 Text_1BCA95[];
extern const u8 Text_1BCACB[];
extern const u8 Text_1BCAF2[];
extern const u8 EventScript_PC[];
extern const u8 EventScript_RepelWoreOff[];
+1 -1
View File
@@ -706,6 +706,7 @@ extern const u8 gText_HpUp_1000[];
extern const u8 gText_PpUp_3000[];
// script_menu
extern const u8 Text_AccessWhichPC[];
extern const u8 gText_SomeoneSPc[];
extern const u8 gText_BillSPc[];
extern const u8 gText_SPc[];
@@ -713,7 +714,6 @@ extern const u8 gText_HallOfFame_2[];
extern const u8 gText_LogOff[];
extern const u8 gText_ProfOakSPc[];
extern const u8 gText_Other[];
extern const u8 gUnknown_81A508A[];
extern const u8 gOtherText_Double[];
extern const u8 gOtherText_Knockout[];
extern const u8 gOtherText_Mixed[];
+1 -1
View File
@@ -1007,7 +1007,7 @@ static void CreatePCMenuWindow(void)
void ScriptMenu_DisplayPCStartupPrompt(void)
{
sub_80F7768(0, TRUE);
AddTextPrinterParameterized2(0, 2, gUnknown_81A508A, 0, NULL, 2, 1, 3);
AddTextPrinterParameterized2(0, 2, Text_AccessWhichPC, 0, NULL, 2, 1, 3);
}
static void Task_ScriptShowMonPic(u8 taskId)