mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00

in the middle of a breakdown here but i'm committing this because I don't wanna have an overwhelming number of changed files like the Big One - Fixed a bug where an item couldn't be picked up in Mt. Moon Crater - Gave new cries to Leafeon, Glaceon, Perrserker, Gentlarva, Carapthor, Gorotora, Magnezone, Tangrowth, Tricules, Magmortar and Meltan. Pupal and Lickilicky also got new cries but they'll probably be changed later - Changed Citrine's map slightly for hopefully the final time, removing the tall grass to allow the Old Man Glitch to work there - Brought Pokemon Tower 5F back for some reason - Moved the Rocket Grunt on Silph 11F closer to the Omegadge door - 'Fixed' a warp issue on Faraway Island, can definitely be improved though - Gave Gapdos 10 more base special because i forgot the first time - Fixed a typo in Hitmontop's dex entry - Fixed some inconsistencies in Gao and Gorotora's movesets - Added the unused ice tiles to Seafoam Islands and Garnet Cavern (credit to Vortiene) - Added a stats page to the Pokedex that displays base stats and the type of caught Pokemon (again, credit to Vortiene) - Made Sandshrew more common in Mt. Moon - Improved the 'already caught' icon - uncapitalised all new instances of "trainer" in the text to make it more consistent - HOPEFULLY fixed the issue where the SS Anne still couldn't be reboarded
97 lines
3.1 KiB
NASM
97 lines
3.1 KiB
NASM
; Format: (size 2 bytes)
|
|
; 00: target map ID
|
|
; 01: which dungeon warp in the source map was used
|
|
DungeonWarpList:
|
|
db SEAFOAM_ISLANDS_B1F, 1
|
|
db SEAFOAM_ISLANDS_B1F, 2
|
|
db SEAFOAM_ISLANDS_B2F, 1
|
|
db SEAFOAM_ISLANDS_B2F, 2
|
|
db SEAFOAM_ISLANDS_B3F, 1
|
|
db SEAFOAM_ISLANDS_B3F, 2
|
|
db SEAFOAM_ISLANDS_B4F, 1
|
|
db SEAFOAM_ISLANDS_B4F, 2
|
|
db VICTORY_ROAD_2F, 2
|
|
db POKEMON_MANSION_1F, 1
|
|
db POKEMON_MANSION_1F, 2
|
|
db POKEMON_MANSION_2F, 3
|
|
db -1 ; end
|
|
|
|
|
|
MACRO fly_warp
|
|
event_displacement \1_WIDTH, \2, \3
|
|
db ((\3) & $01) ;sub-block Y
|
|
db ((\2) & $01) ;sub-block X
|
|
ENDM
|
|
|
|
DungeonWarpData:
|
|
fly_warp SEAFOAM_ISLANDS_B1F, 18, 7
|
|
fly_warp SEAFOAM_ISLANDS_B1F, 23, 7
|
|
fly_warp SEAFOAM_ISLANDS_B2F, 19, 7
|
|
fly_warp SEAFOAM_ISLANDS_B2F, 22, 7
|
|
fly_warp SEAFOAM_ISLANDS_B3F, 18, 7
|
|
fly_warp SEAFOAM_ISLANDS_B3F, 19, 7
|
|
fly_warp SEAFOAM_ISLANDS_B4F, 4, 14
|
|
fly_warp SEAFOAM_ISLANDS_B4F, 5, 14
|
|
fly_warp VICTORY_ROAD_2F, 22, 16
|
|
fly_warp POKEMON_MANSION_1F, 16, 14
|
|
fly_warp POKEMON_MANSION_1F, 16, 14
|
|
fly_warp POKEMON_MANSION_2F, 18, 14
|
|
|
|
|
|
MACRO special_warp_spec
|
|
db \1
|
|
fly_warp \1, \2, \3
|
|
db \4
|
|
ENDM
|
|
|
|
FirstMapSpec::
|
|
special_warp_spec REDS_HOUSE_2F, 3, 6, REDS_HOUSE_2
|
|
TradeCenterSpec1:
|
|
special_warp_spec TRADE_CENTER, 3, 4, CLUB
|
|
TradeCenterSpec2:
|
|
special_warp_spec TRADE_CENTER, 6, 4, CLUB
|
|
ColosseumSpec1:
|
|
special_warp_spec COLOSSEUM, 3, 4, CLUB
|
|
ColosseumSpec2:
|
|
special_warp_spec COLOSSEUM, 6, 4, CLUB
|
|
|
|
|
|
MACRO fly_warp_spec
|
|
db \1, 0
|
|
dw \2
|
|
ENDM
|
|
|
|
FlyWarpDataPtr:
|
|
fly_warp_spec PALLET_TOWN, .PalletTown
|
|
fly_warp_spec VIRIDIAN_CITY, .ViridianCity
|
|
fly_warp_spec PEWTER_CITY, .PewterCity
|
|
fly_warp_spec CERULEAN_CITY, .CeruleanCity
|
|
fly_warp_spec LAVENDER_TOWN, .LavenderTown
|
|
fly_warp_spec VERMILION_CITY, .VermilionCity
|
|
fly_warp_spec CELADON_CITY, .CeladonCity
|
|
fly_warp_spec FUCHSIA_CITY, .FuchsiaCity
|
|
fly_warp_spec CINNABAR_ISLAND, .CinnabarIsland
|
|
fly_warp_spec INDIGO_PLATEAU, .IndigoPlateau
|
|
fly_warp_spec SAFFRON_CITY, .SaffronCity
|
|
fly_warp_spec CITRINE_CITY, .CitrineCity
|
|
fly_warp_spec CELADON_UNIVERSITY_OUTSIDE, .CeladonUniversityOutside
|
|
fly_warp_spec ROUTE_4, .Route4
|
|
fly_warp_spec ROUTE_10, .Route10
|
|
fly_warp_spec REDS_HOUSE_2F, .RedsHouse2F ; This doesn't show on the Fly map, just used so the post-league warp doesn't have a stroke
|
|
|
|
.PalletTown: fly_warp PALLET_TOWN, 5, 6
|
|
.ViridianCity: fly_warp VIRIDIAN_CITY, 23, 26
|
|
.PewterCity: fly_warp PEWTER_CITY, 13, 26
|
|
.CeruleanCity: fly_warp CERULEAN_CITY, 19, 18
|
|
.LavenderTown: fly_warp LAVENDER_TOWN, 3, 6
|
|
.VermilionCity: fly_warp VERMILION_CITY, 11, 4
|
|
.CeladonCity: fly_warp CELADON_CITY, 41, 10
|
|
.FuchsiaCity: fly_warp FUCHSIA_CITY, 19, 28
|
|
.CinnabarIsland: fly_warp CINNABAR_ISLAND, 15, 18
|
|
.IndigoPlateau: fly_warp INDIGO_PLATEAU, 9, 6
|
|
.SaffronCity: fly_warp SAFFRON_CITY, 9, 30
|
|
.CitrineCity: fly_warp CITRINE_CITY, 15, 18
|
|
.CeladonUniversityOutside: fly_warp CELADON_UNIVERSITY_OUTSIDE, 15, 26
|
|
.Route4: fly_warp ROUTE_4, 11, 6
|
|
.Route10: fly_warp ROUTE_10, 11, 28
|
|
.RedsHouse2F: fly_warp REDS_HOUSE_2F, 3, 6 |