546 - bombShield(int a, int script)


Sets the bomb invulnerability flag (a=0 false, a=1 true), the caller's ANM script will change to script when a bomb is active.

No Bombs in Practice Mode



  • Versions: 1.00a
  • Difficulty: Easy - Normal - Hard - Lunatic - Extra
  • Mode: Main game - Practice mode - Spell practice
  • Shottype: Reimu - Marisa


When entering Practice mode, you may see that your player has no bombs. Additionally, it is also possible for your max bomb count to be gone.

Screenshot of the GUI
Figure 1: The bomb display shows no bombs.
Screenshot of the GUI
Figure 2: There is no bomb display in the GUI.



To get zero bombs, the player must do the following:

  1. Launch th20.exe;
  2. Go to Practice before the demo replays play;
  3. Select any difficulty, any character, any stone combination, any stage;
  4. Enter the stage.

It is important to note that this only works once upon booting up the game. When resetting the stage the bomb count is set to 3. The player must avoid going to "Game Start", "Extra Start", "Spell Practice" and "Replay". Once any stage is loaded this does not work anymore. The only exception is if a replay is loaded that starts with no bombs display.


To get zero bombs, the player must do the following:

  1. Launch th20.exe;
  2. Go to Practice before the demo replays play;
  3. Select any difficulty, any character, any stone combination, any stage;
  4. Hold down any number between 1 to 9 inclusive.
  5. Enter the stage.

By holding down a number between 1 to 9 inclusive, the starting lives changes: holding down 0 means you start with no lives, holding 1 means you start with 1 life, etc..

It is important to note that this only works once upon booting up the game. When resetting the stage the bomb count is set to 3. The player must avoid going to "Game Start", "Extra Start", "Spell Practice" and "Replay". Once any stage is loaded this does not work anymore. The only exception is if a replay is loaded that starts with no bombs display.


When the game loads, many variables are initialized to 0. The three variables we will be talking about are lives, bombs and max_bombs:

  • lives: Your current life count. This is an integer value usually between 0 and 7.
  • bombs: Your current bomb count. This is an integer value usually between 0 and 7.
  • max_bombs: This is the maximum number of bombs you can have. This is an integer value, usually 7.

Since the fields were originally initialzied to 0, it means that your bombs count remains at 0. This value can change if you select different modes (e.g. Spell-practice mode). However, you might wonder why this issue only persists on Stage Practice mode and Stage Practice mode (with number press). This issue is caused by bombs and max_bombs not being set by the game depending on the mode.

Mode Lives Bombs Max Bombs
Main game mode 2 3 7
Spell-practice mode 0 0 7
Practice mode 7
not set
7
Practice mode (with number press) Depends on number press
not set
not set