mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 08:05:23 +13:00
Rename map files, labels, and constants to be consistent and work with Polished Map
This commit is contained in:
parent
90430e6dee
commit
c779602459
1398 changed files with 6631 additions and 6166 deletions
62
scripts/Route4.asm
Executable file
62
scripts/Route4.asm
Executable file
|
|
@ -0,0 +1,62 @@
|
|||
Route4_Script:
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, Route4TrainerHeader0
|
||||
ld de, Route4_ScriptPointers
|
||||
ld a, [wRoute4CurScript]
|
||||
call ExecuteCurMapScriptInTable
|
||||
ld [wRoute4CurScript], a
|
||||
ret
|
||||
|
||||
Route4_ScriptPointers:
|
||||
dw CheckFightingMapTrainers
|
||||
dw DisplayEnemyTrainerTextAndStartBattle
|
||||
dw EndTrainerBattle
|
||||
|
||||
Route4_TextPointers:
|
||||
dw Route4Text1
|
||||
dw Route4Text2
|
||||
dw PickUpItemText
|
||||
dw PokeCenterSignText
|
||||
dw Route4Text5
|
||||
dw Route4Text6
|
||||
|
||||
Route4TrainerHeader0:
|
||||
dbEventFlagBit EVENT_BEAT_ROUTE_4_TRAINER_0
|
||||
db ($3 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_ROUTE_4_TRAINER_0
|
||||
dw Route4BattleText1 ; TextBeforeBattle
|
||||
dw Route4AfterBattleText1 ; TextAfterBattle
|
||||
dw Route4EndBattleText1 ; TextEndBattle
|
||||
dw Route4EndBattleText1 ; TextEndBattle
|
||||
|
||||
db $ff
|
||||
|
||||
Route4Text1:
|
||||
TX_FAR _Route4Text1
|
||||
db "@"
|
||||
|
||||
Route4Text2:
|
||||
TX_ASM
|
||||
ld hl, Route4TrainerHeader0
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
Route4BattleText1:
|
||||
TX_FAR _Route4BattleText1
|
||||
db "@"
|
||||
|
||||
Route4EndBattleText1:
|
||||
TX_FAR _Route4EndBattleText1
|
||||
db "@"
|
||||
|
||||
Route4AfterBattleText1:
|
||||
TX_FAR _Route4AfterBattleText1
|
||||
db "@"
|
||||
|
||||
Route4Text5:
|
||||
TX_FAR _Route4Text5
|
||||
db "@"
|
||||
|
||||
Route4Text6:
|
||||
TX_FAR _Route4Text6
|
||||
db "@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue