27 lines
932 B
Plaintext
27 lines
932 B
Plaintext
version=2
|
|
:if:<register.registered(underground_dooropen)>=true
|
|
:then
|
|
@text.show(The door is open.)
|
|
:end
|
|
:endif
|
|
|
|
@text.show(The door is locked.)
|
|
|
|
:if:<inventory.countitem(133)>>0
|
|
:then
|
|
@Text.show(Use the Basement Key?)
|
|
@Options.show(Yes,No)
|
|
|
|
:when:Yes
|
|
@entity.warp(10,16,0,5)
|
|
@entity.setcollision(11,0)
|
|
@level.update
|
|
@register.register(underground_dooropen)
|
|
@sound.play(shutter)
|
|
@text.show(The door is open.)
|
|
|
|
:when:No
|
|
|
|
:endwhen
|
|
:endif
|
|
:end |