mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-21 22:52:15 +13:00
Merge branch 'mistress' into renewables
This commit is contained in:
commit
d6d897b270
13 changed files with 58 additions and 12 deletions
|
|
@ -43,8 +43,7 @@ HallofFameRoomScript2:
|
|||
ResetEventRange INDIGO_PLATEAU_EVENTS_START, INDIGO_PLATEAU_EVENTS_END, 1
|
||||
xor a
|
||||
ld [wHallOfFameCurScript], a
|
||||
ld hl, FirstMapSpec
|
||||
ld a, [hli]
|
||||
ld a, PALLET_TOWN
|
||||
ld [wLastBlackoutMap], a
|
||||
farcall SaveSAVtoSRAM
|
||||
ld b, 5
|
||||
|
|
|
|||
|
|
@ -1,14 +1,48 @@
|
|||
MtMoonB1F_Script:
|
||||
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 [wDungeonWarpDestinationMap], a
|
||||
ld hl, MtMoonHolesCoords
|
||||
jp IsPlayerOnDungeonWarp
|
||||
ret
|
||||
|
||||
MtMoonHolesCoords:
|
||||
CoordsData_Crater:
|
||||
dbmapcoord 6, 23
|
||||
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:
|
||||
dw MtMoonText1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue