pokeemerald/data/maps/LilycoveCity_LilycoveMuseum_2F/scripts.inc

330 lines
12 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
LilycoveCity_LilycoveMuseum_2F_MapScripts:: @ 821973A
2019-02-22 08:28:32 +01:00
map_script MAP_SCRIPT_ON_LOAD, LilycoveCity_LilycoveMuseum_2F_MapScript1_219745
map_script MAP_SCRIPT_ON_FRAME_TABLE, LilycoveCity_LilycoveMuseum_2F_MapScript2_2197FE
2017-11-10 02:21:31 +01:00
.byte 0
LilycoveCity_LilycoveMuseum_2F_MapScript1_219745: @ 8219745
2019-01-02 22:12:43 +01:00
goto_if_set FLAG_COOL_PAINTING_MADE, LilycoveCity_LilycoveMuseum_2F_EventScript_21978B
2017-11-10 02:21:31 +01:00
goto LilycoveCity_LilycoveMuseum_2F_EventScript_219754
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219754:: @ 8219754
2019-01-02 22:12:43 +01:00
goto_if_set FLAG_BEAUTY_PAINTING_MADE, LilycoveCity_LilycoveMuseum_2F_EventScript_2197A3
2017-11-10 02:21:31 +01:00
goto LilycoveCity_LilycoveMuseum_2F_EventScript_219763
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219763:: @ 8219763
2019-01-02 22:12:43 +01:00
goto_if_set FLAG_CUTE_PAINTING_MADE, LilycoveCity_LilycoveMuseum_2F_EventScript_2197BB
2017-11-10 02:21:31 +01:00
goto LilycoveCity_LilycoveMuseum_2F_EventScript_219772
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219772:: @ 8219772
2019-01-02 22:12:43 +01:00
goto_if_set FLAG_SMART_PAINTING_MADE, LilycoveCity_LilycoveMuseum_2F_EventScript_2197D3
2017-11-10 02:21:31 +01:00
goto LilycoveCity_LilycoveMuseum_2F_EventScript_219781
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219781:: @ 8219781
2019-01-02 22:12:43 +01:00
goto_if_set FLAG_TOUGH_PAINTING_MADE, LilycoveCity_LilycoveMuseum_2F_EventScript_2197EB
2017-11-10 02:21:31 +01:00
end
LilycoveCity_LilycoveMuseum_2F_EventScript_21978B:: @ 821978B
setmetatile 10, 6, METATILE_LilycoveMuseum_Painting2_Left, 1
setmetatile 11, 6, METATILE_LilycoveMuseum_Painting2_Right, 1
2017-11-10 02:21:31 +01:00
goto LilycoveCity_LilycoveMuseum_2F_EventScript_219754
end
LilycoveCity_LilycoveMuseum_2F_EventScript_2197A3:: @ 82197A3
setmetatile 18, 6, METATILE_LilycoveMuseum_Painting1_Left, 1
setmetatile 19, 6, METATILE_LilycoveMuseum_Painting1_Right, 1
2017-11-10 02:21:31 +01:00
goto LilycoveCity_LilycoveMuseum_2F_EventScript_219763
end
LilycoveCity_LilycoveMuseum_2F_EventScript_2197BB:: @ 82197BB
setmetatile 14, 10, METATILE_LilycoveMuseum_Painting3_Left, 1
setmetatile 15, 10, METATILE_LilycoveMuseum_Painting3_Right, 1
2017-11-10 02:21:31 +01:00
goto LilycoveCity_LilycoveMuseum_2F_EventScript_219772
end
LilycoveCity_LilycoveMuseum_2F_EventScript_2197D3:: @ 82197D3
setmetatile 6, 10, METATILE_LilycoveMuseum_Painting0_Left, 1
setmetatile 7, 10, METATILE_LilycoveMuseum_Painting0_Right, 1
2017-11-10 02:21:31 +01:00
goto LilycoveCity_LilycoveMuseum_2F_EventScript_219781
end
LilycoveCity_LilycoveMuseum_2F_EventScript_2197EB:: @ 82197EB
setmetatile 2, 6, METATILE_LilycoveMuseum_Painting4_Left, 1
setmetatile 3, 6, METATILE_LilycoveMuseum_Painting4_Right, 1
2017-11-10 02:21:31 +01:00
end
LilycoveCity_LilycoveMuseum_2F_MapScript2_2197FE: @ 82197FE
map_script_2 VAR_LILYCOVE_MUSEUM_2F_STATE, 0, LilycoveCity_LilycoveMuseum_2F_EventScript_219808
2017-11-10 02:21:31 +01:00
.2byte 0
LilycoveCity_LilycoveMuseum_2F_EventScript_219808:: @ 8219808
lockall
applymovement 1, Common_Movement_FacePlayer
applymovement EVENT_OBJ_ID_PLAYER, LilycoveCity_LilycoveMuseum_2F_Movement_219861
2017-11-10 02:21:31 +01:00
waitmovement 0
msgbox LilycoveCity_LilycoveMuseum_2F_Text_2199EB, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
applymovement 1, LilycoveCity_LilycoveMuseum_2F_Movement_219863
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, LilycoveCity_LilycoveMuseum_2F_Movement_219863
2017-11-10 02:21:31 +01:00
waitmovement 0
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219A0D, MSGBOX_SIGN
applymovement 1, Common_Movement_FacePlayer
2017-11-10 02:21:31 +01:00
waitmovement 0
applymovement EVENT_OBJ_ID_PLAYER, LilycoveCity_LilycoveMuseum_2F_Movement_219861
2017-11-10 02:21:31 +01:00
waitmovement 0
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219BC4, MSGBOX_SIGN
copyvar VAR_LILYCOVE_MUSEUM_2F_STATE, 0x1
2017-11-10 02:21:31 +01:00
releaseall
end
LilycoveCity_LilycoveMuseum_2F_Movement_219861: @ 8219861
walk_in_place_fastest_left
2017-11-10 02:21:31 +01:00
step_end
LilycoveCity_LilycoveMuseum_2F_Movement_219863: @ 8219863
face_up
delay_16
2017-11-10 02:21:31 +01:00
step_end
LilycoveCity_LilycoveMuseum_2F_EventScript_219866:: @ 8219866
lockall
2019-01-02 22:12:43 +01:00
goto_if_set FLAG_RECEIVED_GLASS_ORNAMENT, LilycoveCity_LilycoveMuseum_2F_EventScript_219921
2019-01-19 23:04:33 +01:00
specialvar VAR_0x8004, CountPlayerContestPaintings
2017-11-10 02:21:31 +01:00
switch VAR_0x8004
case 1, LilycoveCity_LilycoveMuseum_2F_EventScript_2198BA
case 2, LilycoveCity_LilycoveMuseum_2F_EventScript_2198BA
case 3, LilycoveCity_LilycoveMuseum_2F_EventScript_2198BA
case 4, LilycoveCity_LilycoveMuseum_2F_EventScript_2198BA
case 5, LilycoveCity_LilycoveMuseum_2F_EventScript_2198C3
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219CF3, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
LilycoveCity_LilycoveMuseum_2F_EventScript_2198BA:: @ 82198BA
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219D42, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
LilycoveCity_LilycoveMuseum_2F_EventScript_2198C3:: @ 82198C3
applymovement 1, Common_Movement_FacePlayer
2017-11-10 02:21:31 +01:00
waitmovement 0
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219DD4, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
applymovement 1, LilycoveCity_LilycoveMuseum_2F_Movement_219863
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219DE6, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
goto LilycoveCity_LilycoveMuseum_2F_EventScript_2198EA
end
LilycoveCity_LilycoveMuseum_2F_EventScript_2198EA:: @ 82198EA
applymovement 1, Common_Movement_FacePlayer
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219EC5, MSGBOX_DEFAULT
2019-09-16 05:47:07 +02:00
givedecoration_std DECOR_GLASS_ORNAMENT
compare VAR_RESULT, 0
2018-12-22 02:28:24 +01:00
goto_if_eq LilycoveCity_LilycoveMuseum_2F_EventScript_219911
2019-01-02 22:12:43 +01:00
setflag FLAG_RECEIVED_GLASS_ORNAMENT
2017-11-10 02:21:31 +01:00
closemessage
releaseall
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219911:: @ 8219911
call Common_EventScript_NoRoomForDecor
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219EED, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
releaseall
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219921:: @ 8219921
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219F1B, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
releaseall
end
LilycoveCity_LilycoveMuseum_2F_EventScript_21992B:: @ 821992B
lockall
2019-01-02 22:12:43 +01:00
goto_if_set FLAG_CUTE_PAINTING_MADE, LilycoveCity_LilycoveMuseum_2F_EventScript_2199C1
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219FA0, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
LilycoveCity_LilycoveMuseum_2F_EventScript_21993E:: @ 821993E
lockall
2019-01-02 22:12:43 +01:00
goto_if_set FLAG_TOUGH_PAINTING_MADE, LilycoveCity_LilycoveMuseum_2F_EventScript_2199DD
msgbox LilycoveCity_LilycoveMuseum_2F_Text_219FD3, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219951:: @ 8219951
lockall
2019-01-02 22:12:43 +01:00
goto_if_set FLAG_COOL_PAINTING_MADE, LilycoveCity_LilycoveMuseum_2F_EventScript_2199A5
msgbox LilycoveCity_LilycoveMuseum_2F_Text_21A03B, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219964:: @ 8219964
lockall
2019-01-02 22:12:43 +01:00
goto_if_set FLAG_BEAUTY_PAINTING_MADE, LilycoveCity_LilycoveMuseum_2F_EventScript_2199B3
msgbox LilycoveCity_LilycoveMuseum_2F_Text_21A008, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219977:: @ 8219977
lockall
2019-01-02 22:12:43 +01:00
goto_if_set FLAG_SMART_PAINTING_MADE, LilycoveCity_LilycoveMuseum_2F_EventScript_2199CF
msgbox LilycoveCity_LilycoveMuseum_2F_Text_21A06D, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
LilycoveCity_LilycoveMuseum_2F_EventScript_21998A:: @ 821998A
msgbox LilycoveCity_LilycoveMuseum_2F_Text_21A0BD, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
LilycoveCity_LilycoveMuseum_2F_EventScript_219993:: @ 8219993
msgbox LilycoveCity_LilycoveMuseum_2F_Text_21A132, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
LilycoveCity_LilycoveMuseum_2F_EventScript_21999C:: @ 821999C
msgbox LilycoveCity_LilycoveMuseum_2F_Text_21A1A8, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
LilycoveCity_LilycoveMuseum_2F_EventScript_2199A5:: @ 82199A5
msgbox LilycoveCity_LilycoveMuseum_2F_Text_21A0A1, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
fadescreen 1
drawcontestwinner 9
releaseall
end
LilycoveCity_LilycoveMuseum_2F_EventScript_2199B3:: @ 82199B3
msgbox LilycoveCity_LilycoveMuseum_2F_Text_21A0A1, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
fadescreen 1
drawcontestwinner 10
releaseall
end
LilycoveCity_LilycoveMuseum_2F_EventScript_2199C1:: @ 82199C1
msgbox LilycoveCity_LilycoveMuseum_2F_Text_21A0A1, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
fadescreen 1
drawcontestwinner 11
releaseall
end
LilycoveCity_LilycoveMuseum_2F_EventScript_2199CF:: @ 82199CF
msgbox LilycoveCity_LilycoveMuseum_2F_Text_21A0A1, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
fadescreen 1
drawcontestwinner 12
releaseall
end
LilycoveCity_LilycoveMuseum_2F_EventScript_2199DD:: @ 82199DD
msgbox LilycoveCity_LilycoveMuseum_2F_Text_21A0A1, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
fadescreen 1
drawcontestwinner 13
releaseall
end
LilycoveCity_LilycoveMuseum_2F_Text_2199EB: @ 82199EB
.string "This is our special exhibit hall.$"
LilycoveCity_LilycoveMuseum_2F_Text_219A0D: @ 8219A0D
.string "As you can plainly see, there is not\n"
.string "a single painting on exhibit.\p"
2018-12-07 16:41:08 +01:00
.string "Here, I don't wish to exhibit works of\n"
2017-11-10 02:21:31 +01:00
.string "so-called classical art.\p"
.string "Such classical works you can see on\n"
.string "our ground floor.\p"
.string "I wish to exhibit work that is far\n"
.string "different from the classics.\p"
.string "Art, after all, is not restricted to old,\n"
.string "famous works!\p"
.string "This exhibit hall, I wish to fill it with…\p"
.string "Modern and vibrant artworks of\n"
.string "POKéMON seemingly ready to spring\l"
.string "forth into glorious life!$"
LilycoveCity_LilycoveMuseum_2F_Text_219BC4: @ 8219BC4
2018-12-07 16:41:08 +01:00
.string "I beg your pardon. I didn't intend\n"
2017-11-10 02:21:31 +01:00
.string "to monopolize the conversation.\p"
.string "Now, as you are young, and yet\n"
.string "obviously well traveled…\p"
.string "You must encounter lively POKéMON\n"
.string "and works of art depicting them.\p"
.string "If you were to come across such\n"
.string "a painting, may we ask you to obtain\l"
2018-12-07 16:41:08 +01:00
.string "the artist's permission to exhibit\l"
2017-11-10 02:21:31 +01:00
.string "it here?$"
LilycoveCity_LilycoveMuseum_2F_Text_219CF3: @ 8219CF3
.string "I wish to fill this exhibit hall with\n"
.string "modern and vibrant paintings of\l"
.string "POKéMON.$"
LilycoveCity_LilycoveMuseum_2F_Text_219D42: @ 8219D42
2018-12-07 16:41:08 +01:00
.string "Thanks to you, we've added a new\n"
2017-11-10 02:21:31 +01:00
.string "painting to our collection!\p"
2018-12-07 16:41:08 +01:00
.string "I've heard it depicts your POKéMON.\n"
2017-11-10 02:21:31 +01:00
.string "Truly magnificent!\p"
.string "Thank you so very, very much!$"
LilycoveCity_LilycoveMuseum_2F_Text_219DD4: @ 8219DD4
2018-12-07 16:41:08 +01:00
.string "Ah! It's you!\n"
2017-11-10 02:21:31 +01:00
.string "{PLAYER}!$"
LilycoveCity_LilycoveMuseum_2F_Text_219DE6: @ 8219DE6
2018-12-07 16:41:08 +01:00
.string "Isn't this marvelous?\n"
2017-11-10 02:21:31 +01:00
.string "This collection of paintings!\p"
.string "Each one of them flawless!\n"
.string "None better than another!\p"
.string "These paintings have attracted\n"
.string "more guests to our ART MUSEUM.\p"
.string "Sincerely, I thank you, {PLAYER}.\n"
.string "This is my dream come true!$"
LilycoveCity_LilycoveMuseum_2F_Text_219EC5: @ 8219EC5
.string "This is merely a token of my gratitude.$"
LilycoveCity_LilycoveMuseum_2F_Text_219EED: @ 8219EED
.string "I will keep this for you until we\n"
.string "meet again.$"
LilycoveCity_LilycoveMuseum_2F_Text_219F1B: @ 8219F1B
.string "Ah, so good to see you, {PLAYER}!\p"
2018-12-07 16:41:08 +01:00
.string "It's an honor to have you visit us\n"
2017-11-10 02:21:31 +01:00
.string "on your busy journeys.\p"
.string "Please, relax and do enjoy your\n"
.string "visit with us.$"
LilycoveCity_LilycoveMuseum_2F_Text_219FA0: @ 8219FA0
2018-12-07 16:41:08 +01:00
.string "It's a picture frame with pink-colored\n"
2017-11-10 02:21:31 +01:00
.string "adornments.$"
LilycoveCity_LilycoveMuseum_2F_Text_219FD3: @ 8219FD3
2018-12-07 16:41:08 +01:00
.string "It's a picture frame with\n"
2017-11-10 02:21:31 +01:00
.string "yellow-colored adornments.$"
LilycoveCity_LilycoveMuseum_2F_Text_21A008: @ 821A008
2018-12-07 16:41:08 +01:00
.string "It's a picture frame with\n"
2017-11-10 02:21:31 +01:00
.string "blue-colored adornments.$"
LilycoveCity_LilycoveMuseum_2F_Text_21A03B: @ 821A03B
2018-12-07 16:41:08 +01:00
.string "It's a picture frame with\n"
2017-11-10 02:21:31 +01:00
.string "red-colored adornments.$"
LilycoveCity_LilycoveMuseum_2F_Text_21A06D: @ 821A06D
2018-12-07 16:41:08 +01:00
.string "It's a picture frame with\n"
2017-11-10 02:21:31 +01:00
.string "green-colored adornments.$"
LilycoveCity_LilycoveMuseum_2F_Text_21A0A1: @ 821A0A1
2018-12-07 16:41:08 +01:00
.string "It's a painting of POKéMON.$"
2017-11-10 02:21:31 +01:00
LilycoveCity_LilycoveMuseum_2F_Text_21A0BD: @ 821A0BD
2018-12-07 16:41:08 +01:00
.string "I've been away awhile, so the new\n"
2017-11-10 02:21:31 +01:00
.string "paintings up here surprised me.\p"
.string "I wish someone would paint my POKéMON\n"
.string "this pretty.$"
LilycoveCity_LilycoveMuseum_2F_Text_21A132: @ 821A132
.string "Well… So this is where they show\n"
.string "the topical POKéMON paintings.\p"
.string "I see, these new paintings are indeed\n"
.string "rather amusing.$"
LilycoveCity_LilycoveMuseum_2F_Text_21A1A8: @ 821A1A8
.string "Wow, is that right?\n"
.string "These paintings are of your POKéMON.\p"
2018-12-07 16:41:08 +01:00
.string "Isn't that just the ultimate joy for\n"
2017-11-10 02:21:31 +01:00
.string "a TRAINER?$"