mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-18 20:47:40 +01:00
6a8f27c1ac
Decompile cable_car_util.c
638 lines
10 KiB
Plaintext
638 lines
10 KiB
Plaintext
.include "src/decompress.o"
|
|
.include "src/main.o"
|
|
.include "src/window.o"
|
|
.include "src/text.o"
|
|
.include "src/sprite.o"
|
|
.align 2
|
|
|
|
gStringVar1: @ 2021CC4
|
|
.space 0x100
|
|
|
|
gStringVar2: @ 2021DC4
|
|
.space 0x100
|
|
|
|
gStringVar3: @ 2021EC4
|
|
.space 0x100
|
|
|
|
gStringVar4: @ 2021FC4
|
|
.space 0x3E8
|
|
|
|
.include "src/string_util.o"
|
|
.include "src/link.o"
|
|
.include "src/link_rfu.o"
|
|
|
|
gUnknown_02022C20: @ 2022C20
|
|
.space 0xC
|
|
|
|
gUnknown_02022C2C: @ 2022C2C
|
|
.space 0x1
|
|
|
|
gUnknown_02022C2D: @ 2022C2D
|
|
.space 0x3
|
|
|
|
gUnknown_02022C30: @ 2022C30
|
|
.space 0x8
|
|
|
|
gUnknown_02022C38: @ 2022C38
|
|
.space 0x4
|
|
|
|
gUnknown_02022C3C: @ 2022C3C
|
|
.space 0x2
|
|
|
|
gUnknown_02022C3E: @ 2022C3E
|
|
.space 0x2
|
|
|
|
gUnknown_02022C40: @ 2022C40
|
|
.space 0x18
|
|
|
|
gUnknown_02022C58: @ 2022C58
|
|
.space 0x8
|
|
|
|
gUnknown_02022C60: @ 2022C60
|
|
.space 0x4
|
|
|
|
gUnknown_02022C64: @ 2022C64
|
|
.space 0x4
|
|
|
|
gUnknown_02022C68: @ 2022C68
|
|
.space 0x4
|
|
|
|
gUnknown_02022C6C: @ 2022C6C
|
|
.space 0x4
|
|
|
|
gUnknown_02022C70: @ 2022C70
|
|
.space 0x4
|
|
|
|
gUnknown_02022C74: @ 2022C74
|
|
.space 0x4
|
|
|
|
gUnknown_02022C78: @ 2022C78
|
|
.space 0x4
|
|
|
|
gUnknown_02022C7C: @ 2022C7C
|
|
.space 0x4
|
|
|
|
gUnknown_02022C80: @ 2022C80
|
|
.space 0x4
|
|
|
|
gUnknown_02022C84: @ 2022C84
|
|
.space 0x4
|
|
|
|
gUnknown_02022C88: @ 2022C88
|
|
.space 0x4
|
|
|
|
gUnknown_02022C8C: @ 2022C8C
|
|
.space 0x4
|
|
|
|
gUnknown_02022C90: @ 2022C90
|
|
.space 0x4
|
|
|
|
gUnknown_02022C94: @ 2022C94
|
|
.space 0x4
|
|
|
|
gUnknown_02022C98: @ 2022C98
|
|
.space 0x4
|
|
|
|
gUnknown_02022C9C: @ 2022C9C
|
|
.space 0x14
|
|
|
|
gUnknown_02022CB0: @ 2022CB0
|
|
.space 0x8
|
|
|
|
gUnknown_02022CB8: @ 2022CB8
|
|
.space 0x2C
|
|
|
|
gUnknown_02022CE4: @ 2022CE4
|
|
.space 0x10
|
|
|
|
gUnknown_02022CF4: @ 2022CF4
|
|
.space 0x4
|
|
|
|
gUnknown_02022CF8: @ 2022CF8
|
|
.space 0x4
|
|
|
|
gUnknown_02022CFC: @ 2022CFC
|
|
.space 0x4
|
|
|
|
gUnknown_02022D00: @ 2022D00
|
|
.space 0x4
|
|
|
|
@ src/main_menu.c
|
|
gUnknown_02022D04: @ 2022D04
|
|
.include "src/main_menu.o"
|
|
|
|
gUnknown_02022D08: @ 2022D08
|
|
.space 0x1
|
|
|
|
gUnknown_02022D09: @ 2022D09
|
|
.space 0x1
|
|
|
|
gUnknown_02022D0A: @ 2022D0A
|
|
.space 0x2
|
|
|
|
gUnknown_02022D0C: @ 2022D0C
|
|
.space 0x4
|
|
|
|
.include "src/battle_controllers.o"
|
|
|
|
gUnknown_02022E10: @ 2022E10
|
|
.space 0x4
|
|
|
|
gBattle_BG0_X: @ 2022E14
|
|
.space 0x2
|
|
|
|
gBattle_BG0_Y: @ 2022E16
|
|
.space 0x2
|
|
|
|
gBattle_BG1_X: @ 2022E18
|
|
.space 0x2
|
|
|
|
gBattle_BG1_Y: @ 2022E1A
|
|
.space 0x2
|
|
|
|
gBattle_BG2_X: @ 2022E1C
|
|
.space 0x2
|
|
|
|
gBattle_BG2_Y: @ 2022E1E
|
|
.space 0x2
|
|
|
|
gBattle_BG3_X: @ 2022E20
|
|
.space 0x2
|
|
|
|
gBattle_BG3_Y: @ 2022E22
|
|
.space 0x2
|
|
|
|
gBattle_WIN0H: @ 2022E24
|
|
.space 0x2
|
|
|
|
gBattle_WIN0V: @ 2022E26
|
|
.space 0x2
|
|
|
|
gBattle_WIN1H: @ 2022E28
|
|
.space 0x2
|
|
|
|
gBattle_WIN1V: @ 2022E2A
|
|
.space 0x2
|
|
|
|
.include "src/battle_main.o"
|
|
.include "src/pokemon.o"
|
|
.include "src/random.o"
|
|
.include "src/daycare.o"
|
|
.include "src/load_save.o"
|
|
|
|
gUnknown_02032184: @ 2032184
|
|
.space 0x4
|
|
|
|
gUnknown_02032188: @ 2032188
|
|
.space 0x38
|
|
|
|
gUnknown_020321C0: @ 20321C0
|
|
.space 0xD8
|
|
|
|
gUnknown_02032298: @ 2032298
|
|
.space 0x4
|
|
|
|
gUnknown_0203229C: @ 203229C
|
|
.space 0x4
|
|
|
|
gUnknown_020322A0: @ 20322A0
|
|
.space 0x4
|
|
|
|
.include "src/berry_blender.o"
|
|
|
|
gDifferentSaveFile: @ 20322D4
|
|
.space 0x1
|
|
|
|
gUnknown_020322D5: @ 20322D5
|
|
.space 0x3
|
|
|
|
.include "src/overworld.o"
|
|
.include "src/fieldmap.o"
|
|
.include "src/field_camera.o"
|
|
|
|
.align 2
|
|
gUnknown_0203734C: @ 203734C
|
|
.space 0x4
|
|
|
|
gEventObjects: @ 2037350
|
|
.space 0x240
|
|
|
|
gPlayerAvatar: @ 2037590
|
|
.space 0x14
|
|
|
|
gUnknown_020375A4: @ 20375A4
|
|
.space 0x8
|
|
|
|
gUnknown_020375AC: @ 20375AC
|
|
.space 0x8
|
|
|
|
.include "src/event_object_movement.o"
|
|
.include "src/field_message_box.o"
|
|
|
|
.align 2
|
|
gUnknown_020375C0: @ 20375C0
|
|
.space 0x4
|
|
|
|
.include "src/scrcmd.o"
|
|
|
|
.align 2
|
|
gUnknown_020375D4: @ 20375D4
|
|
.space 0x2
|
|
|
|
gUnknown_020375D6: @ 20375D6
|
|
.space 0x2
|
|
|
|
.include "src/event_data.o"
|
|
.include "src/start_menu.o"
|
|
.include "src/tileset_anims.o"
|
|
.include "src/palette.o"
|
|
.include "src/sound.o"
|
|
.include "src/battle_anim.o"
|
|
|
|
.align 2
|
|
|
|
gUnknown_02038444: @ 2038444
|
|
.space 0x10
|
|
|
|
gUnknown_02038454: @ 2038454
|
|
.space 0x200
|
|
|
|
gUnknown_02038654: @ 2038654
|
|
.space 0x260
|
|
|
|
gUnknown_020388B4: @ 20388B4
|
|
.space 0x2F0
|
|
|
|
gUnknown_02038BA4: @ 2038BA4
|
|
.space 0x20
|
|
|
|
gUnknown_02038BC4: @ 2038BC4
|
|
.space 0x2
|
|
|
|
gUnknown_02038BC6: @ 2038BC6
|
|
.space 0x2
|
|
|
|
.include "src/battle_setup.o"
|
|
.include "src/trainer_see.o"
|
|
.include "src/wild_encounter.o"
|
|
.include "src/field_effect.o"
|
|
.include "src/scanline_effect.o"
|
|
.include "src/option_menu.o"
|
|
.include "src/pokedex.o"
|
|
|
|
gTrainerCards: @ 2039B58
|
|
.space 0x14
|
|
|
|
gUnknown_02039B6C: @ 2039B6C
|
|
.space 0x2
|
|
|
|
gUnknown_02039B6E: @ 2039B6E
|
|
.space 0x1A
|
|
|
|
gUnknown_02039B88: @ 2039B88
|
|
.space 0x160
|
|
|
|
gUnknown_02039CE8: @ 2039CE8
|
|
.space 0x4
|
|
|
|
gUnknown_02039CEC: @ 2039CEC
|
|
.space 0x4
|
|
|
|
gUnknown_02039CF0: @ 2039CF0
|
|
.space 0x4
|
|
|
|
gUnknown_02039CF4: @ 2039CF4
|
|
.space 0x4
|
|
|
|
gUnknown_02039CF8: @ 2039CF8
|
|
.space 0x8
|
|
|
|
gUnknown_02039D00: @ 2039D00
|
|
.space 0x4
|
|
|
|
gUnknown_02039D04: @ 2039D04
|
|
.space 0x4
|
|
|
|
gUnknown_02039D08: @ 2039D08
|
|
.space 0x4
|
|
|
|
gUnknown_02039D0C: @ 2039D0C
|
|
.space 0x1
|
|
|
|
gUnknown_02039D0D: @ 2039D0D
|
|
.space 0x1
|
|
|
|
gUnknown_02039D0E: @ 2039D0E
|
|
.space 0x1
|
|
|
|
gUnknown_02039D0F: @ 2039D0F
|
|
.space 0x1
|
|
|
|
gUnknown_02039D10: @ 2039D10
|
|
.space 0x2
|
|
|
|
gUnknown_02039D12: @ 2039D12
|
|
.space 0x2
|
|
|
|
gUnknown_02039D14: @ 2039D14
|
|
.space 0x64
|
|
|
|
gUnknown_02039D78: @ 2039D78
|
|
.space 0x1
|
|
|
|
gUnknown_02039D79: @ 2039D79
|
|
.space 0x1
|
|
|
|
gUnknown_02039D7A: @ 2039D7A
|
|
.space 0x1
|
|
|
|
gUnknown_02039D7B: @ 2039D7B
|
|
.space 0x1
|
|
|
|
gUnknown_02039D7C: @ 2039D7C
|
|
.space 0x1
|
|
|
|
gUnknown_02039D7D: @ 2039D7D
|
|
.space 0x1
|
|
|
|
gUnknown_02039D7E: @ 2039D7E
|
|
.space 0x2
|
|
|
|
gUnknown_02039D80: @ 2039D80
|
|
.space 0x4
|
|
|
|
gUnknown_02039D84: @ 2039D84
|
|
.space 0x4
|
|
|
|
gUnknown_02039D88: @ 2039D88
|
|
.space 0x4
|
|
|
|
gUnknown_02039D8C: @ 2039D8C
|
|
.space 0x4
|
|
|
|
.include "src/script_movement.o"
|
|
.include "src/fldeff_cut.o"
|
|
.include "src/map_name_popup.o"
|
|
.include "src/item.o"
|
|
.include "src/contest.o"
|
|
|
|
.align 2
|
|
gUnknown_02039F5C: @ 2039F5C
|
|
.space 0x1
|
|
|
|
gUnknown_02039F5D: @ 2039F5D
|
|
.space 0x3
|
|
|
|
gUnknown_02039F60: @ 2039F60
|
|
.space 0x10
|
|
|
|
gUnknown_02039F70: @ 2039F70
|
|
.space 0x4
|
|
|
|
gUnknown_02039F74: @ 2039F74
|
|
.space 0x4
|
|
|
|
gUnknown_02039F78: @ 2039F78
|
|
.space 0x4
|
|
|
|
gUnknown_02039F7C: @ 2039F7C
|
|
.space 0x4
|
|
|
|
gUnknown_02039F80: @ 2039F80
|
|
.space 0xC
|
|
|
|
gUnknown_02039F8C: @ 2039F8C
|
|
.space 0x4
|
|
|
|
gUnknown_02039F90: @ 2039F90
|
|
.space 0x4
|
|
|
|
.include "src/naming_screen.o"
|
|
.include "src/money.o"
|
|
.include "src/record_mixing.o"
|
|
.include "src/secret_base.o"
|
|
.include "src/tv.o"
|
|
|
|
gUnknown_0203A034: @ 203A034
|
|
.space 0x4
|
|
|
|
.include "src/rotating_gate.o"
|
|
.include "src/safari_zone.o"
|
|
|
|
gUnknown_0203A0F4: @ 203A0F4
|
|
.space 0x4
|
|
|
|
gUnknown_0203A0F8: @ 203A0F8
|
|
.space 0x8
|
|
|
|
gUnknown_0203A100: @ 203A100
|
|
.space 0x10
|
|
|
|
gUnknown_0203A110: @ 203A110
|
|
.space 0x4
|
|
|
|
gUnknown_0203A114: @ 203A114
|
|
.space 0x4
|
|
|
|
gUnknown_0203A118: @ 203A118
|
|
.space 0x4
|
|
|
|
gUnknown_0203A11C: @ 203A11C
|
|
.space 0x4
|
|
|
|
gUnknown_0203A120: @ 203A120
|
|
.space 0x4
|
|
.include "src/mon_markings.o"
|
|
.include "src/mauville_old_man.o"
|
|
.include "src/mail.o"
|
|
.include "src/menu_helpers.o"
|
|
.include "src/region_map.o"
|
|
.include "src/decoration.o"
|
|
.include "src/slot_machine.o"
|
|
.include "src/battle_ai_script_commands.o"
|
|
|
|
.align 2
|
|
gPlayerFacingPosition: @ 203AB40
|
|
.space 0x8
|
|
|
|
.include "src/pokeblock.o"
|
|
.include "src/field_specials.o"
|
|
.include "src/battle_records.o"
|
|
|
|
gUnknown_0203AB7C: @ 203AB7C
|
|
.space 0x4
|
|
|
|
.include "src/evolution_scene.o"
|
|
|
|
gUnknown_0203AB88: @ 203AB88
|
|
.space 0x4
|
|
|
|
gUnknown_0203AB8C: @ 203AB8C
|
|
.space 0x4
|
|
|
|
gUnknown_0203AB90: @ 203AB90
|
|
.space 0x4
|
|
|
|
gUnknown_0203AB94: @ 203AB94
|
|
.space 0x4
|
|
|
|
gUnknown_0203AB98: @ 203AB98
|
|
.space 0x4
|
|
|
|
.include "src/coins.o"
|
|
.include "src/battle_transition.o"
|
|
.include "src/battle_message.o"
|
|
|
|
gUnknown_0203ABAC: @ 203ABAC
|
|
.space 0x4
|
|
|
|
gUnknown_0203ABB0: @ 203ABB0
|
|
.space 0x1
|
|
|
|
gUnknown_0203ABB1: @ 203ABB1
|
|
.space 0x1
|
|
|
|
gUnknown_0203ABB2: @ 203ABB2
|
|
.space 0x1
|
|
|
|
gUnknown_0203ABB3: @ 203ABB3
|
|
.space 0x1
|
|
|
|
gUnknown_0203ABB4: @ 203ABB4
|
|
.space 0x1
|
|
|
|
gUnknown_0203ABB5: @ 203ABB5
|
|
.space 0x3
|
|
|
|
.include "src/rom_81520A8.o"
|
|
.include "src/save.o"
|
|
|
|
.space 0x4 /*unused var?*/
|
|
|
|
.include "src/mystery_event_script.o"
|
|
.include "src/learn_move.o"
|
|
.include "src/decoration_inventory.o"
|
|
.include "src/roamer.o"
|
|
|
|
gFacilityTrainers: @ 203BC88
|
|
.space 0x4
|
|
|
|
gFacilityTrainerMons: @ 203BC8C
|
|
.space 0x4
|
|
|
|
.include "src/use_pokeblock.o"
|
|
.include "src/player_pc.o"
|
|
.include "src/intro.o"
|
|
.include "src/field_region_map.o"
|
|
.include "src/hall_of_fame.o"
|
|
.include "src/credits.o"
|
|
.include "src/lottery_corner.o"
|
|
.include "src/diploma.o"
|
|
.include "src/berry_tag_screen.o"
|
|
.include "src/mystery_event_menu.o"
|
|
.include "src/save_failed_screen.o"
|
|
.include "src/braille_puzzles.o"
|
|
.include "src/pokeblock_feed.o"
|
|
.include "src/intro_credits_graphics.o"
|
|
.include "src/recorded_battle.o"
|
|
.include "src/trainer_pokemon_sprites.o"
|
|
.include "src/lilycove_lady.o"
|
|
.include "src/battle_dome.o"
|
|
|
|
gUnknown_0203CD80: @ 203CD80
|
|
.space 0x8
|
|
|
|
gUnknown_0203CD88: @ 203CD88
|
|
.space 0x4
|
|
|
|
.include "src/menu.o"
|
|
.include "src/battle_factory.o"
|
|
|
|
gUnknown_0203CE50: @ 203CE50
|
|
.space 0x4
|
|
|
|
gUnknown_0203CE54: @ 203CE54
|
|
.align 2
|
|
|
|
.include "src/item_menu.o"
|
|
.include "src/list_menu.o"
|
|
.include "src/dynamic_placeholder_text_util.o"
|
|
.include "src/item_icon.o"
|
|
|
|
gUnknown_0203CEC4: @ 203CEC4
|
|
.space 0x4
|
|
|
|
gUnknown_0203CEC8: @ 203CEC8
|
|
.space 0xE
|
|
|
|
gUnknown_0203CED6: @ 203CED6
|
|
.space 0x6
|
|
|
|
gUnknown_0203CEDC: @ 203CEDC
|
|
.space 0x4
|
|
|
|
gUnknown_0203CEE0: @ 203CEE0
|
|
.space 0x4
|
|
|
|
gUnknown_0203CEE4: @ 203CEE4
|
|
.space 0x4
|
|
|
|
gUnknown_0203CEE8: @ 203CEE8
|
|
.space 0x1
|
|
|
|
gUnknown_0203CEE9: @ 203CEE9
|
|
.space 0x3
|
|
|
|
gPostMenuFieldCallback: @ 203CEEC
|
|
.space 0x4
|
|
|
|
gUnknown_0203CEF0: @ 203CEF0
|
|
.space 0x4
|
|
|
|
gUnknown_0203CEF4: @ 203CEF4
|
|
.space 0x4
|
|
|
|
gUnknown_0203CEF8: @ 203CEF8
|
|
.space 0x4
|
|
|
|
gUnknown_0203CEFC: @ 203CEFC
|
|
.space 0x4
|
|
|
|
gUnknown_0203CF00: @ 203CF00
|
|
.space 0x4
|
|
|
|
.include "src/fossil_specials.o"
|
|
.include "src/fldeff_groundshake.o"
|
|
.include "src/pokemon_summary_screen.o"
|
|
.include "src/unk_pokedex_area_screen_helper.o"
|
|
.include "src/battle_pyramid_bag.o"
|
|
|
|
gUnknown_0203CF3C: @ 203CF3C
|
|
.space 0x4
|
|
|
|
gUnknown_0203CF40: @ 203CF40
|
|
.space 0x4
|
|
|
|
gUnknown_0203CF44: @ 203CF44
|
|
.space 0x4
|
|
|
|
gUnknown_0203CF48: @ 203CF48
|
|
.space 0x4
|
|
|
|
gUnknown_0203CF4C: @ 203CF4C
|
|
.space 0x4
|
|
|
|
gUnknown_0203CF50: @ 203CF50
|
|
.space 0x4
|
|
|
|
gUnknown_0203CF54: @ 203CF54
|
|
.space 0x4
|
|
|
|
gUnknown_0203CF58: @ 203CF58
|
|
.space 0x4
|
|
|
|
gUnknown_0203CF5C: @ 203CF5C
|
|
.space 0x4
|
|
|
|
.include "src/rayquaza_scene.o"
|