Add subdirectories to data/ similar to pokecrystal

Top level text/ is now solely for the former text/maps/ files, and other files are in their respective subdirectories in data/.
This commit is contained in:
Rangi 2020-07-03 11:51:00 -04:00
parent c85050497c
commit b29e5ee203
564 changed files with 3511 additions and 3505 deletions

View file

@ -649,7 +649,7 @@ DoSpecialEffectByAnimationId:
pop hl
ret
INCLUDE "data/move_animation_special_effects.asm"
INCLUDE "data/moves/animation_special_effects.asm"
DoBallTossSpecialEffects:
ld a, [wcf91]
@ -911,7 +911,7 @@ TailWhipAnimationUnused:
ld c, 20
jp DelayFrames
INCLUDE "data/move_animation_pointers.asm"
INCLUDE "data/moves/animation_special_effect_pointers.asm"
AnimationDelay10:
ld c, 10
@ -2208,7 +2208,7 @@ IsCryMove:
scf
ret
INCLUDE "data/move_sfx.asm"
INCLUDE "data/moves/sfx.asm"
CopyPicTiles:
ld a, [H_WHOSETURN]

View file

@ -151,7 +151,7 @@ GetBattleTransitionID_IsDungeonMap:
res 2, c
ret
INCLUDE "data/dungeon_maps.asm"
INCLUDE "data/maps/dungeon_maps.asm"
LoadBattleTransitionTile:
ld hl, vChars1 + $7f0

View file

@ -3814,7 +3814,7 @@ DetermineExclamationPointTextNum:
pop bc
ret
INCLUDE "data/move_grammar.asm"
INCLUDE "data/moves/grammar.asm"
PrintMoveFailureText:
ld de, wPlayerMoveEffect
@ -5317,7 +5317,7 @@ AIGetTypeEffectiveness:
ld [wTypeEffectiveness], a ; store damage multiplier
ret
INCLUDE "data/type_effects.asm"
INCLUDE "data/types/type_matchups.asm"
; some tests that need to pass for a move to hit
MoveHitTest:

View file

@ -21,7 +21,7 @@ _JumpMoveEffect:
ld l, a
jp hl ; jump to special effect handler
INCLUDE "data/effects_pointers.asm"
INCLUDE "data/moves/effects_pointers.asm"
SleepEffect:
ld de, wEnemyMonStatus
@ -751,7 +751,7 @@ PrintStatText:
ld bc, $a
jp CopyData
INCLUDE "text/stat_names.asm"
INCLUDE "data/battle/stat_names.asm"
INCLUDE "data/battle/stat_modifiers.asm"

View file

@ -49,4 +49,4 @@ PrintType_:
pop hl
jp PlaceString
INCLUDE "text/type_names.asm"
INCLUDE "data/types/names.asm"

View file

@ -18,4 +18,4 @@ SaveTrainerName::
jr nz, .CopyCharacter
ret
INCLUDE "text/trainer_name_pointers.asm"
INCLUDE "data/trainers/name_pointers.asm"

View file

@ -273,19 +273,19 @@ ReadMove:
pop hl
ret
INCLUDE "data/trainer_move_choices.asm"
INCLUDE "data/trainers/move_choices.asm"
INCLUDE "data/trainer_pic_money_pointers.asm"
INCLUDE "data/trainers/pic_pointers_money.asm"
INCLUDE "text/trainer_names.asm"
INCLUDE "data/trainers/names.asm"
INCLUDE "engine/battle/misc.asm"
INCLUDE "engine/battle/read_trainer_party.asm"
INCLUDE "data/trainer_moves.asm"
INCLUDE "data/trainers/special_moves.asm"
INCLUDE "data/trainer_parties.asm"
INCLUDE "data/trainers/parties.asm"
TrainerAI:
and a
@ -319,7 +319,7 @@ TrainerAI:
call Random
jp hl
INCLUDE "data/trainer_ai_pointers.asm"
INCLUDE "data/trainers/ai_pointers.asm"
JugglerAI:
cp 25 percent + 1

View file

@ -101,4 +101,4 @@ TryDoWildEncounter:
xor a
ret
INCLUDE "data/wild_probabilities.asm"
INCLUDE "data/wild/probabilities.asm"