00C0
- Description
- Sets the current game clock
- Syntax
- 00C0: set_current_time [int1] [int2]
- Parameter
- [int1]
- Game hour
- [int2]
- Game minute
- Native analog
- SET_TIME_OF_DAY
This opcode sets the current game clock. Valid values for hours are between 0 and 23, and for minutes are between 0 and 59. In Vice City, it is not possible to set a time outside the range as the game takes the modulo of 24 with the hour and modulo of 60 with the minute. Also in Vice City, this opcode must be set at least once when a new game is started or else time will speed forward similar in effect to inputting the "faster game clock" cheat.
Keywords
set, current, time, clock, day