mirror of
https://github.com/thornAvery/jep-hack.git
synced 2025-09-17 02:30:50 +12:00
Snowy tileset palettes + Blue Forest start
This commit is contained in:
parent
2a3547c22e
commit
e9cab6db16
|
@ -68,6 +68,7 @@ In general, there have been many wild encounter tweaks. View this document for d
|
|||
- Pokemon October et al: Bellignan, Caretorker, Inoshika, Bipulla, Sonegg, Kolta, Coinpur, Dodaerie, Bundra, Kiwooked, Koalyptus, Trebir
|
||||
- Tom Wang: Gold/Chris running sprite
|
||||
- Seasick: Kris running sprite
|
||||
- Ferropexola/aforward9600: Time of day-based tileset palette code
|
||||
|
||||
# 16-bit index expansion for Crystal
|
||||
|
||||
|
|
|
@ -121,6 +121,7 @@ DEF KANTO_LANDMARK EQU const_value
|
|||
;const LANDMARK_ONE_ISLAND
|
||||
DEF NIHON_LANDMARK EQU const_value
|
||||
const LANDMARK_SILENT_HILLS
|
||||
const LANDMARK_BLUE_FOREST
|
||||
DEF NUM_LANDMARKS EQU const_value
|
||||
|
||||
; used in CaughtData
|
||||
|
|
|
@ -520,4 +520,8 @@ ENDM
|
|||
map_const DEBUG_ROOM, 20, 20 ; 2
|
||||
endgroup
|
||||
|
||||
newgroup BLUE_FOREST ; 27
|
||||
map_const BLUE_FOREST, 20, 18 ; 1
|
||||
endgroup
|
||||
|
||||
DEF NUM_MAP_GROUPS EQU const_value ; 27
|
||||
|
|
|
@ -72,6 +72,7 @@ DEF SCGB_DEFAULT EQU $ff
|
|||
const PREDEFPAL_SILVER_CAVE
|
||||
const PREDEFPAL_DUNGEONS
|
||||
const PREDEFPAL_SILENT_HILLS
|
||||
const PREDEFPAL_BLUE_FOREST
|
||||
const PREDEFPAL_NITE
|
||||
const PREDEFPAL_BLACKOUT
|
||||
const PREDEFPAL_DIPLOMA ; RB_MEWMON
|
||||
|
|
|
@ -711,3 +711,4 @@ ENDM
|
|||
map_attributes SilentHills, SILENT_HILLS, $00, 0 ; this is on its own for now. add connections to mt. silver later.
|
||||
map_attributes DebugRoom, DEBUG_ROOM, $05, 0 ; Debug Room :V
|
||||
map_attributes CliffCave, CLIFF_CAVE, $00, 0
|
||||
map_attributes BlueForest, BLUE_FOREST, $00, 0 ; this is on its own for now. add connections later.
|
|
@ -1083,3 +1083,6 @@ DebugRoom_Blocks: ; Pipis Room
|
|||
|
||||
CliffCave_Blocks:
|
||||
INCBIN "maps/CliffCave.ablk"
|
||||
|
||||
BlueForest_Blocks:
|
||||
INCBIN "maps/BlueForest.ablk"
|
||||
|
|
|
@ -109,6 +109,7 @@ Landmarks:
|
|||
landmark 140, 116, FastShipName
|
||||
assert_table_length NIHON_LANDMARK
|
||||
landmark 92, 108, SilentHillsName
|
||||
landmark 140, 60, BlueForestName
|
||||
assert_table_length NUM_LANDMARKS
|
||||
|
||||
NewBarkTownName: db "NEW BARK¯TOWN@"
|
||||
|
@ -215,3 +216,4 @@ UndergroundName: db "UNDERGROUND@"
|
|||
BattleTowerName: db "BATTLE¯TOWER@"
|
||||
SpecialMapName: db "SPECIAL@"
|
||||
SilentHillsName: db "SILENT¯HILLS@"
|
||||
BlueForestName: db "BLUE¯FOREST@"
|
||||
|
|
|
@ -44,6 +44,7 @@ MapGroupPointers::
|
|||
dw MapGroup_Saffron ; 25
|
||||
dw MapGroup_Cherrygrove ; 26
|
||||
dw MapGroup_SilentHills ; 27
|
||||
dw MapGroup_BlueForest ; 28
|
||||
assert_table_length NUM_MAP_GROUPS
|
||||
|
||||
MapGroup_Olivine:
|
||||
|
@ -557,3 +558,8 @@ MapGroup_SilentHills:
|
|||
map SilentHills, TILESET_NIHON_01, TOWN, LANDMARK_SILENT_HILLS, MUSIC_NIHON_TOWN_01, TRUE, PALETTE_AUTO, FISHGROUP_SHORE
|
||||
map DebugRoom, TILESET_NIHON_01, TOWN, LANDMARK_SILENT_HILLS, MUSIC_SINJOH_RUINS, TRUE, PALETTE_MORN, FISHGROUP_SHORE
|
||||
assert_table_length NUM_SILENT_HILLS_MAPS
|
||||
|
||||
MapGroup_BlueForest:
|
||||
table_width MAP_LENGTH, MapGroup_BlueForest
|
||||
map BlueForest, TILESET_NIHON_SNOWY, TOWN, LANDMARK_BLUE_FOREST, MUSIC_SINJOH_RUINS, TRUE, PALETTE_AUTO, FISHGROUP_SHORE
|
||||
assert_table_length NUM_BLUE_FOREST_MAPS
|
||||
|
|
|
@ -31,6 +31,7 @@ OutdoorSprites:
|
|||
dw SaffronGroupSprites
|
||||
dw CherrygroveGroupSprites
|
||||
dw SilentHillsGroupSprites
|
||||
dw BlueForestGroupSprites
|
||||
assert_table_length NUM_MAP_GROUPS
|
||||
|
||||
PalletGroupSprites:
|
||||
|
@ -309,6 +310,7 @@ IndigoGroupSprites:
|
|||
db SPRITE_BOULDER
|
||||
|
||||
SilentHillsGroupSprites: ; Will have its own thing eventually
|
||||
BlueForestGroupSprites: ; Will have its own thing eventually
|
||||
NewBarkGroupSprites:
|
||||
db SPRITE_SUICUNE
|
||||
db SPRITE_SILVER_TROPHY
|
||||
|
|
|
@ -39,6 +39,7 @@ MapGroupRoofs:
|
|||
db -1 ; 25
|
||||
db ROOF_NEW_BARK ; 26 (Cherrygrove)
|
||||
db ROOF_NEW_BARK ; 27 (Silent Hills)
|
||||
db ROOF_NEW_BARK ; 28 (Blue Forest)
|
||||
assert_table_length NUM_MAP_GROUPS + 1
|
||||
|
||||
Roofs:
|
||||
|
|
|
@ -500,3 +500,4 @@ INCLUDE "maps/LakeOfRageMart.asm"
|
|||
INCLUDE "maps/LakeOfRagePrycesHouse.asm"
|
||||
INCLUDE "maps/DebugRoom.asm"
|
||||
INCLUDE "maps/CliffCave.asm"
|
||||
INCLUDE "maps/BlueForest.asm"
|
||||
|
|
|
@ -31,4 +31,5 @@ MapGroupRoofSGBPalInds:
|
|||
db PREDEFPAL_SAFFRON
|
||||
db PREDEFPAL_CHERRYGROVE
|
||||
db PREDEFPAL_SILENT_HILLS
|
||||
db PREDEFPAL_BLUE_FOREST
|
||||
assert_table_length NUM_MAP_GROUPS + 1
|
||||
|
|
Binary file not shown.
|
@ -2,3 +2,15 @@
|
|||
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 01
|
||||
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 02
|
||||
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 03
|
||||
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 04
|
||||
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 05
|
||||
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 06
|
||||
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 07
|
||||
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 08
|
||||
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 09
|
||||
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 0a
|
||||
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 0b
|
||||
tilecoll WALL, DOOR, FLOOR, FLOOR ; 0c
|
||||
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 0d
|
||||
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 0e
|
||||
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 0f
|
||||
|
|
Binary file not shown.
|
@ -12,6 +12,8 @@ LoadSpecialMapPalette:
|
|||
jr z, .radio_tower
|
||||
cp TILESET_MANSION
|
||||
jr z, .mansion_mobile
|
||||
cp TILESET_NIHON_SNOWY
|
||||
jr z, .snowy
|
||||
jr .do_nothing
|
||||
|
||||
.pokecom_2f
|
||||
|
@ -48,6 +50,11 @@ LoadSpecialMapPalette:
|
|||
scf
|
||||
ret
|
||||
|
||||
.snowy
|
||||
call LoadSnowyPalette
|
||||
scf
|
||||
ret
|
||||
|
||||
.do_nothing
|
||||
and a
|
||||
ret
|
||||
|
@ -135,3 +142,35 @@ LoadMansionPalette:
|
|||
|
||||
MansionPalette2:
|
||||
INCLUDE "gfx/tilesets/mansion_2.pal"
|
||||
|
||||
LoadSnowyPalette:
|
||||
ld a, [wTimeOfDay]
|
||||
and $7
|
||||
cp NITE_F
|
||||
jr z, .nite
|
||||
cp DAY_F
|
||||
jr z, .day
|
||||
scf
|
||||
;morn
|
||||
ld a, BANK(wBGPals1)
|
||||
ld de, wBGPals1
|
||||
ld hl, SnowyMornPalette
|
||||
ld bc, 8 palettes
|
||||
jp FarCopyWRAM
|
||||
ret
|
||||
.day
|
||||
ld a, BANK(wBGPals1)
|
||||
ld de, wBGPals1
|
||||
ld hl, SnowyDayPalette
|
||||
ld bc, 8 palettes
|
||||
jp FarCopyWRAM
|
||||
ret
|
||||
.nite
|
||||
ld a, BANK(wBGPals1)
|
||||
ld de, wBGPals1
|
||||
ld hl, SnowyNitePalette
|
||||
ld bc, 8 palettes
|
||||
jp FarCopyWRAM
|
||||
ret
|
||||
|
||||
INCLUDE "gfx/tilesets/snowy.pal"
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
RGB 31,31,31, 26,26,26, 15,20,31, 00,00,00 ; PREDEFPAL_SILVER_CAVE
|
||||
RGB 31,31,31, 21,14,09, 15,20,20, 00,00,00 ; PREDEFPAL_DUNGEONS
|
||||
RGB 31,31,31, 12,28,22, 15,20,20, 00,00,00 ; PREDEFPAL_SILENT_HILLS
|
||||
RGB 31,31,31, 18,14,31, 15,20,20, 00,00,00 ; PREDEFPAL_BLUE_FOREST
|
||||
RGB 31,31,31, 12,28,22, 15,20,20, 00,00,00 ; PREDEFPAL_NITE
|
||||
RGB 31,31,31, 07,07,07, 02,03,03, 00,00,00 ; PREDEFPAL_BLACKOUT
|
||||
RGB 31,31,31, 30,22,17, 16,14,19, 00,00,00 ; PREDEFPAL_DIPLOMA
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
@ -109,3 +109,7 @@
|
|||
; group 27 (Silent Hills)
|
||||
RGB 09,31,23, 10,22,22 ; morn/day
|
||||
RGB 03,15,17, 02,10,15 ; nite
|
||||
|
||||
; group 28 (Blue Forest)
|
||||
RGB 24,22,31, 18,14,31 ; morn/day
|
||||
RGB 12,10,24, 08,03,23 ; nite
|
||||
|
|
|
@ -1,24 +1,24 @@
|
|||
; morn
|
||||
SnowyMornPalette:
|
||||
RGB 29,31,21, 23,23,31, 13,13,18, 07,07,07 ; gray
|
||||
RGB 29,31,21, 31,19,24, 30,10,06, 07,07,07 ; red
|
||||
RGB 29,31,21, 12,25,01, 05,14,00, 07,07,07 ; green (cyan)
|
||||
RGB 29,31,21, 09,28,31, 16,11,31, 07,07,07 ; green (cyan)
|
||||
RGB 31,31,31, 08,12,31, 01,04,31, 07,07,07 ; water
|
||||
RGB 29,31,21, 31,31,07, 31,16,01, 07,07,07 ; yellow
|
||||
RGB 29,31,21, 24,18,07, 20,15,03, 07,07,07 ; brown
|
||||
RGB 29,31,21, 15,31,31, 05,17,31, 07,07,07 ; roof
|
||||
RGB 31,31,16, 31,31,16, 14,09,00, 00,00,00 ; text
|
||||
|
||||
; day
|
||||
SnowyDayPalette:
|
||||
RGB 27,31,31, 23,23,31, 13,13,18, 07,07,07 ; gray
|
||||
RGB 27,31,31, 31,19,24, 30,10,06, 07,07,07 ; red
|
||||
RGB 27,31,31, 12,25,01, 05,14,00, 07,07,07 ; green (cyan)
|
||||
RGB 27,31,31, 09,28,31, 16,11,31, 07,07,07 ; green (cyan)
|
||||
RGB 31,31,31, 08,12,31, 01,04,31, 07,07,07 ; water
|
||||
RGB 27,31,31, 31,31,07, 31,16,01, 07,07,07 ; yellow
|
||||
RGB 27,31,31, 24,18,07, 20,15,03, 07,07,07 ; brown
|
||||
RGB 27,31,31, 15,31,31, 05,17,31, 07,07,07 ; roof
|
||||
RGB 31,31,16, 31,31,16, 14,09,00, 00,00,00 ; text
|
||||
|
||||
; nite
|
||||
SnowyNitePalette:
|
||||
RGB 15,14,24, 11,11,22, 07,07,16, 00,00,00 ; gray
|
||||
RGB 15,14,24, 14,07,17, 13,00,08, 00,00,00 ; red
|
||||
RGB 15,14,24, 02,12,23, 05,05,17, 00,00,00 ; green (cyan)
|
||||
|
@ -27,3 +27,4 @@
|
|||
RGB 15,14,24, 12,09,15, 08,04,05, 00,00,00 ; brown
|
||||
RGB 15,14,24, 13,12,23, 11,09,20, 00,00,00 ; roof
|
||||
RGB 31,31,16, 31,31,16, 14,09,00, 00,00,00 ; text
|
||||
|
BIN
maps/BlueForest.ablk
Normal file
BIN
maps/BlueForest.ablk
Normal file
Binary file not shown.
18
maps/BlueForest.asm
Normal file
18
maps/BlueForest.asm
Normal file
|
@ -0,0 +1,18 @@
|
|||
object_const_def
|
||||
|
||||
BlueForest_MapScripts:
|
||||
def_scene_scripts
|
||||
|
||||
def_callbacks
|
||||
|
||||
BlueForest_MapEvents:
|
||||
db 0, 0 ; filler
|
||||
|
||||
def_warp_events
|
||||
warp_event 3, 22, DEBUG_ROOM, 1
|
||||
|
||||
def_coord_events
|
||||
|
||||
def_bg_events
|
||||
|
||||
def_object_events
|
|
@ -97,10 +97,10 @@ DebugRoom_MapEvents:
|
|||
warp_event 15, 2, GOLDENROD_CITY, 1 ; city warp
|
||||
warp_event 4, 9, PALLET_TOWN, 1 ; left lab/league warp
|
||||
warp_event 5, 9, PALLET_TOWN, 1 ; right lab/league warp
|
||||
warp_event 35, 17, VIRIDIAN_FOREST, 1 ; east warp
|
||||
warp_event 5, 35, VIRIDIAN_FOREST, 1 ; southwest warp
|
||||
warp_event 19, 34, VIRIDIAN_FOREST, 1 ; southern warp
|
||||
warp_event 33, 33, VIRIDIAN_FOREST, 1 ; southeast warp
|
||||
warp_event 35, 17, BLUE_FOREST, 1 ; east warp
|
||||
warp_event 5, 35, BLUE_FOREST, 1 ; southwest warp
|
||||
warp_event 19, 34, BLUE_FOREST, 1 ; southern warp
|
||||
warp_event 33, 33, BLUE_FOREST, 1 ; southeast warp
|
||||
warp_event 5, 3, AZALEA_TOWN, 1
|
||||
warp_event 34, 11, CLIFF_CAVE, 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue