summaryrefslogtreecommitdiff
path: root/Hard-coded-logic.md
diff options
context:
space:
mode:
Diffstat (limited to 'Hard-coded-logic.md')
-rw-r--r--Hard-coded-logic.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/Hard-coded-logic.md b/Hard-coded-logic.md
index a016019..d8219a4 100644
--- a/Hard-coded-logic.md
+++ b/Hard-coded-logic.md
@@ -1,6 +1,15 @@
Much of the game logic can be changed via the files in [data/](../blob/master/data/), but some things are hard-coded and can be tricky to find. This page lists things that may trip you up when hacking.
+## Contents
+
+- [`RIVAL1`'s first Pokémon has no held item](#rival1s-first-pokémon-has-no-held-item)
+- [`RIVAL1` and `RIVAL2` don't print their trainer class in battle](#rival1-and-rival2-dont-print-their-trainer-class-in-battle)
+- [Some trainer classes have different battle music](#some-trainer-classes-have-different-battle-music)
+- [Some maps don't display a location sign](#some-maps-dont-display-a-location-sign)
+- [Outdoor maps within indoor maps don't confuse Dig or Escape Rope](#outdoor-maps-within-indoor-maps-dont-confuse-dig-or-escape-rope)
+
+
## `RIVAL1`'s first Pokémon has no held item
This is caused by `InitEnemyTrainer` in [engine/battle/core.asm](../blob/master/engine/battle/core.asm):