From 752ce9b90d756e01766c12136169eefe335ac016 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Sat, 14 Oct 2017 16:55:25 +0200 Subject: start working on battle anim --- data/battle_anim_scripts.s | 2 +- data/battle_anims.s | 28 +++++++++++++++------------- 2 files changed, 16 insertions(+), 14 deletions(-) (limited to 'data') diff --git a/data/battle_anim_scripts.s b/data/battle_anim_scripts.s index b657ae179..e97943840 100644 --- a/data/battle_anim_scripts.s +++ b/data/battle_anim_scripts.s @@ -6,7 +6,7 @@ gUnknown_082C8D64:: @ 82C8D64 .incbin "baserom.gba", 0x2c8d64, 0x8 -gUnknown_082C8D6C:: @ 82C8D6C +gBattleAnims_Moves:: @ 82C8D6C .incbin "baserom.gba", 0x2c8d6c, 0x590 gUnknown_082C92FC:: @ 82C92FC diff --git a/data/battle_anims.s b/data/battle_anims.s index 13e1bdc2f..5cbdee7cf 100644 --- a/data/battle_anims.s +++ b/data/battle_anims.s @@ -294,7 +294,7 @@ gUnknown_08524B3C:: @ 8524B3C .byte 0x00, 0x87, 0x00, 0xc0, 0x00, 0x08, 0x00, 0x00 .align 2 -gUnknown_08524B44:: @ 8524B44 +gBattleAnimPicTable:: @ 8524B44 obj_tiles 0x08c02538, 0x0200, 0x2710 obj_tiles 0x08c1c6e0, 0x0300, 0x2711 obj_tiles 0x08c20784, 0x0200, 0x2712 @@ -597,6 +597,8 @@ gUnknown_085253AC:: @ 85253AC obj_tiles 0x08c0a3ec, 0x1000, 0x282f obj_tiles 0x08c1bee4, 0x0100, 0x2830 + .align 2 +gBattleAnimPaletteTable:: @ 852544C obj_pal 0x08c028cc, 0x2710 obj_pal 0x08c1c794, 0x2711 obj_pal 0x08c20868, 0x2712 @@ -930,18 +932,18 @@ gUnknown_08525D54:: @ 8525D54 .4byte 0x08c25bec, 0x08d91074, 0x08c27324 .align 2 -gUnknown_08525E98:: @ 8525E98 - .4byte ma00_load_graphics - .4byte ma01_080728D0 - .4byte ma02_instanciate_template - .4byte sub_80A3ECC - .4byte ma04_wait_countdown - .4byte sub_80A3F88 - .4byte nullsub_6 - .4byte nullsub_7 - .4byte sub_80A3FC4 - .4byte ma09_play_sound - .4byte sub_80A41D8 +sScriptCmdTable:: @ 8525E98 + .4byte ScriptCmd_loadspritegfx + .4byte ScriptCmd_unloadspritegfx + .4byte ScriptCmd_createsprite + .4byte ScriptCmd_createvisualtask + .4byte ScriptCmd_delay + .4byte ScriptCmd_waitforvisualfinish + .4byte ScriptCmd_hang1 + .4byte ScriptCmd_hang2 + .4byte ScriptCmd_end + .4byte ScriptCmd_playse + .4byte ScriptCmd_monbg .4byte ma0B_0807324C .4byte ma0C_set_BLDCNT_to_x3F40_and_BLDALPHA_to_argument .4byte ma0D_reset_BLDCNT_and_BLDALPHA -- cgit v1.2.3 From 7cf9693551ebf79212878c08245e13337d43ad52 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sat, 14 Oct 2017 14:26:25 -0400 Subject: Decompile special pointers --- data/event_scripts.s | 3 +- data/specials.inc | 529 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 530 insertions(+), 2 deletions(-) create mode 100644 data/specials.inc (limited to 'data') diff --git a/data/event_scripts.s b/data/event_scripts.s index 0f6ea494e..ad1216b91 100644 --- a/data/event_scripts.s +++ b/data/event_scripts.s @@ -12,8 +12,7 @@ gScriptCmdTableEnd:: @ 81DBA08 gSpecialVars:: @ 81DBA0C .incbin "baserom.gba", 0x1dba0c, 0x58 -gSpecials:: @ 81DBA64 - .incbin "baserom.gba", 0x1dba64, 0x83c + .include "data/specials.inc" gStdScripts:: @ 81DC2A0 .incbin "baserom.gba", 0x1dc2a0, 0x2c diff --git a/data/specials.inc b/data/specials.inc new file mode 100644 index 000000000..d34d6b6f4 --- /dev/null +++ b/data/specials.inc @@ -0,0 +1,529 @@ +gSpecials:: @ 81DBA64 + .4byte sp000_heal_pokemon + .4byte sub_809D2BC + .4byte sub_80AF948 + .4byte sub_80AF9F8 + .4byte sub_80B36EC + .4byte sub_80B371C + .4byte sub_80E8E18 + .4byte sub_80E8BC8 + .4byte sub_80E9068 + .4byte sub_80E9A90 + .4byte sub_80E9AC0 + .4byte sub_80E9744 + .4byte sub_80E9BDC + .4byte sub_80E9C2C + .4byte sub_80E9C74 + .4byte sub_80E9C88 + .4byte sub_80EA2E4 + .4byte sub_80EA354 + .4byte sub_80E933C + .4byte sub_8127E18 + .4byte sub_81297AC + .4byte sub_80E8C98 + .4byte sub_80E95D4 + .4byte sub_8129708 + .4byte sub_80E91F8 + .4byte sub_80EA30C + .4byte sub_80FA57C + .4byte sub_80E6BE8 + .4byte sub_80B2DA4 + .4byte sub_80B2E4C + .4byte sub_80B2E74 + .4byte sub_80B2EA8 + .4byte sub_80097E8 + .4byte sub_80B3968 + .4byte sub_80B3924 + .4byte nullsub_37 + .4byte sub_80B3254 + .4byte sub_80B2FD8 + .4byte sub_8138240 + .4byte SpawnLinkPartnerFieldObject + .4byte copy_player_party_to_sav1 + .4byte copy_player_party_from_sav1 + .4byte sub_80F9438 + .4byte sp02A_crash_sound + .4byte FieldObjectInteractionGetBerryTreeData + .4byte FieldObjectInteractionGetBerryName + .4byte FieldObjectInteractionGetBerryCountString + .4byte Bag_ChooseBerry + .4byte FieldObjectInteractionPlantBerryTree + .4byte FieldObjectInteractionPickBerryTree + .4byte FieldObjectInteractionRemoveBerryTree + .4byte FieldObjectInteractionWaterBerryTree + .4byte PlayerHasBerries + .4byte IsEnigmaBerryValid + .4byte sub_80B170C + .4byte sub_80B1A14 + .4byte special_trainer_unable_to_battle + .4byte check_trainer_flag + .4byte sub_80B45AC + .4byte SetUpTrainerEncounterMusic + .4byte sub_80B226C + .4byte sub_80B22A0 + .4byte sub_80B19EC + .4byte sub_80C7578 + .4byte sub_80F92F8 + .4byte TurnOffTVScreen + .4byte DoTVShow + .4byte DoPokeNews + .4byte special_0x44 + .4byte special_0x45 + .4byte InterviewBefore + .4byte InterviewAfter + .4byte sub_80EF8F8 + .4byte SetContestCategoryStringVarForInterview + .4byte special_0x4a + .4byte TV_IsScriptShowKindAlreadyInQueue + .4byte CheckForBigMovieOrEmergencyNewsOnTV + .4byte GetMomOrDadStringForTVMessage + .4byte ResetTVShowState + .4byte sub_80F831C + .4byte sub_80F84B0 + .4byte sub_80F8814 + .4byte sub_80F834C + .4byte sub_80F8390 + .4byte sub_80F8850 + .4byte sub_80F82B4 + .4byte sub_80F87D8 + .4byte sub_80F7F30 + .4byte sub_80F8970 + .4byte sub_80F8AFC + .4byte sub_80F82FC + .4byte sub_80F7F7C + .4byte sub_80F7FFC + .4byte sub_80F8D24 + .4byte sub_80F8C7C + .4byte sub_80B3000 + .4byte sub_809FF80 + .4byte sub_80FAFF8 + .4byte easy_chat_input_maybe + .4byte sub_811EECC + .4byte sub_81201DC + .4byte sub_81201F4 + .4byte sub_8120210 + .4byte sub_8120358 + .4byte sub_8120374 + .4byte sub_812038C + .4byte sub_8120340 + .4byte sub_8120B5C + .4byte sub_81203FC + .4byte sub_81203C4 + .4byte sub_81213B0 + .4byte sub_812139C + .4byte sub_8121388 + .4byte sub_81213D8 + .4byte sub_8121450 + .4byte sub_8121424 + .4byte sub_8133EC0 + .4byte sub_8133CD8 + .4byte sub_8133CF4 + .4byte sub_8133D2C + .4byte sub_8133D8C + .4byte sub_8133E38 + .4byte GetSeedotSizeRecordInfo + .4byte CompareSeedotSize + .4byte GetLotadSizeRecordInfo + .4byte CompareLotadSize + .4byte TV_PutNameRaterShowOnTheAirIfNicnkameChanged + .4byte TV_CopyNicknameToStringVar1AndEnsureTerminated + .4byte TV_CheckMonOTIDEqualsPlayerID + .4byte sub_8122998 + .4byte sub_81229C8 + .4byte sub_811EF6C + .4byte sub_8122A30 + .4byte sub_80D6EDC + .4byte CalculatePlayerPartyCount + .4byte sub_80C7008 + .4byte sub_80C70AC + .4byte sub_80F88E8 + .4byte sub_80F88DC + .4byte sub_80F8864 + .4byte sub_80F8940 + .4byte ShowContestWinner + .4byte sub_8138540 + .4byte sub_81384F0 + .4byte sub_8138AC0 + .4byte DrawWholeMapView + .4byte sub_8138AD0 + .4byte sub_8138750 + .4byte sub_81388E4 + .4byte sub_8138AA4 + .4byte sub_8138AF0 + .4byte sub_8138B10 + .4byte sub_8138B48 + .4byte sub_8138BC8 + .4byte sub_8138B8C + .4byte sub_814FC9C + .4byte sub_8085784 + .4byte Special_StartWallClock + .4byte Special_ViewWallClock + .4byte sub_80B1138 + .4byte sub_80B086C + .4byte ChangePokemonNickname + .4byte sub_81B94B0 + .4byte sub_8136EF4 + .4byte sub_807FA80 + .4byte sub_8142BC8 + .4byte sub_813BD60 + .4byte sub_813BCA8 + .4byte sub_813BDB4 + .4byte sub_813BA30 + .4byte sub_813BCE8 + .4byte sub_813BF60 + .4byte sub_813BA60 + .4byte sub_813BF7C + .4byte rock_smash_wild_pokemon_encounter + .4byte GabbyAndTyGetBattleNum + .4byte GabbyAndTyAfterInterview + .4byte GabbyAndTyBeforeInterview + .4byte DoTVShowInSearchOfTrainers + .4byte IsTVShowInSearchOfTrainersAiring + .4byte GabbyAndTyGetLastQuote + .4byte GabbyAndTyGetLastBattleTrivia + .4byte GabbyAndTySetScriptVarsToFieldObjectLocalIds + .4byte sub_8138B80 + .4byte sp0B5_daycare + .4byte sp0B6_daycare + .4byte sub_8070728 + .4byte sp0B8_daycare + .4byte sp0B9_daycare_relationship_comment + .4byte sub_8070C58 + .4byte daycare_send_selected_pokemon + .4byte sub_8071330 + .4byte sub_80712C0 + .4byte sub_806FF30 + .4byte sub_806FED8 + .4byte sub_806FDC4 + .4byte ScriptHatchMon + .4byte EggHatch + .4byte sub_8071614 + .4byte sub_813C4BC + .4byte IsEnoughForCostInVar0x8005 + .4byte SubtractMoneyFromVar0x8005 + .4byte sub_80F972C + .4byte sp0C8_whiteout_maybe + .4byte sub_80FBE90 + .4byte sub_80FBED0 + .4byte sub_8137F90 + .4byte sub_8137FB0 + .4byte EnterSafariMode + .4byte ExitSafariMode + .4byte GetPokeblockFeederInFront + .4byte sub_8135908 + .4byte sub_813793C + .4byte sub_8137988 + .4byte sub_8137A0C + .4byte sub_8137A4C + .4byte sub_8137C10 + .4byte sp0D9_ComputerRelated + .4byte sub_8138E20 + .4byte sub_8139994 + .4byte sub_8138EC0 + .4byte sub_8138FAC + .4byte sub_81B951C + .4byte sub_81B968C + .4byte sub_81B9770 + .4byte sub_81B9718 + .4byte sub_81B96D0 + .4byte sub_8160638 + .4byte sub_8137EFC + .4byte sub_8137D0C + .4byte sp0E3_walkrun_bitfield_interpretation + .4byte sub_8137E6C + .4byte sub_8137F44 + .4byte sub_8138C04 + .4byte sub_81A1780 + .4byte sub_8161F74 + .4byte sub_818E9AC + .4byte sub_8195960 + .4byte sub_8165360 + .4byte sub_8163AC4 + .4byte sub_81A5238 + .4byte sub_81A5E74 + .4byte sub_81A703C + .4byte sub_81A8E7C + .4byte StopMapMusic + .4byte sub_81B99B4 + .4byte sub_81B9B80 + .4byte sub_81B9D08 + .4byte sub_80F9490 + .4byte sub_81652B4 + .4byte sub_8139228 + .4byte sub_80F94E8 + .4byte sub_816AE58 + .4byte sub_816AE98 + .4byte sub_8138C94 + .4byte sub_807E73C + .4byte sub_807EA10 + .4byte sub_807F0E4 + .4byte sub_807E9D4 + .4byte sub_8138BDC + .4byte RetrieveLotteryNumber + .4byte PickLotteryCornerTicket + .4byte ShowBerryBlenderRecordWindow + .4byte sub_8138FEC + .4byte sub_8138FD4 + .4byte sp109_CreatePCMenu + .4byte sub_8137C28 + .4byte sub_8137CB4 + .4byte sub_8139004 + .4byte sub_8139030 + .4byte sub_813905C + .4byte sub_8139088 + .4byte sub_81390B4 + .4byte sub_80FB7A4 + .4byte DoSoftReset + .4byte sub_8137734 + .4byte sub_8139A78 + .4byte nullsub_55 + .4byte SpawnScriptFieldObject + .4byte RemoveScriptFieldObject + .4byte sub_81391D0 + .4byte sub_8139200 + .4byte CheckRelicanthWailord + .4byte ShouldDoBrailleStrengthEffectOld + .4byte sub_80B0534 + .4byte sub_80B058C + .4byte sub_81379F8 + .4byte sub_8139238 + .4byte sub_8139248 + .4byte player_get_direction_lower_nybble + .4byte sub_81392AC + .4byte sub_81392D4 + .4byte sub_81392F8 + .4byte sub_8139320 + .4byte sub_8139348 + .4byte sub_8139370 + .4byte sub_81393C8 + .4byte sub_8098574 + .4byte sub_809859C + .4byte InitRoamer + .4byte sub_81393FC + .4byte sub_81390E0 + .4byte sub_80AFC60 + .4byte sub_813946C + .4byte sub_81394D8 + .4byte sub_80E980C + .4byte sub_8139530 + .4byte DoSealedChamberShakingEffect1 + .4byte sub_8139B60 + .4byte sub_80FAC78 + .4byte sub_8139540 + .4byte sub_809E1C8 + .4byte sub_8139560 + .4byte sub_80B0A18 + .4byte sub_80B0934 + .4byte sub_80B0A74 + .4byte sub_80B16D8 + .4byte DoSealedChamberShakingEffect2 + .4byte sub_8139634 + .4byte sub_80AC81C + .4byte sp13E_warp_to_last_warp + .4byte sp13F_fall_to_last_warp + .4byte sub_80F8D28 + .4byte sub_80F8EB8 + .4byte sub_8162794 + .4byte sub_80B08EC + .4byte sub_8139648 + .4byte sub_8139668 + .4byte sub_80F8FA0 + .4byte sub_81396E0 + .4byte sub_81B98DC + .4byte nullsub_54 + .4byte sub_80E9B70 + .4byte copy_bags_and_unk_data_from_save_blocks + .4byte sub_80B05B4 + .4byte sub_8139754 + .4byte sub_813970C + .4byte sub_80C08E4 + .4byte sub_8139770 + .4byte sub_81397C4 + .4byte sub_81653CC + .4byte sub_80F9370 + .4byte sub_80F8FE8 + .4byte sub_81AFDD0 + .4byte sub_80EDCE8 + .4byte sub_80EE2CC + .4byte sub_80EE72C + .4byte sub_80EE7C0 + .4byte nullsub_55 + .4byte PutFanClubSpecialOnTheAir + .4byte sub_80EED10 + .4byte sub_80EED34 + .4byte sub_80EB1AC + .4byte sub_80EBE7C + .4byte sub_80EB300 + .4byte sub_80EB438 + .4byte sub_80EB368 + .4byte sub_80EB3D0 + .4byte sub_80EB290 + .4byte sub_80EB2C8 + .4byte sub_80EB56C + .4byte sub_80EB9E0 + .4byte sub_80EBB28 + .4byte sub_80EB498 + .4byte sub_818D9C0 + .4byte sub_818DAEC + .4byte sub_818DBE8 + .4byte sub_818DC2C + .4byte sub_818DC60 + .4byte sub_818DCC8 + .4byte sub_818DD14 + .4byte sub_818DD54 + .4byte sub_818DD78 + .4byte sub_818DE44 + .4byte sub_818DE5C + .4byte sub_818DEA0 + .4byte sub_818DEDC + .4byte sub_818E038 + .4byte sub_818E06C + .4byte sub_818E2D8 + .4byte sub_811A858 + .4byte sub_818E2FC + .4byte sub_818E308 + .4byte sub_818E358 + .4byte sub_818E37C + .4byte sub_818E298 + .4byte sub_818E39C + .4byte sub_818E3BC + .4byte sub_818E3E0 + .4byte sub_818E430 + .4byte sub_818E47C + .4byte sub_818E490 + .4byte sub_813986C + .4byte sub_818E4A4 + .4byte sub_818E510 + .4byte sub_818E538 + .4byte sub_818E274 + .4byte sub_818E3EC + .4byte sub_818E8E0 + .4byte sub_818E8B4 + .4byte sub_818E914 + .4byte sub_818E92C + .4byte sub_818E940 + .4byte sub_818E960 + .4byte sub_818E990 + .4byte PutLilycoveContestLadyShowOnTheAir + .4byte sub_813B880 + .4byte sub_81A085C + .4byte CheckIfMultipleTrainersWantBattle + .4byte AddMapNamePopUpWindowTask + .4byte AddMapNamePopUpWindowTask + .4byte sub_81BE994 + .4byte sub_81BE79C + .4byte sub_81BE7F4 + .4byte sub_81398C0 + .4byte sub_80093CC + .4byte BerryBlenderLinkBecomeLeader + .4byte BerryBlenderLinkJoinGroup + .4byte UnionRoomSpecial + .4byte sub_801A42C + .4byte sub_8016934 + .4byte sp182_move_string + .4byte sub_801DC20 + .4byte sub_81B8958 + .4byte sub_8018090 + .4byte sub_813990C + .4byte sub_801B27C + .4byte HasAtLeastOneBerry + .4byte sub_802C920 + .4byte sub_802E3C4 + .4byte sub_8027A5C + .4byte sub_8027AAC + .4byte sub_8139980 + .4byte sub_81399F4 + .4byte sub_8139D98 + .4byte sub_80F905C + .4byte sub_800B518 + .4byte sub_80F90DC + .4byte sub_80F910C + .4byte sub_80F9160 + .4byte sub_81A4AA0 + .4byte sub_81A4AE8 + .4byte sub_8139F20 + .4byte sub_80F9134 + .4byte sub_80F9154 + .4byte sub_80B3028 + .4byte sub_813A128 + .4byte sub_813A630 + .4byte sub_813A080 + .4byte sub_81C6A94 + .4byte sub_81C4F24 + .4byte sub_81B95E0 + .4byte sub_81B9620 + .4byte sub_813A76C + .4byte sub_813A7B8 + .4byte sub_813A958 + .4byte sub_813A8FC + .4byte sub_813A988 + .4byte sub_813A9D0 + .4byte sub_813A9A4 + .4byte sub_813AA04 + .4byte sub_813AA18 + .4byte sub_813AA44 + .4byte sub_80248B0 + .4byte sub_8024918 + .4byte sub_80246D4 + .4byte sub_802477C + .4byte sub_802488C + .4byte sub_813A820 + .4byte sub_813A854 + .4byte sub_813B7D8 + .4byte sub_81C72A4 + .4byte sp106_CreateStartMenu + .4byte sub_80C2E40 + .4byte sub_813AC7C + .4byte sub_813ADB8 + .4byte sub_813ADD4 + .4byte sub_81B892C + .4byte sub_813AEB4 + .4byte sub_813AF48 + .4byte sub_813AFC8 + .4byte sub_813B1D0 + .4byte DoScriptedWildBattle + .4byte sub_81BEB54 + .4byte sub_81BEB68 + .4byte sub_81BEB7C + .4byte ChangeBoxPokemonNickname + .4byte get_unknown_box_id + .4byte sub_813B21C + .4byte sub_81D1C20 + .4byte sub_8175280 + .4byte sub_813B2E4 + .4byte sub_813B374 + .4byte sub_813B490 + .4byte sub_80A08CC + .4byte sub_813B484 + .4byte sub_81AFDA0 + .4byte sub_813B4E0 + .4byte ShouldDoBrailleRegicePuzzle + .4byte EnableNationalPokedex + .4byte sub_80E2548 + .4byte sub_80E2878 + .4byte TurnOnTVScreen + .4byte sub_81D4A90 + .4byte sub_813B514 + .4byte sub_813B568 + .4byte sub_813B534 + .4byte sp194_trainer_tower + .4byte sub_813B7D8 + .4byte sub_813B80C + .4byte sub_81D4BEC + .4byte sub_80224D0 + .4byte sub_81D99BC + .4byte walda_maybe + .4byte sub_81D9AC4 + .4byte sub_8139ED0 + .4byte sub_813B968 + .4byte sub_80F8B94 + .4byte sub_813C904 + .4byte sub_80B4808 + .4byte sub_813B9A0 + .4byte sub_81B9918 + .4byte sub_80722E0 + .4byte sub_80B45D0 + .4byte sub_813C5A0 + .4byte sub_8139C10 + .4byte sub_80B3BC4 + -- cgit v1.2.3 From 70eaf5d1bec20b9b965e4904cffad2a012a5d7ec Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sat, 14 Oct 2017 15:00:13 -0400 Subject: port def_special --- data/specials.inc | 1062 +++++++++++++++++++++++++++-------------------------- 1 file changed, 535 insertions(+), 527 deletions(-) (limited to 'data') diff --git a/data/specials.inc b/data/specials.inc index d34d6b6f4..bb9a41ab7 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -1,529 +1,537 @@ +.macro def_special ptr +.set SPECIAL_\ptr, __special__ +.set __special__, __special__ + 1 + .4byte \ptr + .endm + +.set __special__, 0 + .align 2 gSpecials:: @ 81DBA64 - .4byte sp000_heal_pokemon - .4byte sub_809D2BC - .4byte sub_80AF948 - .4byte sub_80AF9F8 - .4byte sub_80B36EC - .4byte sub_80B371C - .4byte sub_80E8E18 - .4byte sub_80E8BC8 - .4byte sub_80E9068 - .4byte sub_80E9A90 - .4byte sub_80E9AC0 - .4byte sub_80E9744 - .4byte sub_80E9BDC - .4byte sub_80E9C2C - .4byte sub_80E9C74 - .4byte sub_80E9C88 - .4byte sub_80EA2E4 - .4byte sub_80EA354 - .4byte sub_80E933C - .4byte sub_8127E18 - .4byte sub_81297AC - .4byte sub_80E8C98 - .4byte sub_80E95D4 - .4byte sub_8129708 - .4byte sub_80E91F8 - .4byte sub_80EA30C - .4byte sub_80FA57C - .4byte sub_80E6BE8 - .4byte sub_80B2DA4 - .4byte sub_80B2E4C - .4byte sub_80B2E74 - .4byte sub_80B2EA8 - .4byte sub_80097E8 - .4byte sub_80B3968 - .4byte sub_80B3924 - .4byte nullsub_37 - .4byte sub_80B3254 - .4byte sub_80B2FD8 - .4byte sub_8138240 - .4byte SpawnLinkPartnerFieldObject - .4byte copy_player_party_to_sav1 - .4byte copy_player_party_from_sav1 - .4byte sub_80F9438 - .4byte sp02A_crash_sound - .4byte FieldObjectInteractionGetBerryTreeData - .4byte FieldObjectInteractionGetBerryName - .4byte FieldObjectInteractionGetBerryCountString - .4byte Bag_ChooseBerry - .4byte FieldObjectInteractionPlantBerryTree - .4byte FieldObjectInteractionPickBerryTree - .4byte FieldObjectInteractionRemoveBerryTree - .4byte FieldObjectInteractionWaterBerryTree - .4byte PlayerHasBerries - .4byte IsEnigmaBerryValid - .4byte sub_80B170C - .4byte sub_80B1A14 - .4byte special_trainer_unable_to_battle - .4byte check_trainer_flag - .4byte sub_80B45AC - .4byte SetUpTrainerEncounterMusic - .4byte sub_80B226C - .4byte sub_80B22A0 - .4byte sub_80B19EC - .4byte sub_80C7578 - .4byte sub_80F92F8 - .4byte TurnOffTVScreen - .4byte DoTVShow - .4byte DoPokeNews - .4byte special_0x44 - .4byte special_0x45 - .4byte InterviewBefore - .4byte InterviewAfter - .4byte sub_80EF8F8 - .4byte SetContestCategoryStringVarForInterview - .4byte special_0x4a - .4byte TV_IsScriptShowKindAlreadyInQueue - .4byte CheckForBigMovieOrEmergencyNewsOnTV - .4byte GetMomOrDadStringForTVMessage - .4byte ResetTVShowState - .4byte sub_80F831C - .4byte sub_80F84B0 - .4byte sub_80F8814 - .4byte sub_80F834C - .4byte sub_80F8390 - .4byte sub_80F8850 - .4byte sub_80F82B4 - .4byte sub_80F87D8 - .4byte sub_80F7F30 - .4byte sub_80F8970 - .4byte sub_80F8AFC - .4byte sub_80F82FC - .4byte sub_80F7F7C - .4byte sub_80F7FFC - .4byte sub_80F8D24 - .4byte sub_80F8C7C - .4byte sub_80B3000 - .4byte sub_809FF80 - .4byte sub_80FAFF8 - .4byte easy_chat_input_maybe - .4byte sub_811EECC - .4byte sub_81201DC - .4byte sub_81201F4 - .4byte sub_8120210 - .4byte sub_8120358 - .4byte sub_8120374 - .4byte sub_812038C - .4byte sub_8120340 - .4byte sub_8120B5C - .4byte sub_81203FC - .4byte sub_81203C4 - .4byte sub_81213B0 - .4byte sub_812139C - .4byte sub_8121388 - .4byte sub_81213D8 - .4byte sub_8121450 - .4byte sub_8121424 - .4byte sub_8133EC0 - .4byte sub_8133CD8 - .4byte sub_8133CF4 - .4byte sub_8133D2C - .4byte sub_8133D8C - .4byte sub_8133E38 - .4byte GetSeedotSizeRecordInfo - .4byte CompareSeedotSize - .4byte GetLotadSizeRecordInfo - .4byte CompareLotadSize - .4byte TV_PutNameRaterShowOnTheAirIfNicnkameChanged - .4byte TV_CopyNicknameToStringVar1AndEnsureTerminated - .4byte TV_CheckMonOTIDEqualsPlayerID - .4byte sub_8122998 - .4byte sub_81229C8 - .4byte sub_811EF6C - .4byte sub_8122A30 - .4byte sub_80D6EDC - .4byte CalculatePlayerPartyCount - .4byte sub_80C7008 - .4byte sub_80C70AC - .4byte sub_80F88E8 - .4byte sub_80F88DC - .4byte sub_80F8864 - .4byte sub_80F8940 - .4byte ShowContestWinner - .4byte sub_8138540 - .4byte sub_81384F0 - .4byte sub_8138AC0 - .4byte DrawWholeMapView - .4byte sub_8138AD0 - .4byte sub_8138750 - .4byte sub_81388E4 - .4byte sub_8138AA4 - .4byte sub_8138AF0 - .4byte sub_8138B10 - .4byte sub_8138B48 - .4byte sub_8138BC8 - .4byte sub_8138B8C - .4byte sub_814FC9C - .4byte sub_8085784 - .4byte Special_StartWallClock - .4byte Special_ViewWallClock - .4byte sub_80B1138 - .4byte sub_80B086C - .4byte ChangePokemonNickname - .4byte sub_81B94B0 - .4byte sub_8136EF4 - .4byte sub_807FA80 - .4byte sub_8142BC8 - .4byte sub_813BD60 - .4byte sub_813BCA8 - .4byte sub_813BDB4 - .4byte sub_813BA30 - .4byte sub_813BCE8 - .4byte sub_813BF60 - .4byte sub_813BA60 - .4byte sub_813BF7C - .4byte rock_smash_wild_pokemon_encounter - .4byte GabbyAndTyGetBattleNum - .4byte GabbyAndTyAfterInterview - .4byte GabbyAndTyBeforeInterview - .4byte DoTVShowInSearchOfTrainers - .4byte IsTVShowInSearchOfTrainersAiring - .4byte GabbyAndTyGetLastQuote - .4byte GabbyAndTyGetLastBattleTrivia - .4byte GabbyAndTySetScriptVarsToFieldObjectLocalIds - .4byte sub_8138B80 - .4byte sp0B5_daycare - .4byte sp0B6_daycare - .4byte sub_8070728 - .4byte sp0B8_daycare - .4byte sp0B9_daycare_relationship_comment - .4byte sub_8070C58 - .4byte daycare_send_selected_pokemon - .4byte sub_8071330 - .4byte sub_80712C0 - .4byte sub_806FF30 - .4byte sub_806FED8 - .4byte sub_806FDC4 - .4byte ScriptHatchMon - .4byte EggHatch - .4byte sub_8071614 - .4byte sub_813C4BC - .4byte IsEnoughForCostInVar0x8005 - .4byte SubtractMoneyFromVar0x8005 - .4byte sub_80F972C - .4byte sp0C8_whiteout_maybe - .4byte sub_80FBE90 - .4byte sub_80FBED0 - .4byte sub_8137F90 - .4byte sub_8137FB0 - .4byte EnterSafariMode - .4byte ExitSafariMode - .4byte GetPokeblockFeederInFront - .4byte sub_8135908 - .4byte sub_813793C - .4byte sub_8137988 - .4byte sub_8137A0C - .4byte sub_8137A4C - .4byte sub_8137C10 - .4byte sp0D9_ComputerRelated - .4byte sub_8138E20 - .4byte sub_8139994 - .4byte sub_8138EC0 - .4byte sub_8138FAC - .4byte sub_81B951C - .4byte sub_81B968C - .4byte sub_81B9770 - .4byte sub_81B9718 - .4byte sub_81B96D0 - .4byte sub_8160638 - .4byte sub_8137EFC - .4byte sub_8137D0C - .4byte sp0E3_walkrun_bitfield_interpretation - .4byte sub_8137E6C - .4byte sub_8137F44 - .4byte sub_8138C04 - .4byte sub_81A1780 - .4byte sub_8161F74 - .4byte sub_818E9AC - .4byte sub_8195960 - .4byte sub_8165360 - .4byte sub_8163AC4 - .4byte sub_81A5238 - .4byte sub_81A5E74 - .4byte sub_81A703C - .4byte sub_81A8E7C - .4byte StopMapMusic - .4byte sub_81B99B4 - .4byte sub_81B9B80 - .4byte sub_81B9D08 - .4byte sub_80F9490 - .4byte sub_81652B4 - .4byte sub_8139228 - .4byte sub_80F94E8 - .4byte sub_816AE58 - .4byte sub_816AE98 - .4byte sub_8138C94 - .4byte sub_807E73C - .4byte sub_807EA10 - .4byte sub_807F0E4 - .4byte sub_807E9D4 - .4byte sub_8138BDC - .4byte RetrieveLotteryNumber - .4byte PickLotteryCornerTicket - .4byte ShowBerryBlenderRecordWindow - .4byte sub_8138FEC - .4byte sub_8138FD4 - .4byte sp109_CreatePCMenu - .4byte sub_8137C28 - .4byte sub_8137CB4 - .4byte sub_8139004 - .4byte sub_8139030 - .4byte sub_813905C - .4byte sub_8139088 - .4byte sub_81390B4 - .4byte sub_80FB7A4 - .4byte DoSoftReset - .4byte sub_8137734 - .4byte sub_8139A78 - .4byte nullsub_55 - .4byte SpawnScriptFieldObject - .4byte RemoveScriptFieldObject - .4byte sub_81391D0 - .4byte sub_8139200 - .4byte CheckRelicanthWailord - .4byte ShouldDoBrailleStrengthEffectOld - .4byte sub_80B0534 - .4byte sub_80B058C - .4byte sub_81379F8 - .4byte sub_8139238 - .4byte sub_8139248 - .4byte player_get_direction_lower_nybble - .4byte sub_81392AC - .4byte sub_81392D4 - .4byte sub_81392F8 - .4byte sub_8139320 - .4byte sub_8139348 - .4byte sub_8139370 - .4byte sub_81393C8 - .4byte sub_8098574 - .4byte sub_809859C - .4byte InitRoamer - .4byte sub_81393FC - .4byte sub_81390E0 - .4byte sub_80AFC60 - .4byte sub_813946C - .4byte sub_81394D8 - .4byte sub_80E980C - .4byte sub_8139530 - .4byte DoSealedChamberShakingEffect1 - .4byte sub_8139B60 - .4byte sub_80FAC78 - .4byte sub_8139540 - .4byte sub_809E1C8 - .4byte sub_8139560 - .4byte sub_80B0A18 - .4byte sub_80B0934 - .4byte sub_80B0A74 - .4byte sub_80B16D8 - .4byte DoSealedChamberShakingEffect2 - .4byte sub_8139634 - .4byte sub_80AC81C - .4byte sp13E_warp_to_last_warp - .4byte sp13F_fall_to_last_warp - .4byte sub_80F8D28 - .4byte sub_80F8EB8 - .4byte sub_8162794 - .4byte sub_80B08EC - .4byte sub_8139648 - .4byte sub_8139668 - .4byte sub_80F8FA0 - .4byte sub_81396E0 - .4byte sub_81B98DC - .4byte nullsub_54 - .4byte sub_80E9B70 - .4byte copy_bags_and_unk_data_from_save_blocks - .4byte sub_80B05B4 - .4byte sub_8139754 - .4byte sub_813970C - .4byte sub_80C08E4 - .4byte sub_8139770 - .4byte sub_81397C4 - .4byte sub_81653CC - .4byte sub_80F9370 - .4byte sub_80F8FE8 - .4byte sub_81AFDD0 - .4byte sub_80EDCE8 - .4byte sub_80EE2CC - .4byte sub_80EE72C - .4byte sub_80EE7C0 - .4byte nullsub_55 - .4byte PutFanClubSpecialOnTheAir - .4byte sub_80EED10 - .4byte sub_80EED34 - .4byte sub_80EB1AC - .4byte sub_80EBE7C - .4byte sub_80EB300 - .4byte sub_80EB438 - .4byte sub_80EB368 - .4byte sub_80EB3D0 - .4byte sub_80EB290 - .4byte sub_80EB2C8 - .4byte sub_80EB56C - .4byte sub_80EB9E0 - .4byte sub_80EBB28 - .4byte sub_80EB498 - .4byte sub_818D9C0 - .4byte sub_818DAEC - .4byte sub_818DBE8 - .4byte sub_818DC2C - .4byte sub_818DC60 - .4byte sub_818DCC8 - .4byte sub_818DD14 - .4byte sub_818DD54 - .4byte sub_818DD78 - .4byte sub_818DE44 - .4byte sub_818DE5C - .4byte sub_818DEA0 - .4byte sub_818DEDC - .4byte sub_818E038 - .4byte sub_818E06C - .4byte sub_818E2D8 - .4byte sub_811A858 - .4byte sub_818E2FC - .4byte sub_818E308 - .4byte sub_818E358 - .4byte sub_818E37C - .4byte sub_818E298 - .4byte sub_818E39C - .4byte sub_818E3BC - .4byte sub_818E3E0 - .4byte sub_818E430 - .4byte sub_818E47C - .4byte sub_818E490 - .4byte sub_813986C - .4byte sub_818E4A4 - .4byte sub_818E510 - .4byte sub_818E538 - .4byte sub_818E274 - .4byte sub_818E3EC - .4byte sub_818E8E0 - .4byte sub_818E8B4 - .4byte sub_818E914 - .4byte sub_818E92C - .4byte sub_818E940 - .4byte sub_818E960 - .4byte sub_818E990 - .4byte PutLilycoveContestLadyShowOnTheAir - .4byte sub_813B880 - .4byte sub_81A085C - .4byte CheckIfMultipleTrainersWantBattle - .4byte AddMapNamePopUpWindowTask - .4byte AddMapNamePopUpWindowTask - .4byte sub_81BE994 - .4byte sub_81BE79C - .4byte sub_81BE7F4 - .4byte sub_81398C0 - .4byte sub_80093CC - .4byte BerryBlenderLinkBecomeLeader - .4byte BerryBlenderLinkJoinGroup - .4byte UnionRoomSpecial - .4byte sub_801A42C - .4byte sub_8016934 - .4byte sp182_move_string - .4byte sub_801DC20 - .4byte sub_81B8958 - .4byte sub_8018090 - .4byte sub_813990C - .4byte sub_801B27C - .4byte HasAtLeastOneBerry - .4byte sub_802C920 - .4byte sub_802E3C4 - .4byte sub_8027A5C - .4byte sub_8027AAC - .4byte sub_8139980 - .4byte sub_81399F4 - .4byte sub_8139D98 - .4byte sub_80F905C - .4byte sub_800B518 - .4byte sub_80F90DC - .4byte sub_80F910C - .4byte sub_80F9160 - .4byte sub_81A4AA0 - .4byte sub_81A4AE8 - .4byte sub_8139F20 - .4byte sub_80F9134 - .4byte sub_80F9154 - .4byte sub_80B3028 - .4byte sub_813A128 - .4byte sub_813A630 - .4byte sub_813A080 - .4byte sub_81C6A94 - .4byte sub_81C4F24 - .4byte sub_81B95E0 - .4byte sub_81B9620 - .4byte sub_813A76C - .4byte sub_813A7B8 - .4byte sub_813A958 - .4byte sub_813A8FC - .4byte sub_813A988 - .4byte sub_813A9D0 - .4byte sub_813A9A4 - .4byte sub_813AA04 - .4byte sub_813AA18 - .4byte sub_813AA44 - .4byte sub_80248B0 - .4byte sub_8024918 - .4byte sub_80246D4 - .4byte sub_802477C - .4byte sub_802488C - .4byte sub_813A820 - .4byte sub_813A854 - .4byte sub_813B7D8 - .4byte sub_81C72A4 - .4byte sp106_CreateStartMenu - .4byte sub_80C2E40 - .4byte sub_813AC7C - .4byte sub_813ADB8 - .4byte sub_813ADD4 - .4byte sub_81B892C - .4byte sub_813AEB4 - .4byte sub_813AF48 - .4byte sub_813AFC8 - .4byte sub_813B1D0 - .4byte DoScriptedWildBattle - .4byte sub_81BEB54 - .4byte sub_81BEB68 - .4byte sub_81BEB7C - .4byte ChangeBoxPokemonNickname - .4byte get_unknown_box_id - .4byte sub_813B21C - .4byte sub_81D1C20 - .4byte sub_8175280 - .4byte sub_813B2E4 - .4byte sub_813B374 - .4byte sub_813B490 - .4byte sub_80A08CC - .4byte sub_813B484 - .4byte sub_81AFDA0 - .4byte sub_813B4E0 - .4byte ShouldDoBrailleRegicePuzzle - .4byte EnableNationalPokedex - .4byte sub_80E2548 - .4byte sub_80E2878 - .4byte TurnOnTVScreen - .4byte sub_81D4A90 - .4byte sub_813B514 - .4byte sub_813B568 - .4byte sub_813B534 - .4byte sp194_trainer_tower - .4byte sub_813B7D8 - .4byte sub_813B80C - .4byte sub_81D4BEC - .4byte sub_80224D0 - .4byte sub_81D99BC - .4byte walda_maybe - .4byte sub_81D9AC4 - .4byte sub_8139ED0 - .4byte sub_813B968 - .4byte sub_80F8B94 - .4byte sub_813C904 - .4byte sub_80B4808 - .4byte sub_813B9A0 - .4byte sub_81B9918 - .4byte sub_80722E0 - .4byte sub_80B45D0 - .4byte sub_813C5A0 - .4byte sub_8139C10 - .4byte sub_80B3BC4 + def_special sp000_heal_pokemon + def_special sub_809D2BC + def_special sub_80AF948 + def_special sub_80AF9F8 + def_special sub_80B36EC + def_special sub_80B371C + def_special sub_80E8E18 + def_special sub_80E8BC8 + def_special sub_80E9068 + def_special sub_80E9A90 + def_special sub_80E9AC0 + def_special sub_80E9744 + def_special sub_80E9BDC + def_special sub_80E9C2C + def_special sub_80E9C74 + def_special sub_80E9C88 + def_special sub_80EA2E4 + def_special sub_80EA354 + def_special sub_80E933C + def_special sub_8127E18 + def_special sub_81297AC + def_special sub_80E8C98 + def_special sub_80E95D4 + def_special sub_8129708 + def_special sub_80E91F8 + def_special sub_80EA30C + def_special sub_80FA57C + def_special sub_80E6BE8 + def_special sub_80B2DA4 + def_special sub_80B2E4C + def_special sub_80B2E74 + def_special sub_80B2EA8 + def_special sub_80097E8 + def_special sub_80B3968 + def_special sub_80B3924 + def_special nullsub_37 + def_special sub_80B3254 + def_special sub_80B2FD8 + def_special sub_8138240 + def_special SpawnLinkPartnerFieldObject + def_special copy_player_party_to_sav1 + def_special copy_player_party_from_sav1 + def_special sub_80F9438 + def_special sp02A_crash_sound + def_special FieldObjectInteractionGetBerryTreeData + def_special FieldObjectInteractionGetBerryName + def_special FieldObjectInteractionGetBerryCountString + def_special Bag_ChooseBerry + def_special FieldObjectInteractionPlantBerryTree + def_special FieldObjectInteractionPickBerryTree + def_special FieldObjectInteractionRemoveBerryTree + def_special FieldObjectInteractionWaterBerryTree + def_special PlayerHasBerries + def_special IsEnigmaBerryValid + def_special sub_80B170C + def_special sub_80B1A14 + def_special special_trainer_unable_to_battle + def_special check_trainer_flag + def_special sub_80B45AC + def_special SetUpTrainerEncounterMusic + def_special sub_80B226C + def_special sub_80B22A0 + def_special sub_80B19EC + def_special sub_80C7578 + def_special sub_80F92F8 + def_special TurnOffTVScreen + def_special DoTVShow + def_special DoPokeNews + def_special special_0x44 + def_special special_0x45 + def_special InterviewBefore + def_special InterviewAfter + def_special sub_80EF8F8 + def_special SetContestCategoryStringVarForInterview + def_special special_0x4a + def_special TV_IsScriptShowKindAlreadyInQueue + def_special CheckForBigMovieOrEmergencyNewsOnTV + def_special GetMomOrDadStringForTVMessage + def_special ResetTVShowState + def_special sub_80F831C + def_special sub_80F84B0 + def_special sub_80F8814 + def_special sub_80F834C + def_special sub_80F8390 + def_special sub_80F8850 + def_special sub_80F82B4 + def_special sub_80F87D8 + def_special sub_80F7F30 + def_special sub_80F8970 + def_special sub_80F8AFC + def_special sub_80F82FC + def_special sub_80F7F7C + def_special sub_80F7FFC + def_special sub_80F8D24 + def_special sub_80F8C7C + def_special sub_80B3000 + def_special sub_809FF80 + def_special sub_80FAFF8 + def_special easy_chat_input_maybe + def_special sub_811EECC + def_special sub_81201DC + def_special sub_81201F4 + def_special sub_8120210 + def_special sub_8120358 + def_special sub_8120374 + def_special sub_812038C + def_special sub_8120340 + def_special sub_8120B5C + def_special sub_81203FC + def_special sub_81203C4 + def_special sub_81213B0 + def_special sub_812139C + def_special sub_8121388 + def_special sub_81213D8 + def_special sub_8121450 + def_special sub_8121424 + def_special sub_8133EC0 + def_special sub_8133CD8 + def_special sub_8133CF4 + def_special sub_8133D2C + def_special sub_8133D8C + def_special sub_8133E38 + def_special GetSeedotSizeRecordInfo + def_special CompareSeedotSize + def_special GetLotadSizeRecordInfo + def_special CompareLotadSize + def_special TV_PutNameRaterShowOnTheAirIfNicnkameChanged + def_special TV_CopyNicknameToStringVar1AndEnsureTerminated + def_special TV_CheckMonOTIDEqualsPlayerID + def_special sub_8122998 + def_special sub_81229C8 + def_special sub_811EF6C + def_special sub_8122A30 + def_special sub_80D6EDC + def_special CalculatePlayerPartyCount + def_special sub_80C7008 + def_special sub_80C70AC + def_special sub_80F88E8 + def_special sub_80F88DC + def_special sub_80F8864 + def_special sub_80F8940 + def_special ShowContestWinner + def_special sub_8138540 + def_special sub_81384F0 + def_special sub_8138AC0 + def_special DrawWholeMapView + def_special sub_8138AD0 + def_special sub_8138750 + def_special sub_81388E4 + def_special sub_8138AA4 + def_special sub_8138AF0 + def_special sub_8138B10 + def_special sub_8138B48 + def_special sub_8138BC8 + def_special sub_8138B8C + def_special sub_814FC9C + def_special sub_8085784 + def_special Special_StartWallClock + def_special Special_ViewWallClock + def_special sub_80B1138 + def_special sub_80B086C + def_special ChangePokemonNickname + def_special sub_81B94B0 + def_special sub_8136EF4 + def_special sub_807FA80 + def_special sub_8142BC8 + def_special sub_813BD60 + def_special sub_813BCA8 + def_special sub_813BDB4 + def_special sub_813BA30 + def_special sub_813BCE8 + def_special sub_813BF60 + def_special sub_813BA60 + def_special sub_813BF7C + def_special rock_smash_wild_pokemon_encounter + def_special GabbyAndTyGetBattleNum + def_special GabbyAndTyAfterInterview + def_special GabbyAndTyBeforeInterview + def_special DoTVShowInSearchOfTrainers + def_special IsTVShowInSearchOfTrainersAiring + def_special GabbyAndTyGetLastQuote + def_special GabbyAndTyGetLastBattleTrivia + def_special GabbyAndTySetScriptVarsToFieldObjectLocalIds + def_special sub_8138B80 + def_special sp0B5_daycare + def_special sp0B6_daycare + def_special sub_8070728 + def_special sp0B8_daycare + def_special sp0B9_daycare_relationship_comment + def_special sub_8070C58 + def_special daycare_send_selected_pokemon + def_special sub_8071330 + def_special sub_80712C0 + def_special sub_806FF30 + def_special sub_806FED8 + def_special sub_806FDC4 + def_special ScriptHatchMon + def_special EggHatch + def_special sub_8071614 + def_special sub_813C4BC + def_special IsEnoughForCostInVar0x8005 + def_special SubtractMoneyFromVar0x8005 + def_special sub_80F972C + def_special sp0C8_whiteout_maybe + def_special sub_80FBE90 + def_special sub_80FBED0 + def_special sub_8137F90 + def_special sub_8137FB0 + def_special EnterSafariMode + def_special ExitSafariMode + def_special GetPokeblockFeederInFront + def_special sub_8135908 + def_special sub_813793C + def_special sub_8137988 + def_special sub_8137A0C + def_special sub_8137A4C + def_special sub_8137C10 + def_special sp0D9_ComputerRelated + def_special sub_8138E20 + def_special sub_8139994 + def_special sub_8138EC0 + def_special sub_8138FAC + def_special sub_81B951C + def_special sub_81B968C + def_special sub_81B9770 + def_special sub_81B9718 + def_special sub_81B96D0 + def_special sub_8160638 + def_special sub_8137EFC + def_special sub_8137D0C + def_special sp0E3_walkrun_bitfield_interpretation + def_special sub_8137E6C + def_special sub_8137F44 + def_special sub_8138C04 + def_special sub_81A1780 + def_special sub_8161F74 + def_special sub_818E9AC + def_special sub_8195960 + def_special sub_8165360 + def_special sub_8163AC4 + def_special sub_81A5238 + def_special sub_81A5E74 + def_special sub_81A703C + def_special sub_81A8E7C + def_special StopMapMusic + def_special sub_81B99B4 + def_special sub_81B9B80 + def_special sub_81B9D08 + def_special sub_80F9490 + def_special sub_81652B4 + def_special sub_8139228 + def_special sub_80F94E8 + def_special sub_816AE58 + def_special sub_816AE98 + def_special sub_8138C94 + def_special sub_807E73C + def_special sub_807EA10 + def_special sub_807F0E4 + def_special sub_807E9D4 + def_special sub_8138BDC + def_special RetrieveLotteryNumber + def_special PickLotteryCornerTicket + def_special ShowBerryBlenderRecordWindow + def_special sub_8138FEC + def_special sub_8138FD4 + def_special sp109_CreatePCMenu + def_special sub_8137C28 + def_special sub_8137CB4 + def_special sub_8139004 + def_special sub_8139030 + def_special sub_813905C + def_special sub_8139088 + def_special sub_81390B4 + def_special sub_80FB7A4 + def_special DoSoftReset + def_special sub_8137734 + def_special sub_8139A78 + def_special nullsub_55 + def_special SpawnScriptFieldObject + def_special RemoveScriptFieldObject + def_special sub_81391D0 + def_special sub_8139200 + def_special CheckRelicanthWailord + def_special ShouldDoBrailleStrengthEffectOld + def_special sub_80B0534 + def_special sub_80B058C + def_special sub_81379F8 + def_special sub_8139238 + def_special sub_8139248 + def_special player_get_direction_lower_nybble + def_special sub_81392AC + def_special sub_81392D4 + def_special sub_81392F8 + def_special sub_8139320 + def_special sub_8139348 + def_special sub_8139370 + def_special sub_81393C8 + def_special sub_8098574 + def_special sub_809859C + def_special InitRoamer + def_special sub_81393FC + def_special sub_81390E0 + def_special sub_80AFC60 + def_special sub_813946C + def_special sub_81394D8 + def_special sub_80E980C + def_special sub_8139530 + def_special DoSealedChamberShakingEffect1 + def_special sub_8139B60 + def_special sub_80FAC78 + def_special sub_8139540 + def_special sub_809E1C8 + def_special sub_8139560 + def_special sub_80B0A18 + def_special sub_80B0934 + def_special sub_80B0A74 + def_special sub_80B16D8 + def_special DoSealedChamberShakingEffect2 + def_special sub_8139634 + def_special sub_80AC81C + def_special sp13E_warp_to_last_warp + def_special sp13F_fall_to_last_warp + def_special sub_80F8D28 + def_special sub_80F8EB8 + def_special sub_8162794 + def_special sub_80B08EC + def_special sub_8139648 + def_special sub_8139668 + def_special sub_80F8FA0 + def_special sub_81396E0 + def_special sub_81B98DC + def_special nullsub_54 + def_special sub_80E9B70 + def_special copy_bags_and_unk_data_from_save_blocks + def_special sub_80B05B4 + def_special sub_8139754 + def_special sub_813970C + def_special sub_80C08E4 + def_special sub_8139770 + def_special sub_81397C4 + def_special sub_81653CC + def_special sub_80F9370 + def_special sub_80F8FE8 + def_special sub_81AFDD0 + def_special sub_80EDCE8 + def_special sub_80EE2CC + def_special sub_80EE72C + def_special sub_80EE7C0 + def_special nullsub_55 + def_special PutFanClubSpecialOnTheAir + def_special sub_80EED10 + def_special sub_80EED34 + def_special sub_80EB1AC + def_special sub_80EBE7C + def_special sub_80EB300 + def_special sub_80EB438 + def_special sub_80EB368 + def_special sub_80EB3D0 + def_special sub_80EB290 + def_special sub_80EB2C8 + def_special sub_80EB56C + def_special sub_80EB9E0 + def_special sub_80EBB28 + def_special sub_80EB498 + def_special sub_818D9C0 + def_special sub_818DAEC + def_special sub_818DBE8 + def_special sub_818DC2C + def_special sub_818DC60 + def_special sub_818DCC8 + def_special sub_818DD14 + def_special sub_818DD54 + def_special sub_818DD78 + def_special sub_818DE44 + def_special sub_818DE5C + def_special sub_818DEA0 + def_special sub_818DEDC + def_special sub_818E038 + def_special sub_818E06C + def_special sub_818E2D8 + def_special sub_811A858 + def_special sub_818E2FC + def_special sub_818E308 + def_special sub_818E358 + def_special sub_818E37C + def_special sub_818E298 + def_special sub_818E39C + def_special sub_818E3BC + def_special sub_818E3E0 + def_special sub_818E430 + def_special sub_818E47C + def_special sub_818E490 + def_special sub_813986C + def_special sub_818E4A4 + def_special sub_818E510 + def_special sub_818E538 + def_special sub_818E274 + def_special sub_818E3EC + def_special sub_818E8E0 + def_special sub_818E8B4 + def_special sub_818E914 + def_special sub_818E92C + def_special sub_818E940 + def_special sub_818E960 + def_special sub_818E990 + def_special PutLilycoveContestLadyShowOnTheAir + def_special sub_813B880 + def_special sub_81A085C + def_special CheckIfMultipleTrainersWantBattle + def_special AddMapNamePopUpWindowTask + def_special AddMapNamePopUpWindowTask + def_special sub_81BE994 + def_special sub_81BE79C + def_special sub_81BE7F4 + def_special sub_81398C0 + def_special sub_80093CC + def_special BerryBlenderLinkBecomeLeader + def_special BerryBlenderLinkJoinGroup + def_special UnionRoomSpecial + def_special sub_801A42C + def_special sub_8016934 + def_special sp182_move_string + def_special sub_801DC20 + def_special sub_81B8958 + def_special sub_8018090 + def_special sub_813990C + def_special sub_801B27C + def_special HasAtLeastOneBerry + def_special sub_802C920 + def_special sub_802E3C4 + def_special sub_8027A5C + def_special sub_8027AAC + def_special sub_8139980 + def_special sub_81399F4 + def_special sub_8139D98 + def_special sub_80F905C + def_special sub_800B518 + def_special sub_80F90DC + def_special sub_80F910C + def_special sub_80F9160 + def_special sub_81A4AA0 + def_special sub_81A4AE8 + def_special sub_8139F20 + def_special sub_80F9134 + def_special sub_80F9154 + def_special sub_80B3028 + def_special sub_813A128 + def_special sub_813A630 + def_special sub_813A080 + def_special sub_81C6A94 + def_special sub_81C4F24 + def_special sub_81B95E0 + def_special sub_81B9620 + def_special sub_813A76C + def_special sub_813A7B8 + def_special sub_813A958 + def_special sub_813A8FC + def_special sub_813A988 + def_special sub_813A9D0 + def_special sub_813A9A4 + def_special sub_813AA04 + def_special sub_813AA18 + def_special sub_813AA44 + def_special sub_80248B0 + def_special sub_8024918 + def_special sub_80246D4 + def_special sub_802477C + def_special sub_802488C + def_special sub_813A820 + def_special sub_813A854 + def_special sub_813B7D8 + def_special sub_81C72A4 + def_special sp106_CreateStartMenu + def_special sub_80C2E40 + def_special sub_813AC7C + def_special sub_813ADB8 + def_special sub_813ADD4 + def_special sub_81B892C + def_special sub_813AEB4 + def_special sub_813AF48 + def_special sub_813AFC8 + def_special sub_813B1D0 + def_special DoScriptedWildBattle + def_special sub_81BEB54 + def_special sub_81BEB68 + def_special sub_81BEB7C + def_special ChangeBoxPokemonNickname + def_special get_unknown_box_id + def_special sub_813B21C + def_special sub_81D1C20 + def_special sub_8175280 + def_special sub_813B2E4 + def_special sub_813B374 + def_special sub_813B490 + def_special sub_80A08CC + def_special sub_813B484 + def_special sub_81AFDA0 + def_special sub_813B4E0 + def_special ShouldDoBrailleRegicePuzzle + def_special EnableNationalPokedex + def_special sub_80E2548 + def_special sub_80E2878 + def_special TurnOnTVScreen + def_special sub_81D4A90 + def_special sub_813B514 + def_special sub_813B568 + def_special sub_813B534 + def_special sp194_trainer_tower + def_special sub_813B7D8 + def_special sub_813B80C + def_special sub_81D4BEC + def_special sub_80224D0 + def_special sub_81D99BC + def_special walda_maybe + def_special sub_81D9AC4 + def_special sub_8139ED0 + def_special sub_813B968 + def_special sub_80F8B94 + def_special sub_813C904 + def_special sub_80B4808 + def_special sub_813B9A0 + def_special sub_81B9918 + def_special sub_80722E0 + def_special sub_80B45D0 + def_special sub_813C5A0 + def_special sub_8139C10 + def_special sub_80B3BC4 -- cgit v1.2.3 From ebb2999c03e7f9291bf905d644ddc03991e4280e Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Sat, 14 Oct 2017 23:37:44 +0200 Subject: more of battle anim done --- data/battle_anims.s | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'data') diff --git a/data/battle_anims.s b/data/battle_anims.s index 5cbdee7cf..39d5df006 100644 --- a/data/battle_anims.s +++ b/data/battle_anims.s @@ -902,7 +902,7 @@ gUnknown_08525CB4:: @ 8525CB4 obj_pal 0x08c1bf5c, 0x2830 .align 2 -gUnknown_08525D54:: @ 8525D54 +gBattleAnimBackgroundTable:: @ 8525D54 .4byte 0x08c1c844, 0x08c1ce3c, 0x08c1ce5c .4byte 0x08c1c844, 0x08c1ce3c, 0x08c1ce5c .4byte 0x08d90074, 0x08d90d3c, 0x08d90d58 @@ -944,33 +944,33 @@ sScriptCmdTable:: @ 8525E98 .4byte ScriptCmd_end .4byte ScriptCmd_playse .4byte ScriptCmd_monbg - .4byte ma0B_0807324C - .4byte ma0C_set_BLDCNT_to_x3F40_and_BLDALPHA_to_argument - .4byte ma0D_reset_BLDCNT_and_BLDALPHA - .4byte ma0E_call - .4byte sub_80A4D00 - .4byte ma10_080736AC - .4byte ma11_if_else - .4byte ma12_cond_if - .4byte ma13_goto - .4byte ma14_load_background - .4byte ma15_load_battle_screen_elements - .4byte ma16_wait_for_battle_screen_elements_s2 - .4byte sub_80A5124 - .4byte ma18_load_background_probably - .4byte ma19_08073BC8 - .4byte ma1A_8073C00 + .4byte ScriptCmd_clearmonbg + .4byte ScriptCmd_setalpha + .4byte ScriptCmd_blendoff + .4byte ScriptCmd_call + .4byte ScriptCmd_return + .4byte ScriptCmd_setarg + .4byte ScriptCmd_choosetwoturnanim + .4byte ScriptCmd_jumpifmoveturn + .4byte ScriptCmd_jump + .4byte ScriptCmd_fadetobg + .4byte ScriptCmd_restorebg + .4byte ScriptCmd_waitbgfadeout + .4byte ScriptCmd_waitbgfadein + .4byte ScriptCmd_changebg + .4byte ScriptCmd_playsewithpan + .4byte ScriptCmd_setpan .4byte ma1B_8073C2C .4byte ma1C_8073ED0 .4byte ma1D_08073FB4 - .4byte ma1E_set_BLDCNT + .4byte ScriptCmd_setbldcnt .4byte sub_80A57F8 .4byte ma20_wait_for_something .4byte ma21_08074164 - .4byte sub_80A4A18 - .4byte ma23_8073484 + .4byte ScriptCmd_monbg_22 + .4byte ScriptCmd_clearmonbg_23 .4byte sub_80A5944 - .4byte sub_80A4E5C + .4byte ScriptCmd_fadetobgfromset .4byte sub_80A5508 .4byte sub_80A559C .4byte sub_80A5984 -- cgit v1.2.3 From dd0f19476c3a15514e3d08855cee3266fdbdf2ed Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Sun, 15 Oct 2017 23:21:59 +0200 Subject: battle anim file is decompiled --- data/battle_anims.s | 126 ---------------------------------------------------- data/rom_8525F58.s | 57 ++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 126 deletions(-) create mode 100644 data/rom_8525F58.s (limited to 'data') diff --git a/data/battle_anims.s b/data/battle_anims.s index 39d5df006..082a86fa1 100644 --- a/data/battle_anims.s +++ b/data/battle_anims.s @@ -353,9 +353,6 @@ gBattleAnimPicTable:: @ 8524B44 obj_tiles 0x08c0a8bc, 0x0200, 0x2747 obj_tiles 0x08c0a3ec, 0x1000, 0x2748 obj_tiles 0x08c0a980, 0x0180, 0x2749 - - .align 2 -gUnknown_08524D14:: @ 8524D14 obj_tiles 0x08c0aa2c, 0x0c00, 0x274a obj_tiles 0x08c0aebc, 0x0100, 0x274b obj_tiles 0x08c0af38, 0x0040, 0x274c @@ -434,9 +431,6 @@ gUnknown_08524D14:: @ 8524D14 obj_tiles 0x08c14b78, 0x0100, 0x2795 obj_tiles 0x08c14c1c, 0x0200, 0x2796 obj_tiles 0x08c1a3a0, 0x0200, 0x2797 - - .align 2 -gUnknown_08524F84:: @ 8524F84 obj_tiles 0x08c1a540, 0x0020, 0x2798 obj_tiles 0x08c1a58c, 0x0a00, 0x2799 obj_tiles 0x08c1ab40, 0x0800, 0x279a @@ -534,9 +528,6 @@ gUnknown_08524F84:: @ 8524F84 obj_tiles 0x08c258b8, 0x0800, 0x27f6 obj_tiles 0x08c28394, 0x0380, 0x27f7 obj_tiles 0x08c27e34, 0x0800, 0x27f8 - - .align 2 -gUnknown_0852528C:: @ 852528C obj_tiles 0x08c28564, 0x00c0, 0x27f9 obj_tiles 0x08c28610, 0x0800, 0x27fa obj_tiles 0x08c28880, 0x0060, 0x27fb @@ -573,9 +564,6 @@ gUnknown_0852528C:: @ 852528C obj_tiles 0x08d93b9c, 0x0080, 0x281a obj_tiles 0x08c2407c, 0x0800, 0x281b obj_tiles 0x08d8ea54, 0x0020, 0x281c - - .align 2 -gUnknown_085253AC:: @ 85253AC obj_tiles 0x08d8ef2c, 0x0080, 0x281d obj_tiles 0x08dba378, 0x0400, 0x281e obj_tiles 0x08dba4b8, 0x0080, 0x281f @@ -657,9 +645,6 @@ gBattleAnimPaletteTable:: @ 852544C obj_pal 0x08c09fd8, 0x2747 obj_pal 0x08c0a894, 0x2748 obj_pal 0x08c0aa08, 0x2749 - - .align 2 -gUnknown_0852561C:: @ 852561C obj_pal 0x08c0ae94, 0x274a obj_pal 0x08c0af1c, 0x274b obj_pal 0x08c0af60, 0x274c @@ -738,9 +723,6 @@ gUnknown_0852561C:: @ 852561C obj_pal 0x08c14bf4, 0x2795 obj_pal 0x08c14bf4, 0x2796 obj_pal 0x08c1a478, 0x2797 - - .align 2 -gUnknown_0852588C:: @ 852588C obj_pal 0x08c1a564, 0x2798 obj_pal 0x08c1a478, 0x2799 obj_pal 0x08c1a478, 0x279a @@ -838,9 +820,6 @@ gUnknown_0852588C:: @ 852588C obj_pal 0x08c25890, 0x27f6 obj_pal 0x08c2836c, 0x27f7 obj_pal 0x08c2836c, 0x27f8 - - .align 2 -gUnknown_08525B94:: @ 8525B94 obj_pal 0x08c285e8, 0x27f9 obj_pal 0x08c287d0, 0x27fa obj_pal 0x08c288d0, 0x27fb @@ -877,9 +856,6 @@ gUnknown_08525B94:: @ 8525B94 obj_pal 0x08d93bdc, 0x281a obj_pal 0x08d93bf4, 0x281b obj_pal 0x08d93c0c, 0x281c - - .align 2 -gUnknown_08525CB4:: @ 8525CB4 obj_pal 0x08d8ef80, 0x281d obj_pal 0x08dba35c, 0x281e obj_pal 0x08dba4a0, 0x281f @@ -930,105 +906,3 @@ gBattleAnimBackgroundTable:: @ 8525D54 .4byte 0x08c25bec, 0x08d91074, 0x08c26958 .4byte 0x08c25bec, 0x08d91074, 0x08c26e54 .4byte 0x08c25bec, 0x08d91074, 0x08c27324 - - .align 2 -sScriptCmdTable:: @ 8525E98 - .4byte ScriptCmd_loadspritegfx - .4byte ScriptCmd_unloadspritegfx - .4byte ScriptCmd_createsprite - .4byte ScriptCmd_createvisualtask - .4byte ScriptCmd_delay - .4byte ScriptCmd_waitforvisualfinish - .4byte ScriptCmd_hang1 - .4byte ScriptCmd_hang2 - .4byte ScriptCmd_end - .4byte ScriptCmd_playse - .4byte ScriptCmd_monbg - .4byte ScriptCmd_clearmonbg - .4byte ScriptCmd_setalpha - .4byte ScriptCmd_blendoff - .4byte ScriptCmd_call - .4byte ScriptCmd_return - .4byte ScriptCmd_setarg - .4byte ScriptCmd_choosetwoturnanim - .4byte ScriptCmd_jumpifmoveturn - .4byte ScriptCmd_jump - .4byte ScriptCmd_fadetobg - .4byte ScriptCmd_restorebg - .4byte ScriptCmd_waitbgfadeout - .4byte ScriptCmd_waitbgfadein - .4byte ScriptCmd_changebg - .4byte ScriptCmd_playsewithpan - .4byte ScriptCmd_setpan - .4byte ma1B_8073C2C - .4byte ma1C_8073ED0 - .4byte ma1D_08073FB4 - .4byte ScriptCmd_setbldcnt - .4byte sub_80A57F8 - .4byte ma20_wait_for_something - .4byte ma21_08074164 - .4byte ScriptCmd_monbg_22 - .4byte ScriptCmd_clearmonbg_23 - .4byte sub_80A5944 - .4byte ScriptCmd_fadetobgfromset - .4byte sub_80A5508 - .4byte sub_80A559C - .4byte sub_80A5984 - .4byte sub_80A59DC - .4byte sub_80A5A0C - .4byte ma2B_make_side_invisible - .4byte ma2C_make_side_visible - .4byte sub_80A5AFC - .4byte sub_80A5BAC - .4byte ma2F_stop_music - - .align 2 -gUnknown_08525F58:: @ 8525F58 - .byte 0x48, 0x50, 0x00, 0x00, 0xb0, 0x28, 0x00, 0x00 - .byte 0x30, 0x28, 0x00, 0x00, 0x70, 0x50, 0x00, 0x00 - .byte 0x20, 0x50, 0x00, 0x00, 0xc8, 0x28, 0x00, 0x00 - .byte 0x5a, 0x58, 0x00, 0x00, 0x98, 0x20, 0x00, 0x00 - - .align 2 -gCastformFrontSpriteCoords:: @ 8525F78 - .byte 0x44, 0x11, 0x00, 0x00, 0x66, 0x09, 0x00, 0x00 - .byte 0x46, 0x09, 0x00, 0x00, 0x86, 0x08, 0x00, 0x00 - - .align 2 -gUnknown_08525F88:: @ 8525F88 - .byte 0x0d, 0x0e, 0x0d, 0x0d - - .align 2 -gUnknown_08525F8C:: @ 8525F8C - .byte 0x00, 0x00, 0x00, 0x00 - - .align 2 -gUnknown_08525F90:: @ 8525F90 - spr_template 0xd755, 0xd755, gUnknown_0852497C, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy - spr_template 0xd756, 0xd756, gUnknown_0852497C, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy - - .align 2 -gUnknown_08525FC0:: @ 8525FC0 - obj_tiles gMiscBlank_Gfx, 0x0800, 0xd755 - obj_tiles gMiscBlank_Gfx, 0x0800, 0xd756 - - .align 2 -@ the mother of all baserom includes - .incbin "baserom.gba", 0x525fd0, 0x18f60 - - .align 2 -gUnknown_0853EF30:: @ 853EF30 - .byte 0xf0, 0xf0, 0x0c, 0x80, 0xf0, 0x30, 0x0d, 0x84, 0x30, 0xf0, 0x0e, 0x86, 0x30, 0x30, 0x08, 0x88 - - .align 2 -gUnknown_0853EF40:: @ 853EF40 - .4byte 0x00000004, gUnknown_0853EF30 - - .align 2 -gUnknown_0853EF48:: @ 853EF48 - spr_template 0x271a, 0x271a, gUnknown_08524A3C, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy - - .align 2 -gUnknown_0853EF60:: @ 853EF60 - spr_template 0x2798, 0x2798, gUnknown_08524904, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, sub_80A9E44 - diff --git a/data/rom_8525F58.s b/data/rom_8525F58.s new file mode 100644 index 000000000..1cee7112a --- /dev/null +++ b/data/rom_8525F58.s @@ -0,0 +1,57 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + + .align 2 + + +gUnknown_08525F58:: @ 8525F58 + .byte 0x48, 0x50, 0x00, 0x00, 0xb0, 0x28, 0x00, 0x00 + .byte 0x30, 0x28, 0x00, 0x00, 0x70, 0x50, 0x00, 0x00 + .byte 0x20, 0x50, 0x00, 0x00, 0xc8, 0x28, 0x00, 0x00 + .byte 0x5a, 0x58, 0x00, 0x00, 0x98, 0x20, 0x00, 0x00 + + .align 2 +gCastformFrontSpriteCoords:: @ 8525F78 + .byte 0x44, 0x11, 0x00, 0x00, 0x66, 0x09, 0x00, 0x00 + .byte 0x46, 0x09, 0x00, 0x00, 0x86, 0x08, 0x00, 0x00 + + .align 2 +gUnknown_08525F88:: @ 8525F88 + .byte 0x0d, 0x0e, 0x0d, 0x0d + + .align 2 +gUnknown_08525F8C:: @ 8525F8C + .byte 0x00, 0x00, 0x00, 0x00 + + .align 2 +gUnknown_08525F90:: @ 8525F90 + spr_template 0xd755, 0xd755, gUnknown_0852497C, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy + spr_template 0xd756, 0xd756, gUnknown_0852497C, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy + + .align 2 +gUnknown_08525FC0:: @ 8525FC0 + obj_tiles gMiscBlank_Gfx, 0x0800, 0xd755 + obj_tiles gMiscBlank_Gfx, 0x0800, 0xd756 + + .align 2 +@ the mother of all baserom includes + .incbin "baserom.gba", 0x525fd0, 0x18f60 + + .align 2 +gUnknown_0853EF30:: @ 853EF30 + .byte 0xf0, 0xf0, 0x0c, 0x80, 0xf0, 0x30, 0x0d, 0x84, 0x30, 0xf0, 0x0e, 0x86, 0x30, 0x30, 0x08, 0x88 + + .align 2 +gUnknown_0853EF40:: @ 853EF40 + .4byte 0x00000004, gUnknown_0853EF30 + + .align 2 +gUnknown_0853EF48:: @ 853EF48 + spr_template 0x271a, 0x271a, gUnknown_08524A3C, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy + + .align 2 +gUnknown_0853EF60:: @ 853EF60 + spr_template 0x2798, 0x2798, gUnknown_08524904, gDummySpriteAnimTable, NULL, gDummySpriteAffineAnimTable, sub_80A9E44 + -- cgit v1.2.3