2022-03-13 19:47:32 +00:00
|
|
|
|
// Script buffer pointer. The segment part also doubles as the base pointer to
|
|
|
|
|
// the allocated dialog buffer for later dialog_free() calls, and therefore
|
|
|
|
|
// must not be changed while running the script – hence the explicit `far`.
|
2022-03-13 16:00:28 +00:00
|
|
|
|
extern unsigned char far *dialog_p;
|
2022-03-13 18:29:08 +00:00
|
|
|
|
|
|
|
|
|
// Loads a dialog script from the file with the given name. `near` in this
|
|
|
|
|
// game, as it's only used internally.
|
|
|
|
|
void pascal near dialog_load(const char *fn);
|
|
|
|
|
|
|
|
|
|
// Loads the dialog script after defeating Stage 5 Yuuka with continues or on
|
|
|
|
|
// Easy mode, shown before the Bad Ending.
|
|
|
|
|
void dialog_load_yuuka5_defeat_bad(void);
|
|
|
|
|
|
|
|
|
|
// Loads the dialog script for the current player character and stage.
|
|
|
|
|
void near dialog_load(void);
|
2022-03-13 19:47:32 +00:00
|
|
|
|
|
|
|
|
|
// Frees any previously loaded dialog script.
|
|
|
|
|
void near dialog_free(void);
|