Prev: 23670 Up: Map Next: 23676
23675: Interrupt routine flags
Bitwise flags which determine which things occur upon executing the interrupt routine. The bits are as follows:
Bit Effect
0 Game-in-progress flag
1 Characters-movement-unrestricted flag / disable-in-game-glow flag
2 Characters-can't-move flag
3 Unused
4 Unused
5 Unused
6 Unused
7 Unused
The game-in-progress flag is used to determine whether or not to allow loading and saving of games (which can only be done via Gadget X), and also whether or not to move characters and update the game clock.
The characters-movement-unrestricted flag determines whether or not characters can enter or leave Magic Knight's current room. When this flag is set, characters will be prevented from entering Magic Knight's current room (see 62801) and will be allowed to leave Magic Knight's current room (see 62663). When the player is controlling Magic Knight (i.e. not in a menu or information window), this flag is reset and the characters in Magic Knight's current room will be unable to move at all. When the player is navigating menus / windows the flag is set.
The disable-in-game-glow flag is used to control whether or not glowing cells have their attribute updated.
Although both the characters-movement-unrestricted flag and the disable-in-game-glow flag are co-incident, there is no conflict between them. Both are reset when room drawing is finalised (39541), preventing characters from moving when in the same room as Magic Knight while enabling in-game glow. Both are set when a window is drawn (47199), allowing characters to move freely while disabling in-game glow.
The characters-can't-move flag prevents characters from moving at all.
23675 DEFB 0
Prev: 23670 Up: Map Next: 23676