Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Information about object: The_Wheel
- Sprite: wheel
- Solid: false
- Visible: true
- Depth: 0
- Persistent: false
- Parent: <no parent>
- Mask: <same as sprite>
- Create Event:
- execute code:
- image_speed=0
- image_index=0
- set variable can_click to true
- set variable spinner to 0
- set variable level to 1
- Alarm Event for alarm 0:
- set variable can_click to true
- Step Event:
- COMMENT: 1
- if spinner is equal to 1.1
- set variable global.impact_money relative to irandom_range(1,12)
- set variable global.plus to true
- set variable spinner to 0
- if spinner is equal to 1.2
- set variable global.impact_money relative to irandom_range(0,11) - 12
- set variable global.plus to false
- set variable spinner to 0
- if spinner is equal to 1.3
- set variable level to 2
- set variable can_click to false
- set Alarm 0 to 8
- create instance of object LVup at position (250,250)
- execute code:
- image_index+=1
- set variable spinner to 0
- COMMENT: 2
- if spinner is equal to 2.1
- set variable global.impact_money relative to irandom_range(3,24)
- set variable global.plus to true
- set variable spinner to 0
- if spinner is equal to 2.2
- set variable global.impact_money relative to irandom_range(1,22) - 25
- set variable global.plus to false
- set variable spinner to 0
- if spinner is equal to 2.3
- set variable level to 3
- set variable can_click to false
- set Alarm 0 to 4
- create instance of object LVup at position (250,250)
- execute code:
- image_index+=1
- set variable spinner to 0
- COMMENT: 3
- if spinner is equal to 3.1
- set variable global.impact_money relative to irandom_range(3,25)
- set variable global.plus to true
- set variable spinner to 0
- if spinner is equal to 3.2
- set variable global.impact_money relative to irandom_range(0,22) - 25
- set variable global.plus to false
- set variable spinner to 0
- if spinner is equal to 3.3
- set variable level to 4
- set variable can_click to false
- execute code:
- image_index+=1
- create instance of object LVup at position (250,250)
- set Alarm 0 to 4
- set variable spinner to 0
- if spinner is equal to 3.4
- create instance of object Gameover at position (250,250)
- set variable spinner to 0
- COMMENT: 4
- if spinner is equal to 4.1
- set variable global.impact_money relative to irandom_range(5,28)
- set variable global.plus to true
- set variable spinner to 0
- if spinner is equal to 4.11
- set variable global.impact_money relative to irandom_range(5,25) * 2
- set variable global.plus to true
- set variable spinner to 0
- if spinner is equal to 4.2
- set variable global.impact_money relative to irandom_range(0,23) - 28
- set variable global.plus to false
- set variable spinner to 0
- if spinner is equal to 4.3
- set variable level to 5
- set variable can_click to false
- set Alarm 0 to 8
- create instance of object LVup at position (250,250)
- execute code:
- image_index+=1
- set variable spinner to 0
- if spinner is equal to 4.4
- create instance of object Gameover at position (250,250)
- set variable spinner to 0
- COMMENT: 5
- if spinner is equal to 5.1
- set variable global.impact_money relative to irandom_range(9,37)
- set variable global.plus to true
- set variable spinner to 0
- if spinner is equal to 5.11
- set variable global.impact_money relative to irandom_range(9,30) * 2
- set variable global.plus to true
- set variable spinner to 0
- if spinner is equal to 5.2
- set variable global.impact_money relative to irandom_range(0,28) - 37
- set variable global.plus to false
- set variable spinner to 0
- if spinner is equal to 5.22
- set variable global.impact_money relative to irandom_range(0,28) -74
- set variable global.plus to false
- set variable spinner to 0
- if spinner is equal to 5.3
- set variable level to 6
- set variable can_click to false
- set Alarm 0 to 4
- create instance of object LVup at position (250,250)
- execute code:
- image_index+=1
- set variable spinner to 0
- if spinner is equal to 5.4
- create instance of object Gameover at position (250,250)
- set variable spinner to 0
- if spinner is equal to 5.5
- create instance of object prize at position (250,250)
- set variable spinner to 0
- COMMENT: 6
- if spinner is equal to 6.1
- set variable global.impact_money relative to irandom_range(10,45)
- set variable global.plus to true
- set variable spinner to 0
- if spinner is equal to 6.11
- set variable global.impact_money relative to irandom_range(10,45) * 2
- set variable global.plus to true
- set variable spinner to 0
- if spinner is equal to 6.2
- set variable global.impact_money relative to irandom_range(0,35) - 45
- set variable global.plus to false
- set variable spinner to 0
- if spinner is equal to 6.22
- set variable global.impact_money relative to irandom_range(0,35) - 80
- set variable global.plus to false
- set variable spinner to 0
- if spinner is equal to 6.3
- set variable level to 7
- set variable can_click to false
- set Alarm 0 to 4
- execute code:
- image_index+=1
- set variable spinner to 0
- if spinner is equal to 6.4
- create instance of object Gameover at position (250,250)
- set variable spinner to 0
- if spinner is equal to 6.5
- create instance of object prize at position (250,250)
- set variable spinner to 0
- COMMENT: 7
- if spinner is equal to 2.1
- set variable global.impact_money relative to 0
- set variable global.plus to true
- set variable spinner to 0
- if spinner is equal to 2.2
- set variable global.impact_money relative to 0
- set variable global.plus to false
- set variable spinner to 0
- if spinner is equal to 2.3
- set variable level to 3
- set variable can_click to false
- set Alarm 0 to 25
- execute code:
- image_index+=1
- set variable spinner to 0
- if spinner is equal to 2.1
- set variable global.impact_money relative to 0
- set variable global.plus to true
- set variable spinner to 0
- if spinner is equal to 2.2
- set variable global.impact_money relative to 0
- set variable global.plus to false
- set variable spinner to 0
- if spinner is equal to 2.3
- set variable level to 3
- set variable can_click to false
- set Alarm 0 to 25
- execute code:
- image_index+=1
- set variable spinner to 0
- if spinner is equal to 2.1
- set variable global.impact_money relative to 0
- set variable global.plus to true
- set variable spinner to 0
- if spinner is equal to 2.2
- set variable global.impact_money relative to 0
- set variable global.plus to false
- set variable spinner to 0
- if spinner is equal to 2.3
- set variable level to 3
- set variable can_click to false
- set Alarm 0 to 25
- execute code:
- image_index+=1
- set variable spinner to 0
- Begin Step Event:
- if global.impact_money is larger than 0
- set variable global.money relative to global.impact_money
- set variable global.impact_money to 0
- if global.impact_money is smaller than 0
- set variable global.money relative to global.impact_money
- set variable global.impact_money to 0
- End Step Event:
- if global.money is not larger than 0
- create instance of object Gameover at position (250,250)
- set variable spinner to 0
- Keyboard Event for R-key Key:
- set variable global.money to 25
- restart the game
- Mouse Event for Glob Left Released:
- if level is equal to 1
- if can_click is equal to true
- set variable spinner to choose(1.1,1.1,1.2,1.1,1.1,1.2,1.2,1.2,1.3,1.3,1.3)
- set variable can_click to false
- set Alarm 0 to 4
- if level is equal to 2
- if can_click is equal to true
- set variable spinner to choose(2.1,2.1,2.1,2.2,2.2,2.2,2.3,2.3,2.3,2.3)
- set variable can_click to false
- set Alarm 0 to 4
- if level is equal to 3
- if can_click is equal to true
- set variable spinner to choose(3.1,3.1,3.2,3.1,3.1,3.2,3.2,3.2,3.3,3.3,3.3,3.4)
- set variable can_click to false
- set Alarm 0 to 4
- if level is equal to 4
- if can_click is equal to true
- set variable spinner to choose(4.1,4.11,4.1,4.1,4.2,4.2,4.2,4.2,4.3,4.3,4.3,4,4)
- set variable can_click to false
- set Alarm 0 to 4
- if level is equal to 5
- if can_click is equal to true
- set variable spinner to choose(5.1,5.1,5.1,5.2,5.2,5.2,5.3,5.3,5.4,5.5)
- set variable can_click to false
- set Alarm 0 to 4
- if level is equal to 6
- if can_click is equal to true
- set variable spinner to choose(6.1,6.11,6.11,6.2,6.22,6.3,6.3,6.4,6.4,6.5)
- set variable can_click to false
- set Alarm 0 to 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement