diff options
-rw-r--r-- | Add-a-new-radio-channel.md | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/Add-a-new-radio-channel.md b/Add-a-new-radio-channel.md index e1a676d..f1386a3 100644 --- a/Add-a-new-radio-channel.md +++ b/Add-a-new-radio-channel.md @@ -6,12 +6,10 @@ for this tutorial were going to add national park as a channel that plays its mu ## Contents 1. [Define a radio constant](#1-define-a-radio-constant) -2. [Give the type a name](#2-give-the-type-a-name) -3. [List the type matchups](#3-list-the-type-matchups) -4. [Make it searchable in the Pokédex](#4-make-it-searchable-in-the-pokédex) -5. [Update Pokémon types](#5-update-pokémon-types) -6. [Update move types](#6-update-move-types) -7. [Change `POLKADOT_BOW` to boost Fairy moves](#7-change-polkadot_bow-to-boost-fairy-moves) +2. [Define a pointer to the radio station](#2-define-a-pointer-to-the-radio-station) +3. [Define the music for the channel](#3-define-the-music-for-the-channel) +4. [Set the name of the channel and add a pointer for loading it](#4-set-the-name-of-the-channel-and-add-a-pointer-for-loading-it) +5. [Set the channel to a frequency you like](#5-set-the-channel-to-a-frequency-you-like) ## 1. Define a radio constant @@ -41,7 +39,7 @@ Edit [constants/radio_constants.asm](../blob/master/constants/radio_constants.as ``` -## 2. Define a pointer to the radio station. +## 2. Define a pointer to the radio station Edit [engine/pokegear/radio.asm](../blob/master/engine/pokegear/radio.asm): @@ -83,7 +81,7 @@ EvolutionRadio: + ret ``` -## 3. Define the music for the channel. +## 3. Define the music for the channel Edit [data/radio/channel_music.asm](../blob/master/data/radio/channel_music.asm): @@ -154,5 +152,21 @@ RadioChannels: johto exclusive channel ```diff -.TestStation: - jp LoadStation_TestStation
\ No newline at end of file ++.NationalPark: ++ call .InJohto ++ jr nc, .NoSignal ++ jp LoadStation_NationalPark +``` + +kanto exclusive channel + +```diff ++.NationalPark: ++ call .InJohto ++ jr c, .NoSignal ++ ld a, [wPokegearFlags] ++ bit POKEGEAR_EXPN_CARD_F, a ++ jr z, .NoSignal +``` +and were done! +this was my first tutorial so forgive me and blame that if you dont find this tutorial to be straight forward
\ No newline at end of file |