shithub: pokered

ref: ecd2eb2447bf4dee4ec3be35f881c7e7102adb1b
dir: /data/wild/grass_water.asm/

View raw version
WildDataPointers:
	table_width 2, WildDataPointers
	dw NothingWildMons         ; PALLET_TOWN
	dw NothingWildMons         ; VIRIDIAN_CITY
	dw NothingWildMons         ; PEWTER_CITY
	dw NothingWildMons         ; CERULEAN_CITY
	dw NothingWildMons         ; LAVENDER_TOWN
	dw NothingWildMons         ; VERMILION_CITY
	dw NothingWildMons         ; CELADON_CITY
	dw NothingWildMons         ; FUCHSIA_CITY
	dw NothingWildMons         ; CINNABAR_ISLAND
	dw NothingWildMons         ; INDIGO_PLATEAU
	dw NothingWildMons         ; SAFFRON_CITY
	dw NothingWildMons         ; unused
	dw Route1WildMons          ; ROUTE_1
	dw Route2WildMons          ; ROUTE_2
	dw Route3WildMons          ; ROUTE_3
	dw Route4WildMons          ; ROUTE_4
	dw Route5WildMons          ; ROUTE_5
	dw Route6WildMons          ; ROUTE_6
	dw Route7WildMons          ; ROUTE_7
	dw Route8WildMons          ; ROUTE_8
	dw Route9WildMons          ; ROUTE_9
	dw Route10WildMons         ; ROUTE_10
	dw Route11WildMons         ; ROUTE_11
	dw Route12WildMons         ; ROUTE_12
	dw Route13WildMons         ; ROUTE_13
	dw Route14WildMons         ; ROUTE_14
	dw Route15WildMons         ; ROUTE_15
	dw Route16WildMons         ; ROUTE_16
	dw Route17WildMons         ; ROUTE_17
	dw Route18WildMons         ; ROUTE_18
	dw SeaRoutesWildMons       ; ROUTE_19
	dw SeaRoutesWildMons       ; ROUTE_20
	dw Route21WildMons         ; ROUTE_21
	dw Route22WildMons         ; ROUTE_22
	dw Route23WildMons         ; ROUTE_23
	dw Route24WildMons         ; ROUTE_24
	dw Route25WildMons         ; ROUTE_25
	dw NothingWildMons         ; REDS_HOUSE_1F
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw ViridianForestWildMons ; ViridianForest
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw MtMoon1FWildMons
	dw MtMoonB1FWildMons
	dw MtMoonB2FWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw RockTunnel1FWildMons
	dw PowerPlantWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw VictoryRoad1FWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw PokemonTower1FWildMons
	dw PokemonTower2FWildMons
	dw PokemonTower3FWildMons
	dw PokemonTower4FWildMons
	dw PokemonTower5FWildMons
	dw PokemonTower6FWildMons
	dw PokemonTower7FWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw SeafoamIslandsB1FWildMons
	dw SeafoamIslandsB2FWildMons
	dw SeafoamIslandsB3FWildMons
	dw SeafoamIslandsB4FWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw PokemonMansion1FWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw SeafoamIslands1FWildMons
	dw NothingWildMons
	dw VictoryRoad2FWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw DiglettsCaveWildMons
	dw VictoryRoad3FWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw PokemonMansion2FWildMons
	dw PokemonMansion3FWildMons
	dw PokemonMansionB1FWildMons
	dw SafariZoneEastWildMons
	dw SafariZoneNorthWildMons
	dw SafariZoneWestWildMons
	dw SafariZoneCenterWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw CeruleanCave2FWildMons
	dw CeruleanCaveB1FWildMons
	dw CeruleanCave1FWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw RockTunnelB1FWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	dw NothingWildMons
	assert_table_length NUM_MAPS
	dw -1 ; end

; wild pokemon data is divided into two parts.
; first part:  pokemon found in grass
; second part: pokemon found while surfing
; each part goes as follows:
    ; if first byte == 0, then
        ; no wild pokemon on this map
    ; if first byte != 0, then
        ; first byte is encounter rate
        ; followed by 20 bytes:
        ; level, species (ten times)

INCLUDE "data/wild/maps/nothing.asm"
INCLUDE "data/wild/maps/Route1.asm"
INCLUDE "data/wild/maps/Route2.asm"
INCLUDE "data/wild/maps/Route22.asm"
INCLUDE "data/wild/maps/ViridianForest.asm"
INCLUDE "data/wild/maps/Route3.asm"
INCLUDE "data/wild/maps/MtMoon1F.asm"
INCLUDE "data/wild/maps/MtMoonB1F.asm"
INCLUDE "data/wild/maps/MtMoonB2F.asm"
INCLUDE "data/wild/maps/Route4.asm"
INCLUDE "data/wild/maps/Route24.asm"
INCLUDE "data/wild/maps/Route25.asm"
INCLUDE "data/wild/maps/Route9.asm"
INCLUDE "data/wild/maps/Route5.asm"
INCLUDE "data/wild/maps/Route6.asm"
INCLUDE "data/wild/maps/Route11.asm"
INCLUDE "data/wild/maps/RockTunnel1F.asm"
INCLUDE "data/wild/maps/RockTunnelB1F.asm"
INCLUDE "data/wild/maps/Route10.asm"
INCLUDE "data/wild/maps/Route12.asm"
INCLUDE "data/wild/maps/Route8.asm"
INCLUDE "data/wild/maps/Route7.asm"
INCLUDE "data/wild/maps/PokemonTower1F.asm"
INCLUDE "data/wild/maps/PokemonTower2F.asm"
INCLUDE "data/wild/maps/PokemonTower3F.asm"
INCLUDE "data/wild/maps/PokemonTower4F.asm"
INCLUDE "data/wild/maps/PokemonTower5F.asm"
INCLUDE "data/wild/maps/PokemonTower6F.asm"
INCLUDE "data/wild/maps/PokemonTower7F.asm"
INCLUDE "data/wild/maps/Route13.asm"
INCLUDE "data/wild/maps/Route14.asm"
INCLUDE "data/wild/maps/Route15.asm"
INCLUDE "data/wild/maps/Route16.asm"
INCLUDE "data/wild/maps/Route17.asm"
INCLUDE "data/wild/maps/Route18.asm"
INCLUDE "data/wild/maps/SafariZoneCenter.asm"
INCLUDE "data/wild/maps/SafariZoneEast.asm"
INCLUDE "data/wild/maps/SafariZoneNorth.asm"
INCLUDE "data/wild/maps/SafariZoneWest.asm"
INCLUDE "data/wild/maps/SeaRoutes.asm"
INCLUDE "data/wild/maps/SeafoamIslands1F.asm"
INCLUDE "data/wild/maps/SeafoamIslandsB1F.asm"
INCLUDE "data/wild/maps/SeafoamIslandsB2F.asm"
INCLUDE "data/wild/maps/SeafoamIslandsB3F.asm"
INCLUDE "data/wild/maps/SeafoamIslandsB4F.asm"
INCLUDE "data/wild/maps/PokemonMansion1F.asm"
INCLUDE "data/wild/maps/PokemonMansion2F.asm"
INCLUDE "data/wild/maps/PokemonMansion3F.asm"
INCLUDE "data/wild/maps/PokemonMansionB1F.asm"
INCLUDE "data/wild/maps/Route21.asm"
INCLUDE "data/wild/maps/CeruleanCave1F.asm"
INCLUDE "data/wild/maps/CeruleanCave2F.asm"
INCLUDE "data/wild/maps/CeruleanCaveB1F.asm"
INCLUDE "data/wild/maps/PowerPlant.asm"
INCLUDE "data/wild/maps/Route23.asm"
INCLUDE "data/wild/maps/VictoryRoad2F.asm"
INCLUDE "data/wild/maps/VictoryRoad3F.asm"
INCLUDE "data/wild/maps/VictoryRoad1F.asm"
INCLUDE "data/wild/maps/DiglettsCave.asm"