-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding bank14, good chunk of text transcribed and labelled in bank0d,…
… renaming farcall to callab, and much more (#112) * Sporadic constantifying and function naming * Added bank 14 * Delete .DS_Store files * Delete EOL whitespace * Use Tab indents instead of four spaces * Identify some routines * Identify more stuff * Identified party and box structs * Identified wBattleMon and wEnemyMon structs * Macro'd landmarks, cleaned up comments --------- Co-authored-by: vulcandth <[email protected]>
- Loading branch information
1 parent
daff281
commit ce247cc
Showing
101 changed files
with
5,401 additions
and
3,336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,6 @@ __pycache__ | |
|
||
# utility output | ||
/coverage.png | ||
|
||
# macos files | ||
.DS_STORE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
; Fly point indexes (see data/flypoint) | ||
const_def | ||
|
||
const FLY_POINT_SILENT_HILL ; 0 | ||
const FLY_POINT_OLD ; 1 | ||
const FLY_POINT_WEST ; 2 | ||
const FLY_POINT_HAITEKU ; 3 | ||
const FLY_POINT_FONTO ; 4 | ||
const FLY_POINT_BAADON ; 5 | ||
const FLY_POINT_NEWTYPE ; 6 | ||
const FLY_POINT_SUGAR ; 7 | ||
const FLY_POINT_BULL_FOREST ; 8 | ||
const FLY_POINT_STAND ; 9 | ||
const FLY_POINT_KANTO ; 10 | ||
const FLY_POINT_PRINCE ; 11 | ||
const FLY_POINT_MT_FUJI ; 12 | ||
const FLY_POINT_SOUTH ; 13 | ||
const FLY_POINT_NORTH ; 14 | ||
|
||
; Unused? | ||
|
||
const FLY_POINT_ROUTE_15 ; 15 | ||
const FLY_POINT_ROUTE_18 ; 16 | ||
|
||
DEF FLY_POINT_N_A EQU $FF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
; Spawn point indexes (see data/maps/landmarks.asm) | ||
const_def | ||
|
||
const SPAWN_POINT_NONE | ||
const SPAWN_POINT_SILENT | ||
const SPAWN_POINT_OLD | ||
const SPAWN_POINT_WEST | ||
const SPAWN_POINT_HIGH_TECH | ||
const SPAWN_POINT_FOUNT | ||
const SPAWN_POINT_BIRDON | ||
const SPAWN_POINT_NEW_TYPE | ||
const SPAWN_POINT_SUGAR | ||
const SPAWN_POINT_BLUE_FOREST | ||
const SPAWN_POINT_STAND | ||
const SPAWN_POINT_KANTO | ||
const SPAWN_POINT_PRINCE | ||
const SPAWN_POINT_MT_FUJI | ||
const SPAWN_POINT_SOUTH | ||
const SPAWN_POINT_NORTH | ||
const SPAWN_POINT_ROUTE_15 | ||
const SPAWN_POINT_ROUTE_18 | ||
const SPAWN_POINT_POWER_PLANT_1 | ||
const SPAWN_POINT_POWER_PLANT_2 | ||
const SPAWN_POINT_POWER_PLANT_3 | ||
const SPAWN_POINT_POWER_PLANT_4 | ||
const SPAWN_POINT_RUINS_1 | ||
const SPAWN_POINT_RUINS_2 | ||
const SPAWN_POINT_MINES_1 | ||
const SPAWN_POINT_MINES_2 | ||
const SPAWN_POINT_MINES_3 | ||
const SPAWN_POINT_MINES_4 | ||
const SPAWN_POINT_MINES_5 | ||
const SPAWN_POINT_MINES_6 | ||
const SPAWN_POINT_MINES_7 | ||
const SPAWN_POINT_HIDEOUT_1 | ||
const SPAWN_POINT_HIDEOUT_2 | ||
const SPAWN_POINT_HIDEOUT_3 | ||
const SPAWN_POINT_SLOWPOKE_WELL_1 | ||
const SPAWN_POINT_SLOWPOKE_WELL_2 | ||
const SPAWN_POINT_POKEMON_LEAGUE_1 | ||
const SPAWN_POINT_POKEMON_LEAGUE_1_2 | ||
const SPAWN_POINT_POKEMON_LEAGUE_2 | ||
const SPAWN_POINT_POKEMON_LEAGUE_3 | ||
const SPAWN_POINT_POKEMON_LEAGUE_4 | ||
const SPAWN_POINT_POKEMON_LEAGUE_5 | ||
const SPAWN_POINT_POKEMON_LEAGUE_6 | ||
const SPAWN_POINT_POKEMON_LEAGUE_7 | ||
const SPAWN_POINT_POKEMON_LEAGUE_7_2 | ||
const SPAWN_POINT_SILENT_HILL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
INCLUDE "constants.asm" | ||
|
||
SECTION "data/maps/flypoints.asm", ROMX | ||
|
||
; | ||
; Table that the game reads for determining which Fly point to move to depending on D-Pad input. | ||
; Each row corresponds to the index of a Fly point. | ||
; | ||
; db UP, DOWN, LEFT, RIGHT | ||
; | ||
FlyPointPaths: | ||
|
||
db FLY_POINT_PRINCE, FLY_POINT_N_A, FLY_POINT_OLD, FLY_POINT_KANTO ; FLY_POINT_SILENT_HILL | ||
db FLY_POINT_HAITEKU, FLY_POINT_SILENT_HILL, FLY_POINT_WEST, FLY_POINT_SILENT_HILL ; FLY_POINT_OLD | ||
db FLY_POINT_BAADON, FLY_POINT_OLD, FLY_POINT_HAITEKU, FLY_POINT_OLD ; FLY_POINT_WEST | ||
db FLY_POINT_FONTO, FLY_POINT_WEST, FLY_POINT_SOUTH, FLY_POINT_WEST ; FLY_POINT_HAITEKU | ||
db FLY_POINT_SOUTH, FLY_POINT_HAITEKU, FLY_POINT_SOUTH, FLY_POINT_BAADON ; FLY_POINT_FONTO | ||
db FLY_POINT_FONTO, FLY_POINT_WEST, FLY_POINT_FONTO, FLY_POINT_NEWTYPE ; FLY_POINT_BAADON | ||
db FLY_POINT_SUGAR, FLY_POINT_N_A, FLY_POINT_BAADON, FLY_POINT_BULL_FOREST ; FLY_POINT_NEWTYPE | ||
db FLY_POINT_N_A, FLY_POINT_NEWTYPE, FLY_POINT_N_A, FLY_POINT_N_A ; FLY_POINT_SUGAR | ||
db FLY_POINT_NORTH, FLY_POINT_STAND, FLY_POINT_NEWTYPE, FLY_POINT_NORTH ; FLY_POINT_BULL_FOREST | ||
db FLY_POINT_BULL_FOREST, FLY_POINT_KANTO, FLY_POINT_KANTO, FLY_POINT_BULL_FOREST ; FLY_POINT_STAND | ||
db FLY_POINT_STAND, FLY_POINT_SILENT_HILL, FLY_POINT_SILENT_HILL, FLY_POINT_STAND ; FLY_POINT_KANTO | ||
db FLY_POINT_MT_FUJI, FLY_POINT_SILENT_HILL, FLY_POINT_N_A, FLY_POINT_N_A ; FLY_POINT_PRINCE | ||
db FLY_POINT_N_A, FLY_POINT_PRINCE, FLY_POINT_N_A, FLY_POINT_N_A ; FLY_POINT_MT_FUJI | ||
db FLY_POINT_FONTO, FLY_POINT_HAITEKU, FLY_POINT_N_A, FLY_POINT_FONTO ; FLY_POINT_SOUTH | ||
db FLY_POINT_N_A, FLY_POINT_BULL_FOREST, FLY_POINT_BULL_FOREST, FLY_POINT_N_A ; FLY_POINT_NORTH |
Oops, something went wrong.