Add project code
This commit is contained in:
6
scripts/is_dying/is_dying.gml
Normal file
6
scripts/is_dying/is_dying.gml
Normal file
@@ -0,0 +1,6 @@
|
||||
function is_dying(_sprite){
|
||||
if hp <= 0 && sprite_index != _sprite {
|
||||
is_stopping = true;
|
||||
sprite_index = _sprite;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user