-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinjection-evergreen-cave.rb
More file actions
29 lines (28 loc) · 965 Bytes
/
injection-evergreen-cave.rb
File metadata and controls
29 lines (28 loc) · 965 Bytes
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
InjectionHelper.defineMapPatch(485) { |map|
map.createNewEvent(19, 7, "Accessibility Helper") { |event|
event.newPage { |page|
page.requiresSwitch(294)
page.setGraphic("trchar018")
page.interact(
[:ShowText, "Hey, need some help? I can push that rock into place for you."],
[:ShowChoices, ["Yes", "No"], 2],
[:When, 0, "Yes"],
[:ShowText, "Alright!"],
[:ChangeScreenColorTone, Tone.new(-255,-255,-255,0), 10],
[:PlaySoundEvent, 'Exit Door', 100, 100],
[:Wait, 10],
[:ControlVariable, 471, :[]=, :Constant, 5],
[:ChangeScreenColorTone, Tone.new(0,0,0,0), 10],
:Done,
[:When, 1, "No"],
[:ShowText, "No worries. I'm here if you need me."],
:Done)
}
event.newPage { |page|
page.requiresVariable(471, 7)
page.setGraphic("trchar018")
page.interact(
[:ShowText, "Happy exploring."])
}
}
}