summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGriffinR <25753467+GriffinRichards@users.noreply.github.com>2019-08-04 04:22:19 -0400
committerhuderlem <huderlem@gmail.com>2019-08-21 17:06:55 -0500
commit23979c4d7d6f7b10107f94781add4c9d3b0c7e52 (patch)
treea2cb38fab2ebd88cc9a9964c32d96dff259991be /data
parentd68497f823b44381f7302b40faf34f639da3bab1 (diff)
initial documentation commit
Diffstat (limited to 'data')
-rw-r--r--data/event_scripts.s28
-rw-r--r--data/maps/LilycoveCity_PokemonCenter_1F/scripts.inc2
-rw-r--r--data/specials.inc20
3 files changed, 25 insertions, 25 deletions
diff --git a/data/event_scripts.s b/data/event_scripts.s
index ca8152e75..1952fae93 100644
--- a/data/event_scripts.s
+++ b/data/event_scripts.s
@@ -4281,7 +4281,7 @@ GraniteCave_B1F_Movement_2A8369: @ 82A8369
step_end
LilycoveCity_PokemonCenter_1F_EventScript_2A836B:: @ 82A836B
- special sub_818DAEC
+ special Script_GetLilycoveLadyId
switch VAR_RESULT
case 0, LilycoveCity_PokemonCenter_1F_EventScript_2A8554
case 1, LilycoveCity_PokemonCenter_1F_EventScript_2A8395
@@ -4307,7 +4307,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_2A83C6:: @ 82A83C6
end
LilycoveCity_PokemonCenter_1F_EventScript_2A83D0:: @ 82A83D0
- special sub_818DC2C
+ special BufferFavorLadyDescription
msgbox LilycoveCity_PokemonCenter_1F_Text_2A8A7D, MSGBOX_DEFAULT
specialvar VAR_RESULT, sub_818DC60
compare VAR_RESULT, 0
@@ -4357,7 +4357,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_2A845E:: @ 82A845E
LilycoveCity_PokemonCenter_1F_EventScript_2A846C:: @ 82A846C
fadescreen 1
setvar VAR_RESULT, 0
- special sub_818DD78
+ special OpenBagMenuForFavorLady
waitstate
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_2A848E
@@ -4382,7 +4382,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_2A84AD:: @ 82A84AD
end
LilycoveCity_PokemonCenter_1F_EventScript_2A84C9:: @ 82A84C9
- special sub_818DC2C
+ special BufferFavorLadyDescription
msgbox LilycoveCity_PokemonCenter_1F_Text_2A8C0F, MSGBOX_DEFAULT
release
end
@@ -4396,13 +4396,13 @@ LilycoveCity_PokemonCenter_1F_EventScript_2A84D6:: @ 82A84D6
end
LilycoveCity_PokemonCenter_1F_EventScript_2A84F2:: @ 82A84F2
- special sub_818DC2C
+ special BufferFavorLadyDescription
msgbox LilycoveCity_PokemonCenter_1F_Text_2A8C6F, MSGBOX_DEFAULT
release
end
LilycoveCity_PokemonCenter_1F_EventScript_2A84FF:: @ 82A84FF
- special sub_818DC2C
+ special BufferFavorLadyDescription
msgbox LilycoveCity_PokemonCenter_1F_Text_2A8CC8, MSGBOX_DEFAULT
goto LilycoveCity_PokemonCenter_1F_EventScript_2A8510
end
@@ -4432,7 +4432,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_2A8554:: @ 82A8554
lock
faceplayer
msgbox LilycoveCity_PokemonCenter_1F_Text_2A8E2B, MSGBOX_DEFAULT
- specialvar VAR_RESULT, sub_818E038
+ specialvar VAR_RESULT, GetQuizLadyPhase
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_2A8585
compare VAR_RESULT, 1
@@ -4452,7 +4452,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_2A8585:: @ 82A8585
end
LilycoveCity_PokemonCenter_1F_EventScript_2A85AC:: @ 82A85AC
- specialvar VAR_RESULT, sub_818E2D8
+ specialvar VAR_RESULT, IsQuizLadyWaitingForChallenger
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_2A8759
compare VAR_RESULT, 1
@@ -4489,7 +4489,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_2A8612:: @ 82A8612
end
LilycoveCity_PokemonCenter_1F_EventScript_2A861C:: @ 82A861C
- special sub_818E3BC
+ special ClearQuizLadyResponse
compare VAR_0x8004, 0
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_2A864C
compare VAR_0x8004, EASY_CHAT_TYPE_QUIZ_ANSWER
@@ -4528,7 +4528,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_2A867F:: @ 82A867F
end
LilycoveCity_PokemonCenter_1F_EventScript_2A8689:: @ 82A8689
- special sub_818E37C
+ special SetQuizLadyPhase_MakeYourOwn
msgbox LilycoveCity_PokemonCenter_1F_Text_2A8F4D, MSGBOX_DEFAULT
specialvar VAR_RESULT, sub_818E308
compare VAR_RESULT, 0
@@ -4576,8 +4576,8 @@ LilycoveCity_PokemonCenter_1F_EventScript_2A8716:: @ 82A8716
LilycoveCity_PokemonCenter_1F_EventScript_2A8724:: @ 82A8724
setvar VAR_0x8005, 0
- special sub_818E358
- special sub_818E37C
+ special BufferQuizPrizeItem
+ special SetQuizLadyPhase_MakeYourOwn
giveitem_std VAR_0x8005
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_2A874C
@@ -4586,7 +4586,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_2A8724:: @ 82A8724
LilycoveCity_PokemonCenter_1F_EventScript_2A874C:: @ 82A874C
msgbox LilycoveCity_PokemonCenter_1F_Text_2A906A, MSGBOX_DEFAULT
- special sub_818E39C
+ special SetQuizLadyPhase_GivePrize
release
end
@@ -4629,7 +4629,7 @@ LilycoveCity_PokemonCenter_1F_EventScript_2A87AF:: @ 82A87AF
LilycoveCity_PokemonCenter_1F_EventScript_2A87CE:: @ 82A87CE
msgbox LilycoveCity_PokemonCenter_1F_Text_2A9270, MSGBOX_DEFAULT
special sub_818E430
- special sub_818E3BC
+ special ClearQuizLadyResponse
setvar VAR_0x8004, 16
LilycoveCity_PokemonCenter_1F_EventScript_2A87E1:: @ 82A87E1
diff --git a/data/maps/LilycoveCity_PokemonCenter_1F/scripts.inc b/data/maps/LilycoveCity_PokemonCenter_1F/scripts.inc
index 236eb3d23..c2e1deb5d 100644
--- a/data/maps/LilycoveCity_PokemonCenter_1F/scripts.inc
+++ b/data/maps/LilycoveCity_PokemonCenter_1F/scripts.inc
@@ -9,7 +9,7 @@ LilycoveCity_PokemonCenter_1F_OnTransition: @ 821C5BD
end
LilycoveCity_PokemonCenter_1F_EventScript_21C5C6:: @ 821C5C6
- special sub_818D9C0
+ special SetLilycoveLadyGfx
compare VAR_RESULT, 0
goto_if_eq LilycoveCity_PokemonCenter_1F_EventScript_21C5E0
compare VAR_RESULT, 1
diff --git a/data/specials.inc b/data/specials.inc
index 78a949df5..bf2d6621e 100644
--- a/data/specials.inc
+++ b/data/specials.inc
@@ -372,30 +372,30 @@ gSpecials:: @ 81DBA64
def_special SetSecretBaseSecretsTvFlags_LargeDecorationSpot
def_special SetSecretBaseSecretsTvFlags_SmallDecorationSpot
def_special SetSecretBaseSecretsTvFlags_Poster
- def_special sub_818D9C0
- def_special sub_818DAEC
+ def_special SetLilycoveLadyGfx
+ def_special Script_GetLilycoveLadyId
def_special sub_818DBE8
- def_special sub_818DC2C
+ def_special BufferFavorLadyDescription
def_special sub_818DC60
def_special sub_818DCC8
def_special sub_818DD14
def_special sub_818DD54
- def_special sub_818DD78
+ def_special OpenBagMenuForFavorLady
def_special sub_818DE44
def_special sub_818DE5C
def_special sub_818DEA0
def_special sub_818DEDC
- def_special sub_818E038
+ def_special GetQuizLadyPhase
def_special sub_818E06C
- def_special sub_818E2D8
+ def_special IsQuizLadyWaitingForChallenger
def_special sub_811A858
def_special sub_818E2FC
def_special sub_818E308
- def_special sub_818E358
- def_special sub_818E37C
+ def_special BufferQuizPrizeItem
+ def_special SetQuizLadyPhase_MakeYourOwn
def_special sub_818E298
- def_special sub_818E39C
- def_special sub_818E3BC
+ def_special SetQuizLadyPhase_GivePrize
+ def_special ClearQuizLadyResponse
def_special sub_818E3E0
def_special sub_818E430
def_special sub_818E47C