mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
Merge branch 'master' into mistress
This commit is contained in:
commit
85bbe08815
|
@ -1,5 +1,5 @@
|
||||||
MtMoonCrater_Object:
|
MtMoonCrater_Object:
|
||||||
db $03 ; border block
|
db $41 ; border block
|
||||||
|
|
||||||
def_warp_events
|
def_warp_events
|
||||||
warp_event 46, 47, MT_MOON_B1F, 14
|
warp_event 46, 47, MT_MOON_B1F, 14
|
||||||
|
|
|
@ -106,8 +106,8 @@ MonsterPalettes:
|
||||||
db PAL_YELLOWMON ; ABRA
|
db PAL_YELLOWMON ; ABRA
|
||||||
db PAL_YELLOWMON ; KADABRA
|
db PAL_YELLOWMON ; KADABRA
|
||||||
db PAL_YELLOWMON ; ALAKAZAM
|
db PAL_YELLOWMON ; ALAKAZAM
|
||||||
db PAL_PURPLEMON ; CHEEP
|
db PAL_MEWMON ; CHEEP
|
||||||
db PAL_PURPLEMON ; JABETTA
|
db PAL_MEWMON ; JABETTA
|
||||||
db PAL_PINKMON ; LICKITUNG
|
db PAL_PINKMON ; LICKITUNG
|
||||||
db PAL_PINKMON ; LICKILICKY
|
db PAL_PINKMON ; LICKILICKY
|
||||||
db PAL_REDMON ; GROWLITHE
|
db PAL_REDMON ; GROWLITHE
|
||||||
|
|
|
@ -18,7 +18,7 @@ SuperPalettes:
|
||||||
RGB 31,31,31, 00,21,31, 10,28,00, 01,01,01 ; PAL_TOWNMAP
|
RGB 31,31,31, 00,21,31, 10,28,00, 01,01,01 ; PAL_TOWNMAP
|
||||||
RGB 31,31,31, 31,31,00, 31,01,09, 31,13,15 ; PAL_LOGO1
|
RGB 31,31,31, 31,31,00, 31,01,09, 31,13,15 ; PAL_LOGO1
|
||||||
RGB 31,31,31, 31,31,00, 07,07,25, 00,00,17 ; PAL_LOGO2
|
RGB 31,31,31, 31,31,00, 07,07,25, 00,00,17 ; PAL_LOGO2
|
||||||
RGB 31,31,31, 13,01,31, 00,09,31, 01,01,01 ; PAL_0F
|
RGB 31,31,31, 29,16,30, 09,03,27, 01,01,01 ; PAL_0F
|
||||||
RGB 31,31,31, 30,17,11, 11,05,14, 03,03,03 ; PAL_MEWMON
|
RGB 31,31,31, 30,17,11, 11,05,14, 03,03,03 ; PAL_MEWMON
|
||||||
RGB 31,31,31, 16,18,31, 00,01,25, 03,03,03 ; PAL_BLUEMON
|
RGB 31,31,31, 16,18,31, 00,01,25, 03,03,03 ; PAL_BLUEMON
|
||||||
RGB 31,31,31, 31,17,00, 31,00,00, 03,03,03 ; PAL_REDMON
|
RGB 31,31,31, 31,17,00, 31,00,00, 03,03,03 ; PAL_REDMON
|
||||||
|
|
|
@ -207,6 +207,12 @@ SetPal_Overworld:
|
||||||
jp z, .ferry
|
jp z, .ferry
|
||||||
cp SILPH_GAUNTLET_5F
|
cp SILPH_GAUNTLET_5F
|
||||||
jp z, .trans
|
jp z, .trans
|
||||||
|
cp REDS_HOUSE_1F
|
||||||
|
jp z, .pallet
|
||||||
|
cp REDS_HOUSE_2F
|
||||||
|
jp z, .pallet
|
||||||
|
cp MT_MOON_CRATER
|
||||||
|
jp z, .areazero
|
||||||
cp CERULEAN_CAVE_2F
|
cp CERULEAN_CAVE_2F
|
||||||
jp c, .normalDungeonOrBuilding
|
jp c, .normalDungeonOrBuilding
|
||||||
cp LORELEIS_ROOM
|
cp LORELEIS_ROOM
|
||||||
|
@ -291,9 +297,15 @@ SetPal_Overworld:
|
||||||
.citrine
|
.citrine
|
||||||
ld a, PAL_CITRINE - 1
|
ld a, PAL_CITRINE - 1
|
||||||
jr .town
|
jr .town
|
||||||
|
.pallet
|
||||||
|
ld a, PAL_PALLET - 1
|
||||||
|
jr .town
|
||||||
.ferry
|
.ferry
|
||||||
ld a, PAL_BLUEMON - 1
|
ld a, PAL_BLUEMON - 1
|
||||||
jr .town
|
jr .town
|
||||||
|
.areazero
|
||||||
|
ld a, PAL_0F - 1
|
||||||
|
jr .town
|
||||||
|
|
||||||
; used when a Pokemon is the only thing on the screen
|
; used when a Pokemon is the only thing on the screen
|
||||||
; such as evolution, trading and the Hall of Fame
|
; such as evolution, trading and the Hall of Fame
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 504 B After Width: | Height: | Size: 642 B |
Binary file not shown.
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 590 B |
Binary file not shown.
Before Width: | Height: | Size: 785 B After Width: | Height: | Size: 845 B |
2
main.asm
2
main.asm
|
@ -307,7 +307,6 @@ INCLUDE "engine/events/hidden_objects/pokecenter_pc.asm"
|
||||||
SECTION "Battle Engine 11", ROMX
|
SECTION "Battle Engine 11", ROMX
|
||||||
|
|
||||||
INCLUDE "engine/battle/decrement_pp.asm"
|
INCLUDE "engine/battle/decrement_pp.asm"
|
||||||
INCLUDE "gfx/version.asm"
|
|
||||||
|
|
||||||
|
|
||||||
SECTION "bank1C", ROMX
|
SECTION "bank1C", ROMX
|
||||||
|
@ -323,6 +322,7 @@ INCLUDE "engine/gfx/mon_icons.asm"
|
||||||
INCLUDE "engine/gfx/palettes.asm"
|
INCLUDE "engine/gfx/palettes.asm"
|
||||||
INCLUDE "engine/menus/save.asm"
|
INCLUDE "engine/menus/save.asm"
|
||||||
INCLUDE "engine/overworld/field_moves.asm"
|
INCLUDE "engine/overworld/field_moves.asm"
|
||||||
|
INCLUDE "gfx/version.asm"
|
||||||
|
|
||||||
SECTION "In-Game Trade Zone", ROMX
|
SECTION "In-Game Trade Zone", ROMX
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
AAAAAAAAAAAAAAAAAAAAAAAAAACEEEEEEEEEEEEEEEEEEEE?AAABbCF,5
|
AAAAAAAAAAAAAAAAAAAAAAAAAACEEEEEEEEEEEEEEEEEEEE?AAABbCF,5
|
||||||
DD?AABCF//
|
DD?AABCF//
|
||||||
D@AABF9 ),@ACF,<=========>)@AB<JCEEE?AAAAK>)@AK><JCF}}DEEEE?K>@AAB)@CF$%,\QQQQ@AB @AAB)@BZ--v=JAB@AAB@B"#rk-zG?AB
@AAB@K=>,012@AB@AAB.@AAB%_@AB @AAB)@ACF)<=====JCF@AAB.@AB,@ACEE?ABD?AB@AB7@CF€D?B@AB@AB 6DF)DF<==JAB@AB 5,DE?AAB
@AB
|
D@AABF9 ),@ACF,<=========>)@AB<JCEEE?AAAAK>)@AK><JCF}}DEEEE?K>@AAB)@CF$%,\QQQQ@AB @AAB)@BZ--v=JAB@AAB@B"#rk-zG?AB
@AAB@K=>,012@AB@AAB.@AAB%<12>@AB @AAB)@ACF)<=====JCF@AAB.@AB,@ACEE?ABD?AB@AB7@CF€D?B@AB@AB 6DF)DF<==JAB@AB 5,DE?AAB
@AB
|
||||||
6,DD?AB
|
6,DD?AB
|
||||||
D?K============>@AB,@DE?AACEEE?AAC?K>@AB|DEFDEEFD?CFDGF>@AB,.}},.@ABDGEF.@AB,||)DEEF,g@AK======================A
|
D?K============>@AB,@DE?AACEEE?AAC?K>@AB|DEFDEEFD?CFDGF>@AB,.}},.@ABDGEF.@AB,||)DEEF,g@AK======================A
|
|
@ -2024,7 +2024,8 @@ wCeruleanCityCurScript:: db
|
||||||
wCelesteHillOutsideCurScript:: db
|
wCelesteHillOutsideCurScript:: db
|
||||||
wCelesteHillCaveCurScript:: db
|
wCelesteHillCaveCurScript:: db
|
||||||
wBrunswickGladeCurScript:: db
|
wBrunswickGladeCurScript:: db
|
||||||
ds 2
|
wMtMoonB1FCurScript:: db
|
||||||
|
ds 1
|
||||||
wSSAnneBowCurScript:: db
|
wSSAnneBowCurScript:: db
|
||||||
wViridianForestCurScript:: db
|
wViridianForestCurScript:: db
|
||||||
wMuseum1FCurScript:: db
|
wMuseum1FCurScript:: db
|
||||||
|
|
|
@ -43,8 +43,7 @@ HallofFameRoomScript2:
|
||||||
ResetEventRange INDIGO_PLATEAU_EVENTS_START, INDIGO_PLATEAU_EVENTS_END, 1
|
ResetEventRange INDIGO_PLATEAU_EVENTS_START, INDIGO_PLATEAU_EVENTS_END, 1
|
||||||
xor a
|
xor a
|
||||||
ld [wHallOfFameCurScript], a
|
ld [wHallOfFameCurScript], a
|
||||||
ld hl, FirstMapSpec
|
ld a, PALLET_TOWN
|
||||||
ld a, [hli]
|
|
||||||
ld [wLastBlackoutMap], a
|
ld [wLastBlackoutMap], a
|
||||||
farcall SaveSAVtoSRAM
|
farcall SaveSAVtoSRAM
|
||||||
ld b, 5
|
ld b, 5
|
||||||
|
|
|
@ -1,14 +1,48 @@
|
||||||
MtMoonB1F_Script:
|
MtMoonB1F_Script:
|
||||||
call EnableAutoTextBoxDrawing
|
call EnableAutoTextBoxDrawing
|
||||||
|
ld de, MtMoonB1F_ScriptPointers
|
||||||
|
ld a, [wMtMoonB1FCurScript]
|
||||||
|
call ExecuteCurMapScriptInTable
|
||||||
|
ld [wMtMoonB1FCurScript], a
|
||||||
|
ret
|
||||||
|
|
||||||
|
MtMoonB1F_ScriptPointers:
|
||||||
|
dw MtMoonB1FScript0
|
||||||
|
|
||||||
|
MtMoonB1FScript0:
|
||||||
|
ld hl, CoordsData_Crater
|
||||||
|
call MtMoonB1FScript_5225b
|
||||||
|
ld a, [wWhichDungeonWarp]
|
||||||
|
and a
|
||||||
ld a, MT_MOON_CRATER
|
ld a, MT_MOON_CRATER
|
||||||
ld [wDungeonWarpDestinationMap], a
|
ld [wDungeonWarpDestinationMap], a
|
||||||
ld hl, MtMoonHolesCoords
|
ret
|
||||||
jp IsPlayerOnDungeonWarp
|
|
||||||
|
|
||||||
MtMoonHolesCoords:
|
CoordsData_Crater:
|
||||||
dbmapcoord 6, 23
|
dbmapcoord 6, 23
|
||||||
db -1 ; end
|
db -1 ; end
|
||||||
|
|
||||||
|
MtMoonB1FScript_5225b:
|
||||||
|
xor a
|
||||||
|
ld [wWhichDungeonWarp], a
|
||||||
|
ld a, [wd72d]
|
||||||
|
bit 4, a
|
||||||
|
ret nz
|
||||||
|
call ArePlayerCoordsInArray
|
||||||
|
ret nc
|
||||||
|
ld a, [wCoordIndex]
|
||||||
|
ld [wWhichDungeonWarp], a
|
||||||
|
ld hl, wd72d
|
||||||
|
set 4, [hl]
|
||||||
|
ld hl, wd732
|
||||||
|
set 4, [hl]
|
||||||
|
ld a, SFX_STOP_ALL_MUSIC
|
||||||
|
call PlaySound
|
||||||
|
ld c, 0 ; BANK(Music_MeetRival)
|
||||||
|
ld a, MUSIC_AREA_ZERO
|
||||||
|
call PlayMusic
|
||||||
|
ret
|
||||||
|
|
||||||
MtMoonB1F_TextPointers:
|
MtMoonB1F_TextPointers:
|
||||||
dw MtMoonText1
|
dw MtMoonText1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue