fix some notes

This commit is contained in:
Martin Michelsen
2025-04-07 23:49:08 -07:00
parent c8a3b3ba31
commit 22e9314e18
4 changed files with 14 additions and 10 deletions
+2 -2
View File
@@ -4009,7 +4009,7 @@ struct G_Unknown_6x09 {
} __packed_ws__(G_Unknown_6x09, 4);
// 6x0A: Update enemy state
// In Ultimate mode, the low 7 bits of game_flags are ignored, and 6x9C is used
// In Ultimate mode, the low 6 bits of game_flags are ignored, and 6x9C is used
// to update those instead.
template <bool BE>
@@ -5490,7 +5490,7 @@ struct G_LevelUpAllTechniques_6x9B {
} __packed_ws__(G_LevelUpAllTechniques_6x9B, 8);
// 6x9C: Set enemy low game flags (not valid on Episode 3)
// This command only has an effect in Ultimate mode. It sets the low 7 bits of
// This command only has an effect in Ultimate mode. It sets the low 6 bits of
// game_flags (those that match 0x0000003F).
struct G_SetEnemyLowGameFlagsUltimate_6x9C {
+4 -3
View File
@@ -1030,9 +1030,10 @@ Action a_decrypt_dcv2_executable(
table (KATSUO.SEA), and VALUES should be the path to the value fixup table\n\
(IWASHI.SEA). The output is written to EXEC.dec.\n\
If --simple is given, uses the simpler encryption method used in some\n\
community modifications of the game. In this case, --seed is not required;\n\
if not given, finds the seed automatically, and prints it to stderr so you\n\
will be able to use it when re-encrypting.\n",
community modifications of the game (Enhancement Pack, for example). In\n\
this case, --seed is not required; if not given, finds the seed\n\
automatically, and prints it to stderr so you will be able to use it when\n\
re-encrypting.\n",
+[](phosg::Arguments& args) {
string executable_filename = args.get<string>("executable", true);
string executable_data = phosg::load_file(executable_filename);
+4 -5
View File
@@ -2606,7 +2606,6 @@ static const vector<DATEntityDefinition> dat_enemy_definitions({
// meanings)
// - TObjEneMorfos (oaram1, param2; these params also have non-debug
// meanings)
// TODO: Add more enemies to this list as they are found
// NPCs. Params:
// param1 = action parameter (depends on param6; see below)
@@ -2754,7 +2753,7 @@ static const vector<DATEntityDefinition> dat_enemy_definitions({
{0x0033, F_EP3, 0x0000000000008001, "TObjNpcEnemy"},
// Hildebear. Params:
// param1 = initial location (clamped to [0, 1]; 0 = ground, 1 = sky)
// param1 = initial location (zero or negative = ground, positive = jump)
// param2 = chance to use tech (value is param3 + 0.6, clamped to [0,
// 1]; TODO: it's not clear when exactly the decision points are)
// param3 = chance to jump when more than 150 units away (value is
@@ -2763,8 +2762,8 @@ static const vector<DATEntityDefinition> dat_enemy_definitions({
{0x0040, F_V0_V4, 0x00000000001B0004, "TObjEneMoja"},
// Rappy. Params:
// param1 = TODO (clamped to [0, 1]; overwritten with 1 if wave_number
// is > 0; could be spawn location like for Hildebear?)
// param1 = initial location (zero or negative = ground, positive = sky;
// ignored if wave_number is > 0 in which case it's always sky)
// param6 = rare flag (on v1-v3, rappy is rare if param6 != 0; on v4,
// rappy is rare if (param6 & 1) != 0)
// param7 = TODO
@@ -2815,7 +2814,7 @@ static const vector<DATEntityDefinition> dat_enemy_definitions({
// Grass Assassin. Params:
// param1 = TODO
// param2 = TODO (some state is set based on whather this is <= 0 or
// param2 = TODO (some state is set based on whether this is <= 0 or
// not, but the value is also used directly in some places)
// param3 = TODO (see TObjGrass_update_case8)
// param4 = TODO (see TObjGrass_update_case8)