mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-20 14:18:34 +13:00
The Big One Again
Pushing everything I've done, currently doesn't build because the Galarian Birds filesize is too thicc for the section but I need to push this before I go mad
This commit is contained in:
parent
1466465f63
commit
14f08c941d
57 changed files with 3676 additions and 370 deletions
|
|
@ -40,8 +40,8 @@ GaryScript1:
|
|||
ret
|
||||
|
||||
GaryEntrance_RLEMovement:
|
||||
db D_UP, 1
|
||||
db D_RIGHT, 1
|
||||
db D_UP, 2
|
||||
db D_UP, 2
|
||||
db D_UP, 3
|
||||
db -1 ; end
|
||||
|
||||
|
|
@ -159,14 +159,13 @@ OakEntranceAfterVictoryMovement:
|
|||
db NPC_MOVEMENT_UP
|
||||
db NPC_MOVEMENT_UP
|
||||
db NPC_MOVEMENT_UP
|
||||
db NPC_MOVEMENT_UP
|
||||
db -1 ; end
|
||||
|
||||
GaryScript5:
|
||||
ld a, [wd730]
|
||||
bit 0, a
|
||||
ret nz
|
||||
ld a, PLAYER_DIR_LEFT
|
||||
ld [wPlayerMovingDirection], a
|
||||
ld a, $1
|
||||
ldh [hSpriteIndex], a
|
||||
ld a, SPRITE_FACING_LEFT
|
||||
|
|
@ -244,7 +243,7 @@ GaryScript9:
|
|||
ret
|
||||
|
||||
WalkToHallOfFame_RLEMovment:
|
||||
db D_UP, 4
|
||||
db D_UP, 5
|
||||
db D_LEFT, 1
|
||||
db -1 ; end
|
||||
|
||||
|
|
|
|||
62
scripts/FishingGuruHouse.asm
Normal file
62
scripts/FishingGuruHouse.asm
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
FishingGuruHouse_Script:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
FishingGuruHouse_TextPointers:
|
||||
dw FishingGuruHouseText1
|
||||
dw JumpText
|
||||
|
||||
FishingGuruHouseText1:
|
||||
text_asm
|
||||
ld a, [wd728]
|
||||
bit 5, a ; received fishing rod?
|
||||
jr nz, .got_item
|
||||
ld hl, FishingGuruHouseText_564c0
|
||||
call PrintText
|
||||
call YesNoChoice
|
||||
ld a, [wCurrentMenuItem]
|
||||
and a
|
||||
jr nz, .refused
|
||||
lb bc, FISHING_ROD, 1
|
||||
call GiveItem
|
||||
jr nc, .bag_full
|
||||
ld hl, wd728
|
||||
set 5, [hl] ; received fishing rod
|
||||
ld hl, FishingGuruHouseText_564c5
|
||||
jr .done
|
||||
.bag_full
|
||||
ld hl, FishingGuruHouseText_564d9
|
||||
jr .done
|
||||
.refused
|
||||
ld hl, FishingGuruHouseText_564cf
|
||||
jr .done
|
||||
.got_item
|
||||
ld hl, FishingGuruHouseText_564d4
|
||||
.done
|
||||
call PrintText
|
||||
jp TextScriptEnd
|
||||
|
||||
FishingGuruHouseText_564c0:
|
||||
text_far _FishingGuruHouseText_564c0
|
||||
text_end
|
||||
|
||||
FishingGuruHouseText_564c5:
|
||||
text_far _FishingGuruHouseText_564c5
|
||||
sound_get_item_1
|
||||
text_far _FishingGuruHouseText_564ca
|
||||
text_end
|
||||
|
||||
FishingGuruHouseText_564cf:
|
||||
text_far _FishingGuruHouseText_564cf
|
||||
text_end
|
||||
|
||||
FishingGuruHouseText_564d4:
|
||||
text_far _FishingGuruHouseText_564d4
|
||||
text_end
|
||||
|
||||
FishingGuruHouseText_564d9:
|
||||
text_far _FishingGuruHouseText_564d9
|
||||
text_end
|
||||
|
||||
JumpText:
|
||||
text_far _JumpText
|
||||
text_end
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
Route12SuperRodHouse_Script:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
Route12SuperRodHouse_TextPointers:
|
||||
dw Route12HouseText1
|
||||
dw JumpText
|
||||
|
||||
Route12HouseText1:
|
||||
text_asm
|
||||
ld a, [wd728]
|
||||
bit 5, a ; received super rod?
|
||||
jr nz, .got_item
|
||||
ld hl, Route12HouseText_564c0
|
||||
call PrintText
|
||||
call YesNoChoice
|
||||
ld a, [wCurrentMenuItem]
|
||||
and a
|
||||
jr nz, .refused
|
||||
lb bc, SUPER_ROD, 1
|
||||
call GiveItem
|
||||
jr nc, .bag_full
|
||||
ld hl, wd728
|
||||
set 5, [hl] ; received super rod
|
||||
ld hl, Route12HouseText_564c5
|
||||
jr .done
|
||||
.bag_full
|
||||
ld hl, Route12HouseText_564d9
|
||||
jr .done
|
||||
.refused
|
||||
ld hl, Route12HouseText_564cf
|
||||
jr .done
|
||||
.got_item
|
||||
ld hl, Route12HouseText_564d4
|
||||
.done
|
||||
call PrintText
|
||||
jp TextScriptEnd
|
||||
|
||||
Route12HouseText_564c0:
|
||||
text_far _Route12HouseText_564c0
|
||||
text_end
|
||||
|
||||
Route12HouseText_564c5:
|
||||
text_far _Route12HouseText_564c5
|
||||
sound_get_item_1
|
||||
text_far _Route12HouseText_564ca
|
||||
text_end
|
||||
|
||||
Route12HouseText_564cf:
|
||||
text_far _Route12HouseText_564cf
|
||||
text_end
|
||||
|
||||
Route12HouseText_564d4:
|
||||
text_far _Route12HouseText_564d4
|
||||
text_end
|
||||
|
||||
Route12HouseText_564d9:
|
||||
text_far _Route12HouseText_564d9
|
||||
text_end
|
||||
|
||||
JumpText:
|
||||
text_far _JumpText
|
||||
text_end
|
||||
|
|
@ -107,7 +107,7 @@ ChiefScript4:
|
|||
ld [wMissableObjectIndex], a
|
||||
predef HideObject
|
||||
SetEvent EVENT_MEWTWO_UNLOCKED
|
||||
ResetEventRange SILPH_GAUNTLET_EVENTS_START, SILPH_GAUNTLET_EVENTS_END, 1
|
||||
ResetEventRange EVENT_BEAT_GAUNTLET_YOUNGSTER, EVENT_BEAT_GAUNTLET_BLAINE
|
||||
|
||||
ld a, $0
|
||||
ld [wSilphGauntlet7FCurScript], a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue