mirror of
https://github.com/pret/pokeruby.git
synced 2024-12-12 23:25:44 +00:00
710 lines
9.9 KiB
Plaintext
710 lines
9.9 KiB
Plaintext
.include "src/main.o"
|
|
.include "src/sprite.o"
|
|
.include "src/text.o"
|
|
.include "src/string_util.o"
|
|
|
|
.space 0x2E8
|
|
|
|
.include "src/link.o"
|
|
.include "src/rom3.o"
|
|
|
|
@ battle
|
|
|
|
.align 2
|
|
gUnknown_020238C8: @ 20238C8
|
|
.space 0x4
|
|
|
|
gDisplayedStringBattle: @ 20238CC
|
|
.space 0x12C
|
|
|
|
gBattleTypeFlags: @ 20239F8
|
|
.space 0x4
|
|
|
|
gUnknown_020239FC: @ 20239FC
|
|
.space 0x4
|
|
|
|
gUnknown_02023A00: @ 2023A00
|
|
.space 0x4
|
|
|
|
gUnknown_02023A04: @ 2023A04
|
|
.space 0x10
|
|
|
|
gUnknown_02023A14: @ 2023A14
|
|
.space 0x4C
|
|
|
|
gBattleBufferA: @ 2023A60
|
|
.space 0x2
|
|
|
|
gUnknown_02023A62: @ 2023A62
|
|
.space 0x1
|
|
|
|
gUnknown_02023A63: @ 2023A63
|
|
.space 0x1
|
|
|
|
gUnknown_02023A64: @ 2023A64
|
|
.space 0x7FC
|
|
|
|
gBattleBufferB: @ 2024260
|
|
.space 0x4
|
|
|
|
gUnknown_02024264: @ 2024264
|
|
.space 0x7FC
|
|
|
|
gActiveBank: @ 2024A60
|
|
.space 0x4
|
|
|
|
gBattleExecBuffer: @ 2024A64
|
|
.space 0x4
|
|
|
|
gNoOfAllBanks: @ 2024A68
|
|
.space 0x2
|
|
|
|
gBattlePartyID: @ 2024A6A
|
|
.space 0x8
|
|
|
|
gBanksBySide: @ 2024A72
|
|
.space 0x4
|
|
|
|
gUnknown_02024A76: @ 2024A76
|
|
.space 0x4
|
|
|
|
gTurnOrder: @ 2024A7A
|
|
.space 0x4
|
|
|
|
gCurrentMoveTurn: @ 2024A7E
|
|
.space 0x1
|
|
|
|
gFightStateTracker: @ 2024A7F
|
|
.space 0x1
|
|
|
|
gBattleMons: @ 2024A80
|
|
.space 0xC
|
|
|
|
gUnknown_02024A8C: @ 2024A8C
|
|
.space 0xC
|
|
|
|
gUnknown_02024A98: @ 2024A98
|
|
.space 0xC
|
|
|
|
gUnknown_02024AA4: @ 2024AA4
|
|
.space 0x4
|
|
|
|
gUnknown_02024AA8: @ 2024AA8
|
|
.space 0x24
|
|
|
|
gUnknown_02024ACC: @ 2024ACC
|
|
.space 0x4
|
|
|
|
gUnknown_02024AD0: @ 2024AD0
|
|
.space 0x110
|
|
|
|
gObjectBankIDs: @ 2024BE0
|
|
.space 0x4
|
|
|
|
gCurrMovePos: @ 2024BE4
|
|
.space 0x1
|
|
|
|
gUnknown_02024BE5: @ 2024BE5
|
|
.space 0x1
|
|
|
|
gCurrentMove: @ 2024BE6
|
|
.space 0x2
|
|
|
|
gUnknown_02024BE8: @ 2024BE8
|
|
.space 0x2
|
|
|
|
gUnknown_02024BEA: @ 2024BEA
|
|
.space 0x2
|
|
|
|
gBattleMoveDamage: @ 2024BEC
|
|
.space 0x4
|
|
|
|
gHP_dealt: @ 2024BF0
|
|
.space 0x4
|
|
|
|
gTakenDmg: @ 2024BF4
|
|
.space 0x10
|
|
|
|
gLastUsedItem: @ 2024C04
|
|
.space 0x2
|
|
|
|
gLastUsedAbility: @ 2024C06
|
|
.space 0x1
|
|
|
|
gBankAttacker: @ 2024C07
|
|
.space 0x1
|
|
|
|
gBankTarget: @ 2024C08
|
|
.space 0x1
|
|
|
|
gBank1: @ 2024C09
|
|
.space 0x1
|
|
|
|
gEffectBank: @ 2024C0A
|
|
.space 0x1
|
|
|
|
gStringBank: @ 2024C0B
|
|
.space 0x1
|
|
|
|
gAbsentBankFlags: @ 2024C0C
|
|
.space 0x1
|
|
|
|
gCritMultiplier: @ 2024C0D
|
|
.space 0x1
|
|
|
|
gMultiHitCounter: @ 2024C0E
|
|
.space 0x2
|
|
|
|
gBattlescriptCurrInstr: @ 2024C10
|
|
.space 0x8
|
|
|
|
gActionForBanks: @ 2024C18
|
|
.space 0x4
|
|
|
|
gUnknown_02024C1C: @ 2024C1C
|
|
.space 0x10
|
|
|
|
gUnknown_02024C2C: @ 2024C2C
|
|
.space 0x8
|
|
|
|
gLastUsedMove: @ 2024C34
|
|
.space 0x8
|
|
|
|
gMoveHitWith: @ 2024C3C
|
|
.space 0x8
|
|
|
|
gUnknown_02024C44: @ 2024C44
|
|
.space 0x8
|
|
|
|
gUnknown_02024C4C: @ 2024C4C
|
|
.space 0x8
|
|
|
|
gLockedMove: @ 2024C54
|
|
.space 0x8
|
|
|
|
gUnknown_02024C5C: @ 2024C5C
|
|
.space 0x4
|
|
|
|
gChosenMovesByBanks: @ 2024C60
|
|
.space 0x8
|
|
|
|
gBattleMoveFlags: @ 2024C68
|
|
.space 0x4
|
|
|
|
gHitMarker: @ 2024C6C
|
|
.space 0x4
|
|
|
|
gUnknown_02024C70: @ 2024C70
|
|
.space 0x4
|
|
|
|
gTakenDmgBanks: @ 2024C74
|
|
.space 0x4
|
|
|
|
gUnknown_02024C78: @ 2024C78
|
|
.space 0x2
|
|
|
|
gSideAffecting: @ 2024C7A
|
|
.space 0x6
|
|
|
|
gSideTimer: @ 2024C80
|
|
.space 0x18
|
|
|
|
gStatuses3: @ 2024C98
|
|
.space 0x10
|
|
|
|
gDisableStructs: @ 2024CA8
|
|
.space 0x70
|
|
|
|
gPauseCounterBattle: @ 2024D18
|
|
.space 0x2
|
|
|
|
gPaydayMoney: @ 2024D1A
|
|
.space 0x2
|
|
|
|
gRandomTurnNumber: @ 2024D1C
|
|
.space 0x2
|
|
|
|
gBattleCommunication: @ 2024D1E
|
|
.space 0x1
|
|
|
|
gUnknown_02024D1F: @ 2024D1F
|
|
.space 0x7
|
|
|
|
gBattleOutcome: @ 2024D26
|
|
.space 0x2
|
|
|
|
gProtectStructs: @ 2024D28
|
|
.space 0x40
|
|
|
|
gSpecialStatuses: @ 2024D68
|
|
.space 0x50
|
|
|
|
gBattleWeather: @ 2024DB8
|
|
.space 0x4
|
|
|
|
gWishFutureKnock: @ 2024DBC
|
|
.space 0x20
|
|
|
|
gUnknown_02024DDC: @ 2024DDC
|
|
.space 0xC
|
|
|
|
gUnknown_02024DE8: @ 2024DE8
|
|
.space 0x2
|
|
|
|
gSentPokesToOpponent: @ 2024DEA
|
|
.space 0x2
|
|
|
|
gDynamicBasePower: @ 2024DEC
|
|
.space 0x2
|
|
|
|
gExpShareExp: @ 2024DEE
|
|
.space 0x2
|
|
|
|
gEnigmaBerries: @ 2024DF0
|
|
.space 0x8
|
|
|
|
gUnknown_02024DF8: @ 2024DF8
|
|
.space 0x68
|
|
|
|
gActionSelectionCursor: @ 2024E60
|
|
.space 0x4
|
|
|
|
gMoveSelectionCursor: @ 2024E64
|
|
.space 0x4
|
|
|
|
gUnknown_02024E68: @ 2024E68
|
|
.space 0x4
|
|
|
|
gBankInMenu: @ 2024E6C
|
|
.space 0x1
|
|
|
|
gDoingBattleAnim: @ 2024E6D
|
|
.space 0x3
|
|
|
|
gPID_perBank: @ 2024E70
|
|
.space 0x10
|
|
|
|
gBattleMovePower: @ 2024E80
|
|
.space 0x2
|
|
|
|
word_2024E82: @ 2024E82
|
|
.space 0x2
|
|
|
|
gBattleMonForms: @ 2024E84
|
|
.space 0x4
|
|
|
|
.include "src/pokemon_1.o"
|
|
.include "src/pokemon_2.o"
|
|
.include "src/load_save.o"
|
|
|
|
@ trade
|
|
|
|
gUnknown_020296CC: @ 20296CC
|
|
.space 0x34
|
|
|
|
gUnknown_02029700: @ 2029700
|
|
.space 0xD8
|
|
|
|
gUnknown_020297D8: @ 20297D8
|
|
.space 0x4
|
|
|
|
@ berry_blender
|
|
|
|
gUnknown_020297DC: @ 20297DC
|
|
.space 0x4
|
|
|
|
gUnknown_020297E0: @ 20297E0
|
|
.space 0x4
|
|
|
|
gUnknown_020297E4: @ 20297E4
|
|
.space 0x4
|
|
|
|
gUnknown_020297E8: @ 20297E8
|
|
.space 0x4
|
|
|
|
.include "src/new_game.o"
|
|
.include "src/rom4.o"
|
|
.include "src/fieldmap.o"
|
|
.include "src/field_camera.o"
|
|
.include "src/field_player_avatar.o"
|
|
.include "src/field_message_box.o"
|
|
.include "src/script.o"
|
|
.include "src/scrcmd.o"
|
|
.include "src/field_control_avatar.o"
|
|
.include "src/event_data.o"
|
|
|
|
@ party_menu
|
|
|
|
.align 2
|
|
gUnknown_0202E8F4: @ 202E8F4
|
|
.space 0x1
|
|
|
|
gUnknown_0202E8F5: @ 202E8F5
|
|
.space 0x1
|
|
|
|
gUnknown_0202E8F6: @ 202E8F6
|
|
.space 0x2
|
|
|
|
gUnknown_0202E8F8: @ 202E8F8
|
|
.space 0x2
|
|
|
|
gUnknown_0202E8FA: @ 202E8FA
|
|
.space 0x2
|
|
|
|
.include "src/start_menu.o"
|
|
.include "src/menu.o"
|
|
.include "src/tileset_anim.o"
|
|
.include "src/palette.o"
|
|
.include "src/sound.o"
|
|
.include "src/battle_anim.o"
|
|
.include "src/rom_8077ABC.o"
|
|
.include "src/title_screen.o"
|
|
|
|
@ field_weather
|
|
|
|
.align 2
|
|
gUnknown_0202F7E8: @ 202F7E8
|
|
.space 0x200
|
|
|
|
gUnknown_0202F9E8: @ 202F9E8
|
|
.space 0x260
|
|
|
|
gUnknown_0202FC48: @ 202FC48
|
|
.space 0x2F0
|
|
|
|
gUnknown_0202FF38: @ 202FF38
|
|
.space 0x20
|
|
|
|
gUnknown_0202FF58: @ 202FF58
|
|
.space 0x4
|
|
|
|
.include "src/battle_setup.o"
|
|
.include "src/wild_encounter.o"
|
|
.include "src/field_effect.o"
|
|
|
|
@ unknown_task
|
|
|
|
gUnknown_0202FFA4: @ 202FFA4
|
|
.space 0x4
|
|
|
|
@ pokemon_menu
|
|
|
|
gUnknown_0202FFA8: @ 202FFA8
|
|
.space 0x1
|
|
|
|
gUnknown_0202FFA9: @ 202FFA9
|
|
.space 0x1
|
|
|
|
gUnknown_0202FFAA: @ 202FFAA
|
|
.space 0xA
|
|
|
|
.include "src/pokedex.o"
|
|
.include "src/trainer_card.o"
|
|
.include "src/pokemon_storage_system.o"
|
|
|
|
@ still pokemon_storage_system
|
|
|
|
.align 2
|
|
gUnknown_02038470: @ 2038470
|
|
.space 0x3
|
|
|
|
gUnknown_02038473: @ 2038473
|
|
.space 0x1
|
|
|
|
gUnknown_02038474: @ 2038474
|
|
.space 0x4
|
|
|
|
gUnknown_02038478: @ 2038478
|
|
.space 0x4
|
|
|
|
gUnknown_0203847C: @ 203847C
|
|
.space 0x1
|
|
|
|
gUnknown_0203847D: @ 203847D
|
|
.space 0x1
|
|
|
|
gUnknown_0203847E: @ 203847E
|
|
.space 0x1
|
|
|
|
gUnknown_0203847F: @ 203847F
|
|
.space 0x1
|
|
|
|
gUnknown_02038480: @ 2038480
|
|
.space 0x64
|
|
|
|
gUnknown_020384E4: @ 20384E4
|
|
.space 0x1
|
|
|
|
gUnknown_020384E5: @ 20384E5
|
|
.space 0x1
|
|
|
|
gUnknown_020384E6: @ 20384E6
|
|
.space 0x1
|
|
|
|
gUnknown_020384E7: @ 20384E7
|
|
.space 0x1
|
|
|
|
gUnknown_020384E8: @ 20384E8
|
|
.space 0x1
|
|
|
|
gUnknown_020384E9: @ 20384E9
|
|
.space 0x1
|
|
|
|
gUnknown_020384EA: @ 20384EA
|
|
.space 0x2
|
|
|
|
gUnknown_020384EC: @ 20384EC
|
|
.space 0x4
|
|
|
|
@ pokemon_summary_screen
|
|
|
|
gUnknown_020384F0: @ 20384F0
|
|
.space 0x4
|
|
|
|
gUnknown_020384F4: @ 20384F4
|
|
.space 0x4
|
|
|
|
.include "src/script_movement.o"
|
|
.include "src/map_name_popup.o"
|
|
.include "src/item_menu.o"
|
|
|
|
@ contest
|
|
|
|
.align 2
|
|
gUnknown_0203856C: @ 203856C
|
|
.space 0x4
|
|
|
|
gContestMons: @ 2038570
|
|
.space 0xD
|
|
|
|
gUnknown_0203857D: @ 203857D
|
|
.space 0x11
|
|
|
|
@ contest move space
|
|
gUnknown_0203858E: @ 203858E
|
|
.space 0x8
|
|
|
|
gUnknown_02038596: @ 2038596
|
|
.space 0xDA
|
|
|
|
gUnknown_02038670: @ 2038670
|
|
.space 0x8
|
|
|
|
gUnknown_02038678: @ 2038678
|
|
.space 0x8
|
|
|
|
gUnknown_02038680: @ 2038680
|
|
.space 0x8
|
|
|
|
gUnknown_02038688: @ 2038688
|
|
.space 0x8
|
|
|
|
gUnknown_02038690: @ 2038690
|
|
.space 0x4
|
|
|
|
gUnknown_02038694: @ 2038694
|
|
.space 0x1
|
|
|
|
gContestPlayerMonIndex: @ 2038695
|
|
.space 0x1
|
|
|
|
gUnknown_02038696: @ 2038696
|
|
.space 0x4
|
|
|
|
gIsLinkContest: @ 203869A
|
|
.space 0x1
|
|
|
|
gUnknown_0203869B: @ 203869B
|
|
.space 0x1
|
|
|
|
gScriptContestCategory: @ 203869C
|
|
.space 0x2
|
|
|
|
gScriptContestRank: @ 203869E
|
|
.space 0x2
|
|
|
|
@ shop
|
|
|
|
gUnknown_020386A0: @ 20386A0
|
|
.space 0x4
|
|
|
|
gUnknown_020386A4: @ 20386A4
|
|
.space 0x4
|
|
|
|
gUnknown_020386A8: @ 20386A8
|
|
.space 0x2
|
|
|
|
gUnknown_020386AA: @ 20386AA
|
|
.space 0x7A
|
|
|
|
gUnknown_02038724: @ 2038724
|
|
.space 0xC
|
|
|
|
gUnknown_02038730: @ 2038730
|
|
.space 0x1
|
|
|
|
gUnknown_02038731: @ 2038731
|
|
.space 0x3
|
|
|
|
.include "src/money.o"
|
|
|
|
@ record_mixing
|
|
|
|
.align 2
|
|
gUnknown_02038738: @ 2038738
|
|
.space 0x78
|
|
|
|
.include "src/sound_check_menu.o"
|
|
|
|
@ secret_base
|
|
|
|
.align 2
|
|
gUnknown_020387DC: @ 20387DC
|
|
.space 0x4
|
|
|
|
@ tv
|
|
|
|
.include "src/tv.o"
|
|
|
|
@ fldeff_80C5CD4
|
|
|
|
.align 2
|
|
gUnknown_020387EC: @ 20387EC
|
|
.space 0x4
|
|
|
|
.include "src/rotating_gate.o"
|
|
.include "src/safari_zone.o"
|
|
|
|
@ easy_chat
|
|
|
|
gUnknown_020388AC: @ 20388AC
|
|
.space 0x4
|
|
|
|
@ pokenav
|
|
|
|
gUnknown_020388B0: @ 20388B0
|
|
.space 0x4
|
|
|
|
gUnknown_020388B4: @ 20388B4
|
|
.space 0x4
|
|
|
|
.include "src/mon_markings.o"
|
|
|
|
@ mauville_old_man
|
|
|
|
.align 2
|
|
gUnknown_020388BC: @ 20388BC
|
|
.space 0x4
|
|
|
|
.include "src/menu_helpers.o"
|
|
.include "src/region_map.o"
|
|
.include "src/decoration.o"
|
|
.include "src/battle_ai.o"
|
|
.include "src/rom6.o"
|
|
.include "src/pokeblock.o"
|
|
.include "src/field_specials.o"
|
|
|
|
@ pokedex_area_screen
|
|
|
|
.align 2
|
|
gUnknown_02039260: @ 2039260
|
|
.space 0x2
|
|
|
|
gUnknown_02039262: @ 2039262
|
|
.space 0x2
|
|
|
|
gUnknown_02039264: @ 2039264
|
|
.space 0x2
|
|
|
|
gUnknown_02039266: @ 2039266
|
|
.space 0x2
|
|
|
|
gUnknown_02039268: @ 2039268
|
|
.space 0x2
|
|
|
|
gUnknown_0203926A: @ 203926A
|
|
.space 0x2
|
|
|
|
@ battle_message
|
|
|
|
gAbilitiesPerBank: @ 203926C
|
|
.space 0x4
|
|
|
|
.include "src/choose_party.o"
|
|
|
|
@ cable_car
|
|
|
|
.align 2
|
|
gUnknown_02039274: @ 2039274
|
|
.space 0x4
|
|
|
|
gUnknown_02039278: @ 2039278
|
|
.space 0x1
|
|
|
|
gUnknown_02039279: @ 2039279
|
|
.space 0x1
|
|
|
|
gUnknown_0203927A: @ 203927A
|
|
.space 0x1
|
|
|
|
gUnknown_0203927B: @ 203927B
|
|
.space 0x1
|
|
|
|
gUnknown_0203927C: @ 203927C
|
|
.space 0x1
|
|
|
|
gUnknown_0203927D: @ 203927D
|
|
.space 0x7
|
|
|
|
.include "src/save.o"
|
|
.include "src/mystery_event_script.o"
|
|
.include "src/roamer.o"
|
|
.include "src/use_pokeblock.o"
|
|
.include "src/player_pc.o"
|
|
.include "src/intro.o"
|
|
|
|
@ hall_of_fame
|
|
|
|
.align 2
|
|
gUnknown_0203931C: @ 203931C
|
|
.space 0x4
|
|
|
|
.include "src/credits.o"
|
|
.include "src/lottery_corner.o"
|
|
.include "src/berry_tag_screen.o"
|
|
.include "src/mystery_event_menu.o"
|
|
.include "src/save_failed_screen.o"
|
|
|
|
@ pokeblock_feed
|
|
|
|
.align 2
|
|
gUnknown_02039350: @ 2039350
|
|
.space 0x8
|
|
|
|
@ intro_credits_graphics
|
|
|
|
gUnknown_02039358: @ 2039358
|
|
.space 0x2
|
|
|
|
gUnknown_0203935A: @ 203935A
|
|
.space 0x2
|
|
|
|
gUnknown_0203935C: @ 203935C
|
|
.space 0x4
|
|
|
|
@ ???
|
|
|
|
gTileBuffer: @ 2039360
|
|
.space 0x100
|
|
|
|
gUnknown_02039460: @ 2039460
|
|
.space 0x300
|
|
|
|
gUnknown_02039760: @ 2039760
|
|
.space 0xC00
|
|
|
|
gUnknown_0203A360: @ 203A360
|
|
.space 0x20
|
|
|
|
.include "src/menu_cursor.o"
|