SAX core gives health, set variable properly

pull/9/head 1.5.2
DodoBirb 4 years ago
parent 276daaabd3
commit 77e022bc32

@ -464,5 +464,6 @@ global.damageMult = 0
global.warpPipeCooldown = 0 global.warpPipeCooldown = 0
global.experimental = 0 global.experimental = 0
global.saveStationCooldown = 0 global.saveStationCooldown = 0
global.hitBySuper = 0
reset_map() reset_map()
load_character_vars() load_character_vars()

@ -57,6 +57,18 @@ if instance_exists(oClient)
global.otherAbsorbRelativeX = oCharacter.x global.otherAbsorbRelativeX = oCharacter.x
global.otherAbsorbRelativeY = oCharacter.y global.otherAbsorbRelativeY = oCharacter.y
global.otherAbsorbSpriteHeight = (oCharacter.sprite_height / 2) global.otherAbsorbSpriteHeight = (oCharacter.sprite_height / 2)
global.playerhealth += 700
if (global.playerhealth > global.maxhealth)
global.playerhealth = global.maxhealth
global.missiles += 75
if (global.missiles > global.maxmissiles)
global.missiles = global.maxmissiles
global.smissiles += 10
if (global.smissiles > global.maxsmissiles)
global.smissiles = global.maxsmissiles
global.pbombs += 5
if (global.pbombs > global.maxpbombs)
global.pbombs = global.maxpbombs
with (oClient) with (oClient)
event_user(4) event_user(4)
} }

Loading…
Cancel
Save