Updated documents for the encounter hook changes

This commit is contained in:
NovaRain
2024-05-31 15:11:27 +08:00
parent f9faa73b9c
commit a8ac1f8402
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -731,7 +731,7 @@
int arg0 - event type: 0 - when a random encounter occurs, 1 - when the player enters from the world map
int arg1 - the map ID that the encounter will load (see MAPS.h or Maps.txt)
int arg2 - 1 when the encounter occurs is a special encounter, 0 otherwise
int arg3 - encounter table index or -1 if not an encounter
int arg3 - encounter table number, or -1 if not an encounter
int arg4 - encounter index in the table, or -1 if not an encounter
int ret0 - overrides the map ID, or pass -1 for event type 0 to cancel the encounter and continue traveling