mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-11-05 05:00:59 +13:00
minor things for testing celeste hill
trying to debug this. made the warp better and moved cuno's cry. fixed some minor shitty code too.
This commit is contained in:
parent
0aa26308f2
commit
d10bbb5ba6
|
|
@ -7,7 +7,7 @@ RedsHouse2F_Object:
|
|||
;warp_event 5, 1, SILPH_CO_11F, 1 ; - Test Omega & Giovanni
|
||||
;warp_event 5, 1, ROCKET_HIDEOUT_B4F, 2 ; - Test Giovanni 1
|
||||
;warp_event 5, 1, MT_MOON_SQUARE, 1 ; - Test Shop, NPCs, and Crater
|
||||
warp_event 5, 1, CELESTE_HILL, 1 ; - Test Birds
|
||||
warp_event 5, 1, CELESTE_HILL, 2 ; - Test Birds
|
||||
|
||||
def_bg_events
|
||||
|
||||
|
|
|
|||
|
|
@ -291,7 +291,3 @@ RivalIDs:
|
|||
db OPP_RIVAL3
|
||||
db -1 ; end
|
||||
|
||||
RLEList_PlayerGZapMovement::
|
||||
db D_DOWN, 1
|
||||
db D_LEFT, 1
|
||||
db -1 ; end
|
||||
|
|
|
|||
|
|
@ -13,22 +13,18 @@ CelesteHillCoords1:
|
|||
|
||||
GalarianBirdScript1:
|
||||
; CheckEvent EVENT_BIRDS_FOUND
|
||||
; jr z, .cont
|
||||
; jr nz, .done
|
||||
;.cont - This code is unfinished and bad.
|
||||
; If you have any ideas lmk :3
|
||||
ld hl, CelesteHillCoords1
|
||||
call ArePlayerCoordsInArray
|
||||
jp nc, .done
|
||||
|
||||
ld [wJoyIgnore], a
|
||||
SetEvent EVENT_BIRDS_FOUND
|
||||
ld a, ARTICUNO_G
|
||||
call PlayCry
|
||||
ld a, $1
|
||||
ldh [hSpriteIndexOrTextID], a
|
||||
call DisplayTextID
|
||||
|
||||
ld a, ARTICUNO_G
|
||||
call PlayCry
|
||||
call WaitForSoundToFinish
|
||||
pop hl
|
||||
ld de, BirdSprite
|
||||
|
|
@ -66,16 +62,16 @@ GalarianBirdScript1:
|
|||
|
||||
ld a, ZAPDOS_G
|
||||
call PlayCry
|
||||
call ZapdosRunThrough
|
||||
call ZapdosRunThrough ; something breaks here. i do not know what.
|
||||
|
||||
ld a, HS_CELESTE_ZAPDOS_G
|
||||
ld [wMissableObjectIndex], a
|
||||
predef ShowObject
|
||||
|
||||
ld a, $1
|
||||
ldh [hSpriteIndex], a
|
||||
call SetSpriteMovementBytesToFF
|
||||
ld a, [wXCoord]
|
||||
; ld a, $1
|
||||
; ldh [hSpriteIndex], a
|
||||
; call SetSpriteMovementBytesToFF
|
||||
; ld a, [wXCoord]
|
||||
|
||||
jr .done
|
||||
.done
|
||||
|
|
@ -136,36 +132,21 @@ GalarianArticunoFlyScreenCoords2:
|
|||
|
||||
db $F0, $00
|
||||
|
||||
; This function currently causes the game to crash. It happens right as GZap walks towards the player.
|
||||
; Interestingly, this happens after a single step. I have tried dividing this, but it doesn't seem to help.
|
||||
; Could be worth cutting the event entirely.
|
||||
ZapdosRunThrough:
|
||||
call Delay3
|
||||
ld a, $2
|
||||
ldh [hSpriteIndex], a
|
||||
ld de, GalarianZapdosMovement1
|
||||
call MoveSprite
|
||||
|
||||
ld hl, wSimulatedJoypadStatesEnd
|
||||
ld de, RLEList_PlayerGZapMovement
|
||||
call DecodeRLEList
|
||||
dec a
|
||||
ld [wSimulatedJoypadStatesIndex], a
|
||||
call StartSimulatingJoypadStates
|
||||
ld a, $1
|
||||
ldh [hSpriteIndex], a
|
||||
xor a
|
||||
ldh [hSpriteFacingDirection], a
|
||||
call SetSpriteFacingDirectionAndDelay
|
||||
|
||||
ld a, $2
|
||||
ldh [hSpriteIndex], a
|
||||
ld de, GalarianZapdosMovement2
|
||||
ld de, GalarianZapdosMovement
|
||||
call MoveSprite
|
||||
ret
|
||||
|
||||
GalarianZapdosMovement1:
|
||||
GalarianZapdosMovement:
|
||||
db NPC_MOVEMENT_DOWN
|
||||
db -1
|
||||
|
||||
GalarianZapdosMovement2:
|
||||
db NPC_MOVEMENT_DOWN
|
||||
db NPC_MOVEMENT_LEFT
|
||||
db NPC_MOVEMENT_DOWN
|
||||
db NPC_MOVEMENT_DOWN
|
||||
db NPC_MOVEMENT_DOWN
|
||||
|
|
@ -187,6 +168,4 @@ CelesteHillSign1:
|
|||
CelesteHillSign2:
|
||||
text_far _CelesteHillSign2
|
||||
text_end
|
||||
|
||||
text_end ; unused
|
||||
|
||||
Loading…
Reference in a new issue