mirror of https://github.com/nmlgc/ReC98.git
19 lines
415 B
C++
19 lines
415 B
C++
bool boss_phase_timed_out = false;
|
|
|
|
void near boss_reset(void)
|
|
{
|
|
boss_update = nullfunc_far;
|
|
boss_fg_render = nullfunc_near;
|
|
#if GAME == 5
|
|
boss_custombullets_render = nullfunc_near;
|
|
#endif
|
|
boss.phase = PHASE_HP_FILL;
|
|
boss.mode = 0;
|
|
boss.phase_state.patterns_seen = 0;
|
|
boss.phase_frame = 0;
|
|
boss.pos.velocity.set(0, 0);
|
|
boss.damage_this_frame = 0;
|
|
explosions_small_reset();
|
|
boss_phase_timed_out = true;
|
|
}
|