Speed up saving #5

Merged
supersonicsataa merged 2 commits from fast-saving into main 2024-10-16 16:39:31 +02:00
3 changed files with 5 additions and 9 deletions

View File

@ -2,7 +2,7 @@
These guidelines are to be applied to all code contributed to the `tumbledemerald` project.
- Decapitalise everything! For example, change "POKéMON" to "Pokémon".
- Decapitalise everything! For example, change "POKéMON" to "Pokémon". (not yet though)
- Always type "Pokémon" with the "é" Unicode character!
- When typing "Pokédex", make sure to type it without a capital "D".
- Use good English at all times.

View File

@ -3,12 +3,10 @@ gText_ConfirmSave::
.string "Would you like to save the game?$"
gText_AlreadySavedFile::
.string "There is already a saved file.\n"
.string "Is it okay to overwrite it?$"
.string "u sus$"
gText_SavingDontTurnOff::
.string "SAVING…\n"
.string "DON'T TURN OFF THE POWER.$"
.string "Now saving…$"
gText_PlayerSavedGame::
.string "{PLAYER} saved the game.$"
@ -29,5 +27,4 @@ gText_SaveError::
.string "backup memory.$"
gText_SavingDontTurnOffPower::
.string "SAVING…\n"
.string "DON'T TURN OFF THE POWER.$"
.string "Now saving…"

View File

@ -474,8 +474,7 @@ void DisplayYesNoMenuWithDefault(u8 initialCursorPos)
u32 GetPlayerTextSpeed(void)
{
if (gTextFlags.forceMidTextSpeed)
return OPTIONS_TEXT_SPEED_MID;
return OPTIONS_TEXT_SPEED_FAST;
return gSaveBlock2Ptr->optionsTextSpeed;
}