blob: 7f1df4e44b6a74f5bed82379bca6eecd06f24ace (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
FuchsiaCity_WardensHouse_MapScripts:: @ 816D74B
.byte 0
FuchsiaCity_WardensHouse_EventScript_Warden:: @ 816D74C
lock
faceplayer
goto_if_set FLAG_GOT_HM04, FuchsiaCity_WardensHouse_EventScript_ExplainStrength
goto_if_set FLAG_HIDE_SAFARI_ZONE_WEST_GOLD_TEETH, FuchsiaCity_WardensHouse_EventScript_GiveGoldTeeth
msgbox FuchsiaCity_WardensHouse_Text_HifFuffHefifoo, MSGBOX_YESNO
compare VAR_RESULT, YES
call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenYes
compare VAR_RESULT, NO
call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenNo
release
end
FuchsiaCity_WardensHouse_EventScript_GiveGoldTeeth:: @ 816D780
textcolor 3
playfanfare MUS_OBTAIN_TMHM
message FuchsiaCity_WardensHouse_Text_GaveGoldTeethToWarden
waitmessage
waitfanfare
msgbox FuchsiaCity_WardensHouse_Text_WardenPoppedInHisTeeth
call EventScript_RestorePrevTextColor
checkplayergender
compare VAR_RESULT, MALE
call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenThanksMale
compare VAR_RESULT, FEMALE
call_if_eq FuchsiaCity_WardensHouse_EventScript_WardenThanksFemale
giveitem_msg FuchsiaCity_WardensHouse_Text_ReceivedHM04FromWarden, ITEM_HM04
setflag FLAG_GOT_HM04
removeitem ITEM_GOLD_TEETH, 1
release
end
FuchsiaCity_WardensHouse_EventScript_WardenThanksMale:: @ 816D7D6
msgbox FuchsiaCity_WardensHouse_Text_ThanksSonGiveYouSomething
return
FuchsiaCity_WardensHouse_EventScript_WardenThanksFemale:: @ 816D7DF
msgbox FuchsiaCity_WardensHouse_Text_ThanksLassieGiveYouSomething
return
FuchsiaCity_WardensHouse_EventScript_WardenYes:: @ 816D7E8
msgbox FuchsiaCity_WardensHouse_Text_AhHowheeHoHoo
return
FuchsiaCity_WardensHouse_EventScript_WardenNo:: @ 816D7F1
msgbox FuchsiaCity_WardensHouse_Text_HeOhayHeHaHoo
return
FuchsiaCity_WardensHouse_EventScript_ExplainStrength:: @ 816D7FA
msgbox FuchsiaCity_WardensHouse_Text_ExplainStrength
release
end
FuchsiaCity_WardensHouse_EventScript_DisplaySign1:: @ 816D804
msgbox FuchsiaCity_WardensHouse_Text_MonPhotosFossilsOnDisplay, MSGBOX_SIGN
end
FuchsiaCity_WardensHouse_EventScript_DisplaySign2:: @ 816D80D
msgbox FuchsiaCity_WardensHouse_Text_OldMonMerchandiseOnDisplay, MSGBOX_SIGN
end
|