USEFUL ADDRESSES IN THE ASM --------------------------- Last updated: Sep 07 2004, 16:19 EDT, by Penguin Added: 0AD06 - 0ADA7 = Music loader (see misc/spc/musicloader.txt) *A9 pointer format for updating reference: address ranges include opcodes. *"General" = all PSIs of that name reference it in their ASM ******************************************************************************************* The following are locations in the ASM area at the beginning of the rom, and their purpose. 00B5E - 00B66 = Pointer to 0x30200 pallet bank, primary in-game use 01B8E = Bike music after battle 03E88 = Bike music 06D29 - 06D30 = Pointer to text that automatically loads on screen refresh 05179 - 0517A = Colour for Deep Darkness/bad status flash 0744C - 07453 = Pointer to hotspot coordinate table 07436 - 074ED = Pointer to hotspot coordinate table 0786D - 0786E = Timer for Dad's phone calls 0AD06 - 0ADA7 = Music loader (see misc/spc/musicloader.txt) 0B75B - 0B763 = Pointer to 0x30200 pallet bank, player setup screens 0B7F1 - 0B7F2 = Setup screen background 0B8C3 - 0B8C4 = Timer for Dad's phone calls 0EDF2 - 0EDF9 = Pointer to "B" and copyright graphics (title screen) 0EE49 - 0EE50 = Pointer to "Earth ound" graphics (title screen) 0F0A3 - 0F0AA = Pointer to "Nintendo" logo graphics 0F0FB - 0F102 = Pointer to "APE" logo graphics 0F152 - 0F159 = Pointer to "HAL" logo graphics 0F31B - 0F322 = Gas station arrangement data pointer 0F4F9 = Music for gas station screen, flashing 10366 - 104CF = CC parser: ccasmloc.txt (SET 3) 1062E - 10642 = CC parser: ccasmloc.txt (SET 3) 10DD3 - 10DF7 = CC parser: ccasmloc.txt (SET 3) 11B6A - 12159 = CC parser: ccasmloc.txt (SET 3) 13728 - 1372F = Pointer to "Who are you talking to?" text 13BDF - 13BE6 = "X rearranged his/her items and the Y moved" text pointer 13E65 - 13E77 = Pointer to "No problem here." text 14303 - 145B7 = CC parser: ccasmloc.txt (SET 3) 145D6 - 146A2 = CC parser: ccasmloc.txt (SET 3) 14758 - 147C9 = CC parser: ccasmloc.txt (SET 3) 147EF - 1483A = CC parser: ccasmloc.txt (SET 3) 150AB - 150B4 = CC parser: ccasmloc.txt (SET 3) 17B0B - 1886C = CC parser: ccasmloc.txt (SET 3) 18B19 - 18C01 = CC parser: ccasmloc.txt (SET 1) 18C02 - 18D2B = CC parser: ccasmloc.txt (SET 2) 1DAF1 = Value for Ness' (everyone's?) starting stats (default=02) 1DB0A = Starting HP for all level 1 characters 1DB1B = Starting PP for Ness, Paula, and Poo at level 1 1DB22 = Starting PP for Jeff at level 1 1E9F4 = Naming menu sound effects: Cursor up 1EA23 = Naming menu: Cursor left 1EA4E = Naming menu: Cursor down 1EA7A = Naming menu: Cursor right 1EB57 = Naming menu: Backspace using "Backspace" command 1EB80 = Naming menu: "OK" 1EB8A = Naming menu: Enter character (A button) 1EBCE = Naming menu: Backspace using B button 1EBFF = Naming menu: Start button pressed 1F005 - 1F00C = "Start New Game" text pointer 1F24A = Music for file select/setup screen 1F8F6 - 1F8FC = Pointer to "Which style of windows do you prefer?" 1F900 - 1F901 = Number of bytes to read for above text 1F90F - 1F916 = Pointer to "Plain flavor" 1F92A - 1F931 = Pointer to "Mint flavor" 1F946 - 1F94C = Pointer to "Strawberry flavor" 1F961 - 1F967 = Pointer to "Banana flavor" 1F97B - 1F982 = Pointer to "Peanut flavor" 1FAFC = Music for name your characters interface 2009B - 2009C = Starting location (Y) in pixels 2009E - 2009F = Starting location (X) in pixels 200A4 - 200AB = Flyover text pointer 200D3 - 200DA = "Register your name, please" text pointer 23775 = Character #1 to use the battle box # at 0x4A3F4 if in lead 2377C = Character #2 to use the battle box # at 0x4A3F4 if in lead 23B29 = Battle effect number for Bash 23B32 = Battle effect number for Shoot 23BCA = Battle effect number for Spy 23C24 = Battle effect number for Defend 23C4A = Battle effect number for Run 23D0C = Battle effect number for Pray 23D1A = Battle effect number for Mirror 26794 - 26795 = Colour for Magic Butterfly flash 29716 - 29755 = PSI Rockin (general) 29756 - 2975E = PSI Rockin A 2975F - 29767 = PSI Rockin B 29768 - 29770 = PSI Rockin G 29771 - 29779 = PSI Rockin O 2977A - 297AA = PSI Fire (general) 297AB - 297B3 = PSI Fire A 297B4 - 297BC = PSI Fire B 297BD - 297C5 = PSI Fire G 297C6 - 297CE = PSI Fire O 297CF - 29846 = PSI Freeze (general) 29847 - 2984F = PSI Freeze A 29850 - 29858 = PSI Freeze B 29859 - 29861 = PSI Freeze G 29862 - 2986A = PSI Freeze O 2986B - 29A70 = PSI Thunder (general) 29A71 - 29A7C = PSI Thunder A 29A7D - 29A88 = PSI Thunder B 29A89 - 29A94 = PSI Thunder G 29A95 - 29AA0 = PSI Thunder O 29AA1 - 29B86 = PSI Flash (general) 29B87 - 29BAD = PSI Flash A 29BAE - 29BED = PSI Flash B 29BEF - 29C34 = PSI Flash G 29C35 - 29C7F = PSI Flash O 29C80 - 29CA5 = PSI Starstorm (general) 29CA6 - 29CAE = PSI Starstorm A 29CAF - 29CB7 = PSI Starstorm O 29CB8 - 29CC5 = PSI Lifeup (general) 29CC6 - 29CCE = PSI Lifeup A 29CCF - 29CD7 = PSI Lifeup B 29CD8 - 29CE0 = PSI Lifeup G 29CE1 - 29CE9 = PSI Lifeup O 29CEA - 29D79 = PSI Healing A 29D7A - 29E2B = PSI Healing B 29E2C - 29EB7 = PSI Healing G 29EB8 - 29EDB = PSI Healing O 29EDC - 29F43 = Shield/PSI Shield (general) 29F44 - 29F79 = Shield A 29F7A - 29F80 = Shield B 29F81 - 29FB6 = Shield S 29FB7 - 29FBD = Shield O 29FBE - 29FF3 = PSI Shield A 29FF4 - 29FFA = PSI Shield B 29FFB - 2A030 = PSI Shield S 2A031 - 2A037 = PSI Shield O 2A038 - 2A07E = PSI Offense Up A ASM 2A07F - 2A085 = PSI Offense Up O ASM 2A086 - 2A0FE = PSI Defense Down A ASM 2A0FF - 2A105 = PSI Defense Down O ASM 2A106 - 2A156 = PSI Hypnosis A ASM 2A157 - 2A15D = PSI Hypnosis O ASM 2A15E - 2A1E0 = PSI Magnet A ASM 2A1E1 - 2A1FD = PSI Magnet O ASM 2A1FE - 2A24E = PSI Paralysis A ASM 2A24F - 2A255 = PSI Paralysis O ASM 2A256 - 2A2A6 = PSI Brainshock A ASM 2A2A7 - 2A2AD = PSI Brainshock O ASM 2B3E6 - 2B3ED = "It was pretty good" text pointer (condiment effect) 2B449 - 2B450 = "It didn't taste very good" text pointer (condiment effect) 2E4F4 - 2E4FC = Pointer to PSI Animation Pallets 3030C - 30313 = Pointer to "WARNING!" screen graphics 3034E - 30355 = Pointer to bad pak screen graphics 43AB1 - 43B14 = CC parser: ccasmloc.txt (SET 3) 456BF - 456C6 = Pointer to "tx6" (default "continue" for menu options) 47EA0 - 47EB1 = Pointer to flavored windows graphics ($E00754) 49669 - 49671 = Pointer to 0x30200 pallet bank, context unknown 4A3F2 = Window # for Jeff's normal battle menu. 4A3F3 = Window # for Ness/Paula/Poo's battle menus; Jeff's w/ Auto Fight + Run 4A3F4 = Window # for Paula/Poo's battle menus w/ Auto Fight + Run 4AEF0 - 4AEF7 = Sound Stone graphics pointer 4DDAA = Music for title screen - from company logos 4DDCB = Music for gas station screen, fading in. 4DE10 = Music for title screen - from gas station screen 4DE2E = Music for title screen - from opening credits 4DF73 - 4DF7A = Pointer to "Produced by Shigesato Itoi" graphics 4E01B - 4E022 = Pointer to "Presented by Nintendo" graphics 4E0FC - 4E104 = Pointer to 0x30200 pallet bank, context unknown 4E694 - 4E69C = Pointer to 0x30200 pallet bank, context unknown 4F3A7 - 4F3B2 = Pointer to credits font 4F3E7 - 4F3EF = Pointer to 0x30200 pallet bank, context unknown ******************************************************************************************* The following are locations in the ASM area near the end of the rom, and their purpose. 2F11EB = Music used for deliveries 2FD71B - 2FD76B = Sound Menu subdivision Text from Debug Menu 2FD7F9 - 2FD800 = Pointer to sound menu subdivision text 2FDD29 - 2FDD30 = Pointer to Debug Menu text 2FE75E - 2FE765 = Pointer to Kirby Sprite ?????? -- ?????? =