Author: Not specified Language: gml
Description: Not specified Timestamp: 2017-10-03 13:09:08 +0000
View raw paste Reply
  1. switch(sprite_index) {
  2.         case(spr_monster_1): health = 10; break;
  3.         case(spr_monster_2): health = 25; break;
  4.         case(spr_monster_boss): health = 50; break;
  5.         default: health = 5; break;
  6. }
View raw paste Reply