Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IF Actor("this").VelocityZ = 0
- STATIC _G0
- IF _G0 = 0
- SET _G0 = 1
- Map("this").PlaySprite("smoke01", Actor("this").X, Actor("this").Y + 1, Actor("this").Z, 1, -1, 0, 0.0175, 0)
- ELSE
- IF Actor("this").Variable("open") = 1
- STATIC _G1
- IF _G1 = 0
- SET _G1 = 1
- Pause(1000)
- STATIC _G2
- IF 1
- SET _G2 = Math.RandomDifferent(1, 2, _G2)
- ELSE
- SET _G2 = Math.Random(1, 2)
- ENDIF
- IF _G2 = 1
- STATIC _G3
- SET _G3 = 1
- :g9
- IF _G3 <= 5
- Pause(100)
- Map("this").CreateActor("money", "", Actor("this").X, Actor("this").Y, Actor("this").Z + 20, 0, 0)
- SET _G3 = _G3 + 1
- GOTO g9
- ENDIF
- :g131071
- ELSEIF _G2 = 2
- STATIC _G4
- SET _G4 = 1
- :g11
- IF _G4 <= 10
- Pause(100)
- Map("this").CreateActor("money", "", Actor("this").X, Actor("this").Y, Actor("this").Z + 20, 0, 0)
- SET _G4 = _G4 + 1
- GOTO g11
- ENDIF
- :g196607
- ENDIF
- ELSE
- ENDIF
- ELSE
- ENDIF
- ENDIF
- ELSE
- ENDIF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement