Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if vspeed > 0 && other.y+8
- {
- sound_play(bonk)
- with(other)hp -= global.atk
- instance_create(other.x,other.y,dmg)
- vspeed = -10
- }
- else
- if cbh = 1
- {
- cbh = 0
- alarm[0] = 40
- global.hp -= other.atk
- global.owset = other.atk
- with(other)instance_create(other.x,other.y,ow)
- sound_play(ouch)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement