26 lines
1.5 KiB
Plaintext
26 lines
1.5 KiB
Plaintext
version=2
|
|
:if:<register.registered(icefalltile1)>=False
|
|
@entity.setvisible(1,1)
|
|
@register.register(icefalltile1)
|
|
@sound.play(ice_crack)
|
|
:else
|
|
@sound.play(ice_break)
|
|
@entity.settexture(1,0,[Routes,192,96,16,16])
|
|
@level.wait(20)
|
|
@player.warp(icefall\basement.dat,1,2.1,7)
|
|
@level.update
|
|
@player.setmovement(0,-2,0)
|
|
@player.move(1)
|
|
@sound.play(destroy)
|
|
@player.resetmovement
|
|
@register.unregister(icefalltile0)
|
|
@register.unregister(icefalltile1)
|
|
@register.unregister(icefalltile2)
|
|
@register.unregister(icefalltile3)
|
|
@register.unregister(icefalltile4)
|
|
@register.unregister(icefalltile5)
|
|
@register.unregister(icefalltile6)
|
|
@register.unregister(icefalltile7)
|
|
@register.unregister(icefalltile8)
|
|
:endif
|
|
:end |