35 lines
1.5 KiB
Plaintext
35 lines
1.5 KiB
Plaintext
version=2
|
|
:if:<register.value(1can)>=6
|
|
@npc.remove(12)
|
|
@npc.remove(13)
|
|
@register.unregister(1can,int)
|
|
@text.show(Found a switch!*Pressed it.)
|
|
:end
|
|
:endif
|
|
|
|
:if:<register.value(can)>=6
|
|
@npc.remove(10)
|
|
@npc.remove(11)
|
|
@register.register(foundcan0)
|
|
@register.unregister(can,int)
|
|
:select:<system.random(0,3)>
|
|
:when:0
|
|
@register.register(1can,int,1)
|
|
:when:1
|
|
@register.register(1can,int,7)
|
|
:when:2
|
|
@register.register(1can,int,11)
|
|
:when:3
|
|
@register.register(1can,int,5)
|
|
:endwhen
|
|
@text.show(Found a switch!*Pressed it.)
|
|
:end
|
|
:endif
|
|
|
|
@text.show(Nope!~Nothing here but trash.)
|
|
|
|
:if:<register.registered(foundcan0)>=True
|
|
@text.show(alert)
|
|
@script.start(vermilion\gymtrash\reset)
|
|
:endif
|
|
:end |