2024-01-28 23:16:29 +00:00
|
|
|
// Midboss and boss state
|
|
|
|
// ----------------------
|
|
|
|
|
2024-05-25 18:31:09 +00:00
|
|
|
#include "pc98.h"
|
|
|
|
|
2024-01-28 23:53:01 +00:00
|
|
|
// Same indirection as used for the player position. Unfortunately not
|
|
|
|
// contiguous in memory, or else we could have created a struct for both.
|
|
|
|
extern screen_x_t boss_left_on_page[2];
|
|
|
|
extern screen_y_t boss_top_on_page[2];
|
|
|
|
extern screen_x_t near* boss_left_on_back_page;
|
|
|
|
extern screen_y_t near* boss_top_on_back_page;
|
|
|
|
|
2024-01-28 23:16:29 +00:00
|
|
|
// TH02 tracks boss and midboss health via the increasing amount of damage
|
|
|
|
// dealt, instead of using a decreasing HP value.
|
|
|
|
extern int boss_damage;
|
|
|
|
// ----------------------
|