mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 16:15: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
144
scripts/ViridianForest.asm
Executable file
144
scripts/ViridianForest.asm
Executable file
|
|
@ -0,0 +1,144 @@
|
|||
ViridianForest_Script:
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, ViridianForestTrainerHeader0
|
||||
ld de, ViridianForest_ScriptPointers
|
||||
ld a, [wViridianForestCurScript]
|
||||
call ExecuteCurMapScriptInTable
|
||||
ld [wViridianForestCurScript], a
|
||||
ret
|
||||
|
||||
ViridianForest_ScriptPointers:
|
||||
dw CheckFightingMapTrainers
|
||||
dw DisplayEnemyTrainerTextAndStartBattle
|
||||
dw EndTrainerBattle
|
||||
|
||||
ViridianForest_TextPointers:
|
||||
dw ViridianForestText1
|
||||
dw ViridianForestText2
|
||||
dw ViridianForestText3
|
||||
dw ViridianForestText4
|
||||
dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
dw ViridianForestText8
|
||||
dw ViridianForestText9
|
||||
dw ViridianForestText10
|
||||
dw ViridianForestText11
|
||||
dw ViridianForestText12
|
||||
dw ViridianForestText13
|
||||
dw ViridianForestText14
|
||||
|
||||
ViridianForestTrainerHeader0:
|
||||
dbEventFlagBit EVENT_BEAT_VIRIDIAN_FOREST_TRAINER_0
|
||||
db ($4 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_VIRIDIAN_FOREST_TRAINER_0
|
||||
dw ViridianForestBattleText1 ; TextBeforeBattle
|
||||
dw ViridianForestAfterBattleText1 ; TextAfterBattle
|
||||
dw ViridianForestEndBattleText1 ; TextEndBattle
|
||||
dw ViridianForestEndBattleText1 ; TextEndBattle
|
||||
|
||||
ViridianForestTrainerHeader1:
|
||||
dbEventFlagBit EVENT_BEAT_VIRIDIAN_FOREST_TRAINER_1
|
||||
db ($4 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_VIRIDIAN_FOREST_TRAINER_1
|
||||
dw ViridianForestBattleText2 ; TextBeforeBattle
|
||||
dw ViridianForestAfterBattleText2 ; TextAfterBattle
|
||||
dw ViridianForestEndBattleText2 ; TextEndBattle
|
||||
dw ViridianForestEndBattleText2 ; TextEndBattle
|
||||
|
||||
ViridianForestTrainerHeader2:
|
||||
dbEventFlagBit EVENT_BEAT_VIRIDIAN_FOREST_TRAINER_2
|
||||
db ($1 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_VIRIDIAN_FOREST_TRAINER_2
|
||||
dw ViridianForestBattleText3 ; TextBeforeBattle
|
||||
dw ViridianForestAfterBattleText3 ; TextAfterBattle
|
||||
dw ViridianForestEndBattleText3 ; TextEndBattle
|
||||
dw ViridianForestEndBattleText3 ; TextEndBattle
|
||||
|
||||
db $ff
|
||||
|
||||
ViridianForestText1:
|
||||
TX_FAR _ViridianForestText1
|
||||
db "@"
|
||||
|
||||
ViridianForestText2:
|
||||
TX_ASM
|
||||
ld hl, ViridianForestTrainerHeader0
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
ViridianForestText3:
|
||||
TX_ASM
|
||||
ld hl, ViridianForestTrainerHeader1
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
ViridianForestText4:
|
||||
TX_ASM
|
||||
ld hl, ViridianForestTrainerHeader2
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
ViridianForestBattleText1:
|
||||
TX_FAR _ViridianForestBattleText1
|
||||
db "@"
|
||||
|
||||
ViridianForestEndBattleText1:
|
||||
TX_FAR _ViridianForestEndBattleText1
|
||||
db "@"
|
||||
|
||||
ViridianForestAfterBattleText1:
|
||||
TX_FAR _ViridianFrstAfterBattleText1
|
||||
db "@"
|
||||
|
||||
ViridianForestBattleText2:
|
||||
TX_FAR _ViridianForestBattleText2
|
||||
db "@"
|
||||
|
||||
ViridianForestEndBattleText2:
|
||||
TX_FAR _ViridianForestEndBattleText2
|
||||
db "@"
|
||||
|
||||
ViridianForestAfterBattleText2:
|
||||
TX_FAR _ViridianFrstAfterBattleText2
|
||||
db "@"
|
||||
|
||||
ViridianForestBattleText3:
|
||||
TX_FAR _ViridianForestBattleText3
|
||||
db "@"
|
||||
|
||||
ViridianForestEndBattleText3:
|
||||
TX_FAR _ViridianForestEndBattleText3
|
||||
db "@"
|
||||
|
||||
ViridianForestAfterBattleText3:
|
||||
TX_FAR _ViridianFrstAfterBattleText3
|
||||
db "@"
|
||||
|
||||
ViridianForestText8:
|
||||
TX_FAR _ViridianForestText8
|
||||
db "@"
|
||||
|
||||
ViridianForestText9:
|
||||
TX_FAR _ViridianForestText9
|
||||
db "@"
|
||||
|
||||
ViridianForestText10:
|
||||
TX_FAR _ViridianForestText10
|
||||
db "@"
|
||||
|
||||
ViridianForestText11:
|
||||
TX_FAR _ViridianForestText11
|
||||
db "@"
|
||||
|
||||
ViridianForestText12:
|
||||
TX_FAR _ViridianForestText12
|
||||
db "@"
|
||||
|
||||
ViridianForestText13:
|
||||
TX_FAR _ViridianForestText13
|
||||
db "@"
|
||||
|
||||
ViridianForestText14:
|
||||
TX_FAR _ViridianForestText14
|
||||
db "@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue