touhou-pride-jam-2021/thpj3/objects/obj_boss_parent/Create_0.gml

30 lines
653 B
Plaintext
Raw Normal View History

2021-06-11 04:39:22 -07:00
invuln = true;
phase_mode = MODE_APPROACH;
face_dir = LEFT;
temp_speed = 0;
charge_timer = BOSS_APPROACH_TIME;
2021-06-12 14:57:20 -07:00
//these are default values and should be changed by any objects that inherit this object
2021-06-11 04:39:22 -07:00
phases = 3;
current_phase = 0;
phase_hp = [];
2021-06-12 14:57:20 -07:00
phase_hp[3] = 3000;
2021-06-11 04:39:22 -07:00
phase_hp[2] = 3500;
2021-06-12 14:57:20 -07:00
phase_hp[1] = 2500;
phase_hp[0] = 2000;
stagename = "stage1";
bossname = "midboss";
boss_title = "bossy person";
2021-06-11 04:39:22 -07:00
hp = phase_hp[current_phase];
2021-06-12 14:57:20 -07:00
//
2021-06-11 04:39:22 -07:00
with ( obj_enemy_bullet_parent ) {
instance_destroy();
}
with ( obj_enemy_parent ) {
if ( self.id != other.id ) {
instance_destroy();
}
}
obj_stage_controller.timeline_running = false;