Use absolute links within repository

This commit is contained in:
Remy Oukaour 2017-12-14 19:04:44 -05:00
parent c5d482df20
commit 68785d9996
7 changed files with 82 additions and 35 deletions

View File

@ -49,7 +49,7 @@
([Video](https://www.youtube.com/watch?v=rGqu3d3pdok&t=450)) ([Video](https://www.youtube.com/watch?v=rGqu3d3pdok&t=450))
This is a bug with `SpeciesItemBoost` in [battle/effect_commands.asm](battle/effect_commands.asm): This is a bug with `SpeciesItemBoost` in [battle/effect_commands.asm](/battle/effect_commands.asm):
```asm ```asm
; Double the stat ; Double the stat
@ -83,7 +83,7 @@ This is a bug with `SpeciesItemBoost` in [battle/effect_commands.asm](battle/eff
([Video](https://www.youtube.com/watch?v=rGqu3d3pdok&t=450)) ([Video](https://www.youtube.com/watch?v=rGqu3d3pdok&t=450))
This is a bug with `DittoMetalPowder` in [battle/effect_commands.asm](battle/effect_commands.asm): This is a bug with `DittoMetalPowder` in [battle/effect_commands.asm](/battle/effect_commands.asm):
```asm ```asm
ld a, c ld a, c
@ -139,7 +139,7 @@ This is a bug with `DittoMetalPowder` in [battle/effect_commands.asm](battle/eff
([Video](https://www.youtube.com/watch?v=zuCLMikWo4Y)) ([Video](https://www.youtube.com/watch?v=zuCLMikWo4Y))
This is a bug with `BattleCommand_BellyDrum` in [battle/effect_commands.asm](battle/effect_commands.asm): This is a bug with `BattleCommand_BellyDrum` in [battle/effect_commands.asm](/battle/effect_commands.asm):
```asm ```asm
BattleCommand_BellyDrum: ; 37c1a BattleCommand_BellyDrum: ; 37c1a
@ -179,7 +179,7 @@ BattleCommand_BellyDrum: ; 37c1a
This bug affects Acid, Iron Tail, and Rock Smash. This bug affects Acid, Iron Tail, and Rock Smash.
This is a bug with `DefenseDownHit` in [battle/moves/move_effects.asm](battle/moves/move_effects.asm): This is a bug with `DefenseDownHit` in [battle/moves/move_effects.asm](/battle/moves/move_effects.asm):
```asm ```asm
DefenseDownHit: DefenseDownHit:
@ -220,7 +220,7 @@ DefenseDownHit:
([Video](https://www.youtube.com/watch?v=1v9x4SgMggs)) ([Video](https://www.youtube.com/watch?v=1v9x4SgMggs))
This is a bug with `CheckPlayerHasUsableMoves` in [battle/core.asm](battle/core.asm): This is a bug with `CheckPlayerHasUsableMoves` in [battle/core.asm](/battle/core.asm):
```asm ```asm
.done .done
@ -252,7 +252,7 @@ This is a bug with `CheckPlayerHasUsableMoves` in [battle/core.asm](battle/core.
([Video](https://www.youtube.com/watch?v=202-iAsrIa8)) ([Video](https://www.youtube.com/watch?v=202-iAsrIa8))
This is a bug with `BattleCommand_BeatUp` in [battle/effect_commands.asm](battle/effect_commands.asm): This is a bug with `BattleCommand_BeatUp` in [battle/effect_commands.asm](/battle/effect_commands.asm):
```asm ```asm
.got_mon .got_mon
@ -289,7 +289,7 @@ This is a bug with `BattleCommand_BeatUp` in [battle/effect_commands.asm](battle
This bug existed for all battles in Gold and Silver, and was only fixed for single-player battles in Crystal to preserve link compatibility. This bug existed for all battles in Gold and Silver, and was only fixed for single-player battles in Crystal to preserve link compatibility.
This is a bug with `BattleCommand_Present` in [battle/effects/present.asm](battle/effects/present.asm): This is a bug with `BattleCommand_Present` in [battle/effects/present.asm](/battle/effects/present.asm):
```asm ```asm
BattleCommand_Present: ; 37874 BattleCommand_Present: ; 37874
@ -330,7 +330,7 @@ BattleCommand_Present: ; 37874
([Video](https://www.youtube.com/watch?v=cygMO-zHTls)) ([Video](https://www.youtube.com/watch?v=cygMO-zHTls))
This is a bug with `AI_Smart_MeanLook` in [battle/ai/scoring.asm](battle/ai/scoring.asm): This is a bug with `AI_Smart_MeanLook` in [battle/ai/scoring.asm](/battle/ai/scoring.asm):
```asm ```asm
; 80% chance to greatly encourage this move if the enemy is badly poisoned (buggy). ; 80% chance to greatly encourage this move if the enemy is badly poisoned (buggy).
@ -347,7 +347,7 @@ This is a bug with `AI_Smart_MeanLook` in [battle/ai/scoring.asm](battle/ai/scor
([Video](https://www.youtube.com/watch?v=rGqu3d3pdok&t=322)) ([Video](https://www.youtube.com/watch?v=rGqu3d3pdok&t=322))
This is a bug with `AI_HealStatus` in [battle/ai/items.asm](battle/ai/items.asm): This is a bug with `AI_HealStatus` in [battle/ai/items.asm](/battle/ai/items.asm):
```asm ```asm
AI_HealStatus: ; 384e0 AI_HealStatus: ; 384e0
@ -375,7 +375,7 @@ AI_HealStatus: ; 384e0
([Video](https://www.youtube.com/watch?v=SE-BfsFgZVM)) ([Video](https://www.youtube.com/watch?v=SE-BfsFgZVM))
This is a bug with `LongAnim_UpdateVariables` in [engine/anim_hp_bar.asm](engine/anim_hp_bar.asm): This is a bug with `LongAnim_UpdateVariables` in [engine/anim_hp_bar.asm](/engine/anim_hp_bar.asm):
```asm ```asm
; This routine is buggy. The result from ComputeHPBarPixels is stored ; This routine is buggy. The result from ComputeHPBarPixels is stored
@ -403,7 +403,7 @@ This is a bug with `LongAnim_UpdateVariables` in [engine/anim_hp_bar.asm](engine
([Video](https://www.youtube.com/watch?v=9KyNVIZxJvI)) ([Video](https://www.youtube.com/watch?v=9KyNVIZxJvI))
This is a bug with `ShortHPBar_CalcPixelFrame` in [engine/anim_hp_bar.asm](engine/anim_hp_bar.asm): This is a bug with `ShortHPBar_CalcPixelFrame` in [engine/anim_hp_bar.asm](/engine/anim_hp_bar.asm):
```asm ```asm
ld b, 0 ld b, 0
@ -431,7 +431,7 @@ This is a bug with `ShortHPBar_CalcPixelFrame` in [engine/anim_hp_bar.asm](engin
This can bring Pokémon straight from level 1 to 100 by gaining just a few experience points. This can bring Pokémon straight from level 1 to 100 by gaining just a few experience points.
This is a bug with `CalcExpAtLevel` in [main.asm](main.asm): This is a bug with `CalcExpAtLevel` in [main.asm](/main.asm):
```asm ```asm
CalcExpAtLevel: ; 50e47 CalcExpAtLevel: ; 50e47
@ -477,7 +477,7 @@ CalcExpAtLevel: ; 50e47
([Video](https://www.youtube.com/watch?v=o54VjpAEoO8)) ([Video](https://www.youtube.com/watch?v=o54VjpAEoO8))
This is a bug with `Text_ABoostedStringBuffer2ExpPoints` and `Text_StringBuffer2ExpPoints` in [text/common_2.asm](text/common_2.asm): This is a bug with `Text_ABoostedStringBuffer2ExpPoints` and `Text_StringBuffer2ExpPoints` in [text/common_2.asm](/text/common_2.asm):
```asm ```asm
Text_ABoostedStringBuffer2ExpPoints:: Text_ABoostedStringBuffer2ExpPoints::
@ -501,7 +501,7 @@ Text_StringBuffer2ExpPoints::
## BRN/PSN/PAR do not affect catch rate ## BRN/PSN/PAR do not affect catch rate
This is a bug with `PokeBall` in [items/item_effects.asm](items/item_effects.asm): This is a bug with `PokeBall` in [items/item_effects.asm](/items/item_effects.asm):
```asm ```asm
.statuscheck .statuscheck
@ -533,7 +533,7 @@ This is a bug with `PokeBall` in [items/item_effects.asm](items/item_effects.asm
## Moon Ball does not boost catch rate ## Moon Ball does not boost catch rate
This is a bug with `MoonBallMultiplier` in [items/item_effects.asm](items/item_effects.asm): This is a bug with `MoonBallMultiplier` in [items/item_effects.asm](/items/item_effects.asm):
```asm ```asm
MoonBallMultiplier: MoonBallMultiplier:
@ -559,7 +559,7 @@ MoonBallMultiplier:
## Love Ball boosts catch rate for the wrong gender ## Love Ball boosts catch rate for the wrong gender
This is a bug with `LoveBallMultiplier` in [items/item_effects.asm](items/item_effects.asm): This is a bug with `LoveBallMultiplier` in [items/item_effects.asm](/items/item_effects.asm):
```asm ```asm
LoveBallMultiplier: LoveBallMultiplier:
@ -581,7 +581,7 @@ LoveBallMultiplier:
## Fast Ball only boosts catch rate for three Pokémon ## Fast Ball only boosts catch rate for three Pokémon
This is a bug with `FastBallMultiplier` in [items/item_effects.asm](items/item_effects.asm): This is a bug with `FastBallMultiplier` in [items/item_effects.asm](/items/item_effects.asm):
```asm ```asm
FastBallMultiplier: FastBallMultiplier:
@ -607,7 +607,7 @@ FastBallMultiplier:
## Dragon Scale, not Dragon Fang, boosts Dragon-type moves ## Dragon Scale, not Dragon Fang, boosts Dragon-type moves
This is a bug with `ItemAttributes` in [items/item_attributes.asm](items/item_attributes.asm): This is a bug with `ItemAttributes` in [items/item_attributes.asm](/items/item_attributes.asm):
```asm ```asm
; DRAGON FANG ; DRAGON FANG
@ -624,7 +624,7 @@ This is a bug with `ItemAttributes` in [items/item_attributes.asm](items/item_at
## Daisy's massages don't always increase happiness ## Daisy's massages don't always increase happiness
This is a bug with `MassageOrHaircut` in [event/special.asm](event/special.asm): This is a bug with `MassageOrHaircut` in [event/special.asm](/event/special.asm):
```asm ```asm
; Bug: Subtracting $ff from $ff fails to set c. ; Bug: Subtracting $ff from $ff fails to set c.
@ -673,7 +673,7 @@ Data_DaisyMassage: ; 746b
## Magikarp in Lake of Rage are shorter, not longer ## Magikarp in Lake of Rage are shorter, not longer
This is a bug with `LoadEnemyMon.CheckMagikarpArea` in [battle/core.asm](battle/core.asm): This is a bug with `LoadEnemyMon.CheckMagikarpArea` in [battle/core.asm](/battle/core.asm):
```asm ```asm
.CheckMagikarpArea: .CheckMagikarpArea:
@ -701,7 +701,7 @@ This is a bug with `LoadEnemyMon.CheckMagikarpArea` in [battle/core.asm](battle/
([Video](https://www.youtube.com/watch?v=eij_1060SMc)) ([Video](https://www.youtube.com/watch?v=eij_1060SMc))
This is a bug with `StartTrainerBattle_DetermineWhichAnimation` in [engine/battle_start.asm](engine/battle_start.asm): This is a bug with `StartTrainerBattle_DetermineWhichAnimation` in [engine/battle_start.asm](/engine/battle_start.asm):
```asm ```asm
StartTrainerBattle_DetermineWhichAnimation: ; 8c365 (23:4365) StartTrainerBattle_DetermineWhichAnimation: ; 8c365 (23:4365)
@ -744,7 +744,7 @@ StartTrainerBattle_DetermineWhichAnimation: ; 8c365 (23:4365)
## No bump noise if standing on tile `$3E` ## No bump noise if standing on tile `$3E`
This is a bug with `DoPlayerMovement.CheckWarp` in [engine/player_movement.asm](engine/player_movement.asm): This is a bug with `DoPlayerMovement.CheckWarp` in [engine/player_movement.asm](/engine/player_movement.asm):
```asm ```asm
; Bug: Since no case is made for STANDING here, it will check ; Bug: Since no case is made for STANDING here, it will check
@ -792,7 +792,7 @@ This is a bug with `DoPlayerMovement.CheckWarp` in [engine/player_movement.asm](
([Video](https://www.youtube.com/watch?v=z305e4sIO24)) ([Video](https://www.youtube.com/watch?v=z305e4sIO24))
The exact cause is unknown, but a workaround exists for `DexEntryScreen_MenuActionJumptable.Cry` in [engine/pokedex.asm](engine/pokedex.asm): The exact cause is unknown, but a workaround exists for `DexEntryScreen_MenuActionJumptable.Cry` in [engine/pokedex.asm](/engine/pokedex.asm):
```asm ```asm
.Cry: ; 40340 .Cry: ; 40340
@ -826,7 +826,7 @@ This bug affects Attract, Curse, Foresight, Mean Look, Mimic, Nightmare, Spider
This bug prevents you from using blocksets with more than 128 blocks. This bug prevents you from using blocksets with more than 128 blocks.
[home/map.asm](home/map.asm): [home/map.asm](/home/map.asm):
```asm ```asm
; Set hl to the address of the current metatile data ([TilesetBlocksAddress] + (a) tiles). ; Set hl to the address of the current metatile data ([TilesetBlocksAddress] + (a) tiles).
@ -863,7 +863,7 @@ This bug prevents you from using blocksets with more than 128 blocks.
This bug can allow you to talk to Eusine in Celadon City and encounter Ho-Oh with only traded legendary beasts. This bug can allow you to talk to Eusine in Celadon City and encounter Ho-Oh with only traded legendary beasts.
[engine/search.asm](engine/search.asm): [engine/search.asm](/engine/search.asm):
```asm ```asm
; check OT ; check OT
@ -908,7 +908,7 @@ This bug can affect Mew or Pokémon other than Ditto that used Transform via Mir
([Video](https://www.youtube.com/watch?v=v1ErZdLCIyU)) ([Video](https://www.youtube.com/watch?v=v1ErZdLCIyU))
This is a bug with `ParkBall` in [items/item_effects.asm](items/item_effects.asm): This is a bug with `ParkBall` in [items/item_effects.asm](/items/item_effects.asm):
```asm ```asm
.room_in_party .room_in_party
@ -933,7 +933,7 @@ This is a bug with `ParkBall` in [items/item_effects.asm](items/item_effects.asm
## `HELD_CATCH_CHANCE` has no effect ## `HELD_CATCH_CHANCE` has no effect
This is a bug with `PokeBall` in [items/item_effects.asm](items/item_effects.asm): This is a bug with `PokeBall` in [items/item_effects.asm](/items/item_effects.asm):
```asm ```asm
; BUG: callba overwrites a, ; BUG: callba overwrites a,
@ -957,7 +957,7 @@ This is a bug with `PokeBall` in [items/item_effects.asm](items/item_effects.asm
## Only the first three `EvosAttacks` evolution entries can have Stone compatibility reported correctly ## Only the first three `EvosAttacks` evolution entries can have Stone compatibility reported correctly
This is a bug with `PlacePartyMonEvoStoneCompatibility.DetermineCompatibility` in [engine/party_menu.asm](engine/party_menu.asm): This is a bug with `PlacePartyMonEvoStoneCompatibility.DetermineCompatibility` in [engine/party_menu.asm](/engine/party_menu.asm):
```asm ```asm
.DetermineCompatibility: ; 50268 .DetermineCompatibility: ; 50268
@ -980,7 +980,7 @@ This is a bug with `PlacePartyMonEvoStoneCompatibility.DetermineCompatibility` i
## `ScriptCall` can overflow `wScriptStack` and crash ## `ScriptCall` can overflow `wScriptStack` and crash
[engine/scripting.asm](engine/scripting.asm): [engine/scripting.asm](/engine/scripting.asm):
```asm ```asm
ScriptCall: ScriptCall:
@ -1018,7 +1018,7 @@ ScriptCall:
## `LoadSpriteGFX` does not limit the capacity of `UsedSprites` ## `LoadSpriteGFX` does not limit the capacity of `UsedSprites`
[engine/overworld.asm](engine/overworld.asm): [engine/overworld.asm](/engine/overworld.asm):
```asm ```asm
LoadSpriteGFX: ; 14306 LoadSpriteGFX: ; 14306
@ -1053,7 +1053,7 @@ LoadSpriteGFX: ; 14306
## `ChooseWildEncounter` doesn't really validate the wild Pokémon species ## `ChooseWildEncounter` doesn't really validate the wild Pokémon species
[engine/wildmons.asm](engine/wildmons.asm): [engine/wildmons.asm](/engine/wildmons.asm):
```asm ```asm
ChooseWildEncounter: ; 2a14f ChooseWildEncounter: ; 2a14f
@ -1092,7 +1092,7 @@ ValidateTempWildMonSpecies: ; 2a4a0
## `TryObjectEvent` arbitrary code execution ## `TryObjectEvent` arbitrary code execution
[engine/events.asm](engine/events.asm): [engine/events.asm](/engine/events.asm):
```asm ```asm
; Bug: If IsInArray returns nc, data at bc will be executed as code. ; Bug: If IsInArray returns nc, data at bc will be executed as code.
@ -1120,7 +1120,7 @@ ValidateTempWildMonSpecies: ; 2a4a0
## `Special_CheckBugContestContestantFlag` can read beyond its data table ## `Special_CheckBugContestContestantFlag` can read beyond its data table
[event/bug_contest_2.asm](event/bug_contest_2.asm): [event/bug_contest_2.asm](/event/bug_contest_2.asm):
```asm ```asm
Special_CheckBugContestContestantFlag: ; 139ed Special_CheckBugContestContestantFlag: ; 139ed
@ -1158,7 +1158,7 @@ BugCatchingContestantEventFlagTable: ; 139fe
## `ClearWRAM` only clears WRAM bank 1 ## `ClearWRAM` only clears WRAM bank 1
[home/init.asm](home/init.asm): [home/init.asm](/home/init.asm):
```asm ```asm
ClearWRAM:: ; 25a ClearWRAM:: ; 25a
@ -1186,7 +1186,7 @@ ClearWRAM:: ; 25a
## `GetForestTreeFrame` works, but it's still bad ## `GetForestTreeFrame` works, but it's still bad
[tilesets/animations.asm](tilesets/animations.asm): [tilesets/animations.asm](/tilesets/animations.asm):
```asm ```asm
GetForestTreeFrame: ; fc54c GetForestTreeFrame: ; fc54c

View File

@ -1,5 +1,8 @@
# Event Commands # Event Commands
Defined in [macros/scripts/event.asm](/macros/scripts/event.asm) and [engine/scripting.asm:ScriptCommandTable](/engine/scripting.asm).
## `$00`: `scall` *script* ## `$00`: `scall` *script*
## `$01`: `farscall` *script* ## `$01`: `farscall` *script*

View File

@ -1,5 +1,8 @@
# Move Animation Commands # Move Animation Commands
Defined in [macros/scripts/move_anim.asm](/macros/scripts/move_anim.asm) and [battle/anims.asm:BattleAnimations](/battle/anims.asm).
## `$00``$EF`: `anim_wait` *length* ## `$00``$EF`: `anim_wait` *length*
## `$D0`: `anim_obj` *object*, *x*, *y*, *param* ## `$D0`: `anim_obj` *object*, *x*, *y*, *param*

View File

@ -1,5 +1,8 @@
# Movement Commands # Movement Commands
Defined in [macros/scripts/movement.asm](/macros/scripts/movement.asm) and [engine/movement.asm:MovementPointers](/engine/movement.asm).
## `$00``$03`: `turn_head` *direction* ## `$00``$03`: `turn_head` *direction*
## `$04``$07`: `turn_step` *direction* ## `$04``$07`: `turn_step` *direction*

View File

@ -1,5 +1,8 @@
# Music Commands # Music Commands
Defined in [macros/scripts/audio.asm](/macros/scripts/audio.asm) and [audio/engine.asm:MusicCommands](/audio/engine.asm).
## `musicheader` *n*, *index*, *address* ## `musicheader` *n*, *index*, *address*
## `cry_header` *n*, *index*, *address* ## `cry_header` *n*, *index*, *address*

View File

@ -1,5 +1,8 @@
# Pic Animations # Pic Animations
Defined in [macros/scripts/gfx_anim.asm](/macros/scripts/gfx_anim.asm) and [battle/anim_commands.asm:BattleAnimCommands](/battle/anim_commands.asm).
Pic animations are assembled in 3 parts: Pic animations are assembled in 3 parts:
- Top-level animations: - Top-level animations:

View File

@ -1,116 +1,146 @@
# Text Commands # Text Commands
Defined in [macros/scripts/text.asm](/macros/scripts/text.asm) and [home/text.asm:TextCommands](/home/text.asm).
## `$00`: `text` *text* ## `$00`: `text` *text*
Start writing text until `"@"`. Start writing text until `"@"`.
## `$4E`: `next` *text* ## `$4E`: `next` *text*
Move a line down. Move a line down.
## `$4F`: `line` *text* ## `$4F`: `line` *text*
Start writing at the bottom line. Start writing at the bottom line.
## `$50`: `page` *text* ## `$50`: `page` *text*
Start a new Pokédex page. Start a new Pokédex page.
## `$51`: `para` *text* ## `$51`: `para` *text*
Start a new paragraph. Start a new paragraph.
## `$55`: `cont` *text* ## `$55`: `cont` *text*
Scroll to the next line. Scroll to the next line.
## `$57`: `done` ## `$57`: `done`
End a text box. End a text box.
## `$58`: `prompt` ## `$58`: `prompt`
Prompt the player to end a text box (initiating some other event). Prompt the player to end a text box (initiating some other event).
## `$01`: `text_from_ram` *address* ## `$01`: `text_from_ram` *address*
Write text from a RAM address. Write text from a RAM address.
## `$02`: `text_bcd` *address*, *flags* ## `$02`: `text_bcd` *address*, *flags*
Write [BCD](bcd) from an address, typically RAM. Write [BCD](bcd) from an address, typically RAM.
[bcd]: https://en.wikipedia.org/wiki/Binary-coded_decimal [bcd]: https://en.wikipedia.org/wiki/Binary-coded_decimal
## `$03`: `text_move` *address* ## `$03`: `text_move` *address*
Move to a new tile. Move to a new tile.
## `$04`: `text_box` *address*, *height*, *width* ## `$04`: `text_box` *address*, *height*, *width*
Draw a box. Draw a box.
## `$05`: `text_low` ## `$05`: `text_low`
Write text at (1, 16). Write text at (1, 16).
## `$06`: `text_waitbutton` ## `$06`: `text_waitbutton`
Wait for button press; show arrow. Wait for button press; show arrow.
## `$07`: `text_scroll` ## `$07`: `text_scroll`
Pushes text up two lines and sets the `bc` cursor to the border tile below the Pushes text up two lines and sets the `bc` cursor to the border tile below the
first character column of the text box. first character column of the text box.
## `$08`: `start_asm` ## `$08`: `start_asm`
Start interpreting assembly code. Start interpreting assembly code.
## `$09`: `deciram` *address*, *bytes*, *digits* ## `$09`: `deciram` *address*, *bytes*, *digits*
Read *bytes* bytes from *address* and print them as a *digits*-digit number. Read *bytes* bytes from *address* and print them as a *digits*-digit number.
## `$0A`: `interpret_data` ## `$0A`: `interpret_data`
Exit. Exit.
## `$0B`: `sound_dex_fanfare_50_79` ## `$0B`: `sound_dex_fanfare_50_79`
Play `SFX_DEX_FANFARE_50_79`. Play `SFX_DEX_FANFARE_50_79`.
## `$0C`: `limited_interpret_data` *number* ## `$0C`: `limited_interpret_data` *number*
Print *number* `"…"`s. Print *number* `"…"`s.
## `$0D`: `link_wait_button` ## `$0D`: `link_wait_button`
Wait for button press; show arrow. Wait for button press; show arrow.
## `$0E`: `sound_dex_fanfare_20_49` ## `$0E`: `sound_dex_fanfare_20_49`
Play `SFX_DEX_FANFARE_20_49`. Play `SFX_DEX_FANFARE_20_49`.
## `$0F`: `sound_item` ## `$0F`: `sound_item`
Play `SFX_ITEM`. Play `SFX_ITEM`.
## `$10`: `sound_caught_mon` ## `$10`: `sound_caught_mon`
Play `SFX_CAUGHT_MON`. Play `SFX_CAUGHT_MON`.
## `$11`: `sound_dex_fanfare_80_109` ## `$11`: `sound_dex_fanfare_80_109`
Play `SFX_DEX_FANFARE_80_109`. Play `SFX_DEX_FANFARE_80_109`.
## `$12`: `sound_fanfare` ## `$12`: `sound_fanfare`
Play `SFX_FANFARE`. Play `SFX_FANFARE`.
## `$13`: `sound_slot_machine_start` ## `$13`: `sound_slot_machine_start`
Play `SFX_SLOT_MACHINE_START`. Play `SFX_SLOT_MACHINE_START`.
## `$14`: `text_buffer` *id* ## `$14`: `text_buffer` *id*
Write text from one of the following addresses (listed in `StringBufferPointers`): Write text from one of the following addresses (listed in `StringBufferPointers`):
@ -123,10 +153,12 @@ Write text from one of the following addresses (listed in `StringBufferPointers`
5. `EnemyMonNick` 5. `EnemyMonNick`
6. `BattleMonNick` 6. `BattleMonNick`
## `$15`: `current_day` ## `$15`: `current_day`
Print the weekday. Print the weekday.
## `$16`: `text_jump` *address* ## `$16`: `text_jump` *address*
Write text from a different bank. Write text from a different bank.