-
Notifications
You must be signed in to change notification settings - Fork 2
Scenario Commands
The SCENARIO.S
file contains a section with a list of commands. Those commands have a simple structure: a short representing the command followed by a single short parameter.
The commands are as follows:
Sets the location where selecting an episode from the new game menu will jump to.
Parameter: the episode number to jump to.
Prompts the user to save the game.
Parameter: not well understood. It seems to increment as the saves progress (2 is the first save after the episode starts, 3 is the second, 4 is the third, etc.).
Loads a specified event file.
Parameter: the evt.bin
index of the event file.
Starts the puzzle phase with a specified puzzle.
Parameter: the dat.bin
index of the puzzle file.
Opens a particular group selection.
Parameter: the SCENARIO.S
index of the group selection.
Stops executing the scenario (soft-locks the game). Unused (obviously).
Parameter: none.
Prompts the user to save the game. While the differences between this and SAVE
are not fully understood, it seems like SAVE2
is used prior to NEW_GAME
commands.
Parameter: none (always 0).
Shows the collected topics screen.
Parameter: the same as the ROUTE_SELECT
parameter (SCENARIO.S
index to a particular group selection).
Prompts the user to select the character who will accompany Haruhi during a puzzle phase.
Parameter: none (always 0).
Streams a video from the filesystem.
Parameter: 0 is MOVIE00.MODS
(the OP), 1 is MOVIE01.MODS
(the ED).
Does nothing. Unused.
Parameter: none.
Triggers the function which checks if a character ending can be unlocked. Called at the end of episode 5.
Parameters: none (always 0).
Unlocks the unlockables for completing a particular episode.
Parameters: the episode number (1-4).
Ends the game and returns to the title screen.
Parameters: none (always 0).