2017-11-10 02:21:31 +01:00
|
|
|
NewMauville_Entrance_MapScripts:: @ 82372AD
|
|
|
|
map_script 1, NewMauville_Entrance_MapScript1_2372B8
|
|
|
|
map_script 3, NewMauville_Entrance_MapScript1_2372FB
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
NewMauville_Entrance_MapScript1_2372B8: @ 82372B8
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x40BA, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
call_if 1, NewMauville_Entrance_EventScript_2372C4
|
|
|
|
end
|
|
|
|
|
|
|
|
NewMauville_Entrance_EventScript_2372C4:: @ 82372C4
|
|
|
|
setmetatile 3, 0, 788, 1
|
|
|
|
setmetatile 4, 0, 789, 1
|
|
|
|
setmetatile 5, 0, 790, 1
|
|
|
|
setmetatile 3, 1, 796, 1
|
|
|
|
setmetatile 4, 1, 797, 1
|
|
|
|
setmetatile 5, 1, 798, 1
|
|
|
|
return
|
|
|
|
|
|
|
|
NewMauville_Entrance_MapScript1_2372FB: @ 82372FB
|
2017-12-27 04:20:29 +01:00
|
|
|
setflag FLAG_LANDMARK_NEW_MAUVILLE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
NewMauville_Entrance_EventScript_2372FF:: @ 82372FF
|
|
|
|
lockall
|
|
|
|
applymovement 255, NewMauville_Entrance_Movement_2725A6
|
|
|
|
waitmovement 0
|
|
|
|
msgbox NewMauville_Entrance_Text_237382, 4
|
|
|
|
checkitem ITEM_BASEMENT_KEY, 1
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_eq NewMauville_Entrance_EventScript_237380
|
|
|
|
msgbox NewMauville_Entrance_Text_237396, 5
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_eq NewMauville_Entrance_EventScript_237380
|
|
|
|
msgbox NewMauville_Entrance_Text_2373AC, 4
|
|
|
|
setmetatile 3, 0, 707, 0
|
|
|
|
setmetatile 4, 0, 708, 0
|
|
|
|
setmetatile 5, 0, 709, 0
|
|
|
|
setmetatile 3, 1, 715, 1
|
|
|
|
setmetatile 4, 1, 716, 0
|
|
|
|
setmetatile 5, 1, 717, 1
|
|
|
|
special DrawWholeMapView
|
|
|
|
playse SE_BAN
|
|
|
|
setvar VAR_0x40BA, 1
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
NewMauville_Entrance_EventScript_237380:: @ 8237380
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
NewMauville_Entrance_Text_237382: @ 8237382
|
|
|
|
.string "The door is locked.$"
|
|
|
|
|
|
|
|
NewMauville_Entrance_Text_237396: @ 8237396
|
|
|
|
.string "Use the BASEMENT KEY?$"
|
|
|
|
|
|
|
|
NewMauville_Entrance_Text_2373AC: @ 82373AC
|
|
|
|
.string "{PLAYER} used the BASEMENT KEY.\p"
|
|
|
|
.string "The door opened!$"
|
|
|
|
|