You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Implement View Map mode [commit 1] (#29)
This commit is contained in:
@@ -87,7 +87,8 @@ if DEF(_DEBUG)
|
||||
const SPAWN_DEBUGLEVEL_5
|
||||
endc
|
||||
DEF NUM_SPAWNS EQU const_value
|
||||
DEF SPAWN_N_A EQU -1
|
||||
DEF SPAWN_FROM_RAM EQU -2
|
||||
DEF SPAWN_N_A EQU -1
|
||||
|
||||
; Flypoints indexes (see data/maps/flypoints.asm)
|
||||
const_def
|
||||
|
@@ -1,19 +1,20 @@
|
||||
; hMapEntryMethod values
|
||||
; MapSetupScripts indexes (see data/maps/setup_scripts.asm)
|
||||
const_def $f1
|
||||
const MAPSETUP_WARP ; f1
|
||||
const MAPSETUP_CONTINUE ; f2
|
||||
const MAPSETUP_RELOADMAP ; f3
|
||||
const MAPSETUP_TELEPORT ; f4
|
||||
const MAPSETUP_DOOR ; f5
|
||||
const MAPSETUP_FALL ; f6
|
||||
const MAPSETUP_CONNECTION ; f7
|
||||
const MAPSETUP_LINKRETURN ; f8
|
||||
const MAPSETUP_TRAIN ; f9
|
||||
const MAPSETUP_SUBMENU ; fa
|
||||
const MAPSETUP_BADWARP ; fb
|
||||
const MAPSETUP_FLY ; fc
|
||||
const MAPSETUP_ENTERLEVEL ; fd
|
||||
const MAPSETUP_WARP ; f1
|
||||
const MAPSETUP_CONTINUE ; f2
|
||||
const MAPSETUP_RELOADMAP ; f3
|
||||
const MAPSETUP_TELEPORT ; f4
|
||||
const MAPSETUP_DOOR ; f5
|
||||
const MAPSETUP_FALL ; f6
|
||||
const MAPSETUP_CONNECTION ; f7
|
||||
const MAPSETUP_LINKRETURN ; f8
|
||||
const MAPSETUP_TRAIN ; f9
|
||||
const MAPSETUP_SUBMENU ; fa
|
||||
const MAPSETUP_BADWARP ; fb
|
||||
const MAPSETUP_FLY ; fc
|
||||
const MAPSETUP_ENTERLEVEL ; fd
|
||||
const MAPSETUP_EXITVIEWMAP ; fe
|
||||
DEF NUM_MAPSETUP_SCRIPTS EQU const_value - $f1
|
||||
|
||||
; callback types
|
||||
|
@@ -119,4 +119,5 @@ DEF NUM_NAME_TYPES EQU const_value
|
||||
const BOARDMENUITEM_PACK
|
||||
const BOARDMENUITEM_POKEGEAR
|
||||
const BOARDMENUITEM_EXIT
|
||||
DEF NUM_BOARD_MENU_ITEMS EQU const_value
|
||||
const BOARDMENUITEM_VIEWMAP ; through select button
|
||||
DEF NUM_BOARD_MENU_ITEMS EQU const_value - 1 ; don't count BOARDMENUITEM_VIEWMAP
|
||||
|
@@ -326,9 +326,11 @@ DEF NUM_UNOWN_PUZZLES EQU const_value
|
||||
|
||||
; board events (tracked by hCurBoardEvent)
|
||||
const_def 1
|
||||
const BOARDEVENT_DISPLAY_MENU ; 1
|
||||
const BOARDEVENT_HANDLE_BOARD ; 2
|
||||
const BOARDEVENT_END_TURN ; 3
|
||||
const BOARDEVENT_DISPLAY_MENU ; 1
|
||||
const BOARDEVENT_HANDLE_BOARD ; 2
|
||||
const BOARDEVENT_END_TURN ; 3
|
||||
const BOARDEVENT_VIEW_MAP_MODE ; 4
|
||||
const BOARDEVENT_REDISPLAY_MENU ; 5
|
||||
DEF NUM_BOARD_EVENTS EQU const_value - 1
|
||||
|
||||
; exitoverworld arguments
|
||||
|
Reference in New Issue
Block a user