Skip to content

Commit

Permalink
[Reverse-engineering] [th01] Bosses: Current HP
Browse files Browse the repository at this point in the history
And once again, SinGyoku is the only boss to get its own variable.
Maybe this means that it was the first boss to be implemented after
all?

Part of P0131, funded by Yanga.
  • Loading branch information
nmlgc committed Dec 18, 2020
1 parent d5fd70c commit f80001d
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 79 deletions.
1 change: 1 addition & 0 deletions th01/main/boss/b05.cpp
Expand Up @@ -5,6 +5,7 @@ extern "C" {
#include "platform.h"
}

#define boss_hp singyoku_hp
#define boss_phase_frame singyoku_phase_frame
#include "th01/main/boss/boss.hpp"

Expand Down
1 change: 1 addition & 0 deletions th01/main/boss/boss.hpp
Expand Up @@ -2,6 +2,7 @@
/// -----------------------
/// Really just freely usable memory shared between all bosses.

extern int boss_hp;
extern int boss_phase_frame;
/// -----------------------

Expand Down

0 comments on commit f80001d

Please sign in to comment.