From bce63b3694d285765d0ce355560a062212cca84e Mon Sep 17 00:00:00 2001 From: golem galvanize Date: Sat, 20 Jan 2018 22:41:02 -0500 Subject: [PATCH] REMOVE BASEROM --- data/map_name_popup.s | 39 ++- data/mystery_event_msg.s | 273 +++++++++++++++++- data/new_menu_helpers.s | 40 ++- data/option_menu.s | 20 +- data/overworld.s | 41 ++- data/record_mixing.s | 27 +- data/script_menu.s | 29 +- data/scripts/cable_club.inc | 16 +- data/specials.inc | 1 + data/unk_transition.s | 9 +- data/use_pokeblock.s | 61 +++- .../frontier_transition.bin | Bin 0 -> 428 bytes .../frontier_transition.png | Bin 0 -> 448 bytes .../frontier_transition_circles.png | Bin 0 -> 733 bytes graphics/interface/855C604.pal | 19 ++ graphics/interface/855C624.bin | 1 + graphics/interface/85DFA60.bin | Bin 0 -> 32 bytes graphics/interface/85DFA80.png | Bin 0 -> 212 bytes graphics/interface/85DFB60.bin | Bin 0 -> 172 bytes graphics/interface/85DFC0C.bin | Bin 0 -> 164 bytes graphics/interface/860F074.pal | 19 ++ graphics/interface/860F0B0.pal | 19 ++ graphics_file_rules.mk | 5 +- 23 files changed, 553 insertions(+), 66 deletions(-) create mode 100644 graphics/battle_transitions/frontier_transition.bin create mode 100755 graphics/battle_transitions/frontier_transition.png create mode 100755 graphics/battle_transitions/frontier_transition_circles.png create mode 100755 graphics/interface/855C604.pal create mode 100644 graphics/interface/855C624.bin create mode 100644 graphics/interface/85DFA60.bin create mode 100755 graphics/interface/85DFA80.png create mode 100644 graphics/interface/85DFB60.bin create mode 100644 graphics/interface/85DFC0C.bin create mode 100755 graphics/interface/860F074.pal create mode 100755 graphics/interface/860F0B0.pal diff --git a/data/map_name_popup.s b/data/map_name_popup.s index c9859ed8f..7dc1da808 100644 --- a/data/map_name_popup.s +++ b/data/map_name_popup.s @@ -29,14 +29,41 @@ gMapPopUp_Palette_Table:: @ 857F384 .incbin "graphics/interface/map_popup/stone2.gbapal" gUnknown_0857F444:: @ 857F444 -<<<<<<< HEAD .incbin "graphics/interface/map_popup/857F444.gbapal" -======= - .incbin "baserom.gba", 0x57f444, 0x20 gUnknown_0857F464:: @ 857F464 - .incbin "baserom.gba", 0x57f464, 0xe0 + .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x01, 0x01, 0x03, 0x01, 0x03, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x04, 0x04, 0x04, 0x04, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 0x02, 0x00, 0x01, 0x00, 0x02, 0x00, 0x01, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x05, 0x02, 0x00, 0x02, 0x00, 0x02, 0x02, 0x00, 0x00, 0x02, 0x05, 0x02, 0x02, 0x02, 0x02, 0x00, 0x02, 0x02, 0x01, 0x02, 0x02, 0x02, 0x00, 0x00, 0x02, 0x02, 0x05, 0x02, 0x05, 0x05, 0x05, 0x02, 0x02, 0x02, 0x01 + +gUnknown_0857F4CC:: @ 857F4CC + .string "PYRAMID FLOOR 1$" + +gUnknown_0857F4DC:: @ 857F4DC + .string "PYRAMID FLOOR 2$" + +gUnknown_0857F4EC:: @ 857F4EC + .string "PYRAMID FLOOR 3$" + +gUnknown_0857F4FC:: @ 857F4FC + .string "PYRAMID FLOOR 4$" + +gUnknown_0857F50C:: @ 857F50C + .string "PYRAMID FLOOR 5$" + +gUnknown_0857F51C:: @ 857F51C + .string "PYRAMID FLOOR 6$" + +gUnknown_0857F52C:: @ 857F52C + .string "PYRAMID FLOOR 7$" + +gUnknown_0857F53C:: @ 857F53C + .string "PYRAMID$" gUnknown_0857F544:: @ 857F544 - .incbin "baserom.gba", 0x57f544, 0x20 ->>>>>>> aca539d5dd97b55d149ca59c0561a721544d3298 + .4byte gUnknown_0857F4CC + .4byte gUnknown_0857F4DC + .4byte gUnknown_0857F4EC + .4byte gUnknown_0857F4FC + .4byte gUnknown_0857F50C + .4byte gUnknown_0857F51C + .4byte gUnknown_0857F52C + .4byte gUnknown_0857F53C diff --git a/data/mystery_event_msg.s b/data/mystery_event_msg.s index 5d4d038ef..c89f96506 100644 --- a/data/mystery_event_msg.s +++ b/data/mystery_event_msg.s @@ -8,8 +8,6 @@ .include "asm/macros/event.inc" .include "constants/constants.inc" - .include "data/specials.inc" - .section .rodata @@ -65,56 +63,313 @@ gText_MysteryGiftStampCard:: .string "Thank you for using the STAMP CARD\nSystem.\pYou have {STR_VAR_1} more to collect to\nfill your STAMP CARD.$" gUnknown_08674D3D:: @ 8674D3D - .incbin "baserom.gba", 0x00674d3d, 0xa1 + setvaddress gUnknown_08674D3D + checkflag 0x1E4 + vgoto_if 0, EventScript_674D4C + gotoram + +EventScript_674D4C:: @ 8674D4C + specialvar 0x40DD, CalculatePlayerPartyCount + compare_var_to_value 0x40DD, 6 + vgoto_if 1, EventScript_674D73 + setflag 0x1E4 + vcall EventScript_674D7E + lock + faceplayer + vmessage gText_MysteryGiftEgg + waitmessage + waitbuttonpress + playfanfare 370 + waitfanfare + release + end + +EventScript_674D73:: @ 8674D73 + lock + faceplayer + vmessage gText_MysteryGiftEgg_2 + waitmessage + waitbuttonpress + release + end + +EventScript_674D7E:: @ 8674D7E + giveegg SPECIES_PICHU + setmonobedient 0x40DD + setmonmetlocation 0x40DD, 255 + compare_var_to_value 0x40DD, 1 + vgoto_if 1, EventScript_674DC0 + compare_var_to_value 0x40DD, 2 + vgoto_if 1, EventScript_674DC6 + compare_var_to_value 0x40DD, 3 + vgoto_if 1, EventScript_674DCC + compare_var_to_value 0x40DD, 4 + vgoto_if 1, EventScript_674DD2 + compare_var_to_value 0x40DD, 5 + vgoto_if 1, EventScript_674DD8 + return + +EventScript_674DC0:: @ 8674DC0 + setmonmove 1, 2, 57 + return + +EventScript_674DC6:: @ 8674DC6 + setmonmove 2, 2, 57 + return + +EventScript_674DCC:: @ 8674DCC + setmonmove 3, 2, 57 + return + +EventScript_674DD2:: @ 8674DD2 + setmonmove 4, 2, 57 + return + +EventScript_674DD8:: @ 8674DD8 + setmonmove 5, 2, 57 + return gText_MysteryGiftEgg:: .string "Thank you for using the MYSTERY\nGIFT System.\pFrom the POKéMON CENTER we\nhave a gift--a POKéMON EGG!\pPlease raise it with love and\nkindness.$" + +gText_MysteryGiftEgg_2:: .string "Oh, your party appears to be full.\pPlease come see me after storing\na POKéMON on a PC.$" gUnknown_08674EC1:: @ 8674EC1 - .incbin "baserom.gba", 0x00674ec1, 0x29 + setvaddress gUnknown_08674EC1 + special sub_81652B4 + compare_var_to_value 0x800D, 0 + vgoto_if 1, EventScript_674EDF + lock + faceplayer + vmessage gText_MysteryGiftVisitingTrainer + waitmessage + waitbuttonpress + release + end + +EventScript_674EDF:: @ 8674EDF + lock + faceplayer + vmessage gText_MysteryGiftVisitingTrainer_2 + waitmessage + waitbuttonpress + release + end gText_MysteryGiftVisitingTrainer:: .string "Thank you for using the MYSTERY\nGIFT System.\pBy holding this WONDER CARD, you\nmay take part in a survey at a\lPOKéMON MART.\pUse these surveys to invite\nTRAINERS to SOOTOPOLIS CITY.\p…Let me give you a secret\npassword for a survey:\p“GIVE ME\nAWESOME TRAINER”\pWrite that in on a survey and send\nit to the WIRELESS\lCOMMUNICATION SYSTEM.$" + +gText_MysteryGiftVisitingTrainer_2:: .string "Thank you for using the MYSTERY\nGIFT System.\pA TRAINER has arrived in\nSOOTOPOLIS CITY looking for you.\pWe hope you will enjoy\nbattling the visiting TRAINER.\pYou may invite other TRAINERS by\nentering other passwords.\pTry looking for other passwords\nthat may work.$" gUnknown_0867513C:: @ 867513C - .incbin "baserom.gba", 0x0067513c, 0x48 + setvaddress gUnknown_0867513C + checkflag 0x1E4 + vgoto_if 1, EventScript_675179 + setorcopyvar 0x800D, 2 + specialvar 0x8008, sub_813986C + compare_var_to_value 0x8008, 3 + vgoto_if 0, EventScript_675179 + lock + faceplayer + vmessage gText_MysteryGiftBattleCountCard_2 + waitmessage + waitbuttonpress + giveitem_std 13 + release + setflag 0x1E4 + end + +EventScript_675179:: @ 8675179 + lock + faceplayer + vmessage gText_MysteryGiftBattleCountCard + waitmessage + waitbuttonpress + release + end gText_MysteryGiftBattleCountCard:: .string "Thank you for using the MYSTERY\nGIFT System.\pYour BATTLE COUNT CARD keeps\ntrack of your battle record against\lTRAINERS with the same CARD.\pLook for and battle TRAINERS who\nhave the same CARD as you.\pYou may check the overall rankings\nby reading the NEWS.\pPlease do give it a try!$" + +gText_MysteryGiftBattleCountCard_2:: .string "Thank you for using the MYSTERY\nGIFT System.\pCongratulations!\pYou have won a prize for winning\nthree battles!\pWe hope you will be inspired to\nbattle some more.$" gUnknown_0867533C:: @ 867533C - .incbin "baserom.gba", 0x0067533c, 0x6d + setvaddress gUnknown_0867533C + lock + faceplayer + checkflag 0x13A + vgoto_if 1, EventScript_6753A0 + checkflag 0x1AD + vgoto_if 1, EventScript_6753A0 + checkitem 371, 1 + compare_var_to_value 0x800D, 1 + vgoto_if 1, EventScript_6753A0 + vmessage gText_MysteryGiftTicket1 + waitmessage + waitbuttonpress + checkitemspace 371, 1 + compare_var_to_value 0x800D, 0 + vgoto_if 1, EventScript_675397 + giveitem_std 371 + setflag 0x8D5 + setflag 0x13A + vmessage gText_MysteryGiftTicket1_1 + waitmessage + waitbuttonpress + release + end + +EventScript_675397:: @ 8675397 + vmessage gText_MysteryGiftTicket1_3 + waitmessage + waitbuttonpress + release + end + +EventScript_6753A0:: @ 86753A0 + vmessage gText_MysteryGiftTicket1_2 + waitmessage + waitbuttonpress + release + end gText_MysteryGiftTicket1:: .string "Thank you for using the MYSTERY\nGIFT System.\pYou must be {PLAYER}.\nThere is a ticket here for you.$" + +gText_MysteryGiftTicket1_1:: .string "It appears to be for use at the\nLILYCOVE CITY port.\pWhy not give it a try and see what\nit is about?$" + +gText_MysteryGiftTicket1_2:: .string "Thank you for using the MYSTERY\nGIFT System.$" + +gText_MysteryGiftTicket1_3:: .string "Oh, I’m sorry, {PLAYER}.\nYour BAG’s KEY ITEMS POCKET is full.\pPlease store something on your PC,\nthen come back for this.$" gUnknown_0867550B:: @ 867550B - .incbin "baserom.gba", 0x0067550b, 0x76 + setvaddress gUnknown_0867550B + lock + faceplayer + checkflag 0x13B + vgoto_if 1, EventScript_675578 + checkflag 0x91 + vgoto_if 1, EventScript_675578 + checkflag 0x92 + vgoto_if 1, EventScript_675578 + checkitem 370, 1 + compare_var_to_value 0x800D, 1 + vgoto_if 1, EventScript_675578 + vmessage gText_MysteryGiftTicket2 + waitmessage + waitbuttonpress + checkitemspace 370, 1 + compare_var_to_value 0x800D, 0 + vgoto_if 1, EventScript_67556F + giveitem_std 370 + setflag 0x8E0 + setflag 0x13B + vmessage gText_MysteryGiftTicket2_1 + waitmessage + waitbuttonpress + release + end + +EventScript_67556F:: @ 867556F + vmessage gText_MysteryGiftTicket2_3 + waitmessage + waitbuttonpress + release + end + +EventScript_675578:: @ 8675578 + vmessage gText_MysteryGiftTicket2_2 + waitmessage + waitbuttonpress + release + end gText_MysteryGiftTicket2:: .string "Thank you for using the MYSTERY\nGIFT System.\pYou must be {PLAYER}.\nThere is a ticket here for you.$" + +gText_MysteryGiftTicket2_1:: .string "It appears to be for use at the\nLILYCOVE CITY port.\pWhy not give it a try and see what\nit is about?$" + +gText_MysteryGiftTicket2_2:: .string "Thank you for using the MYSTERY\nGIFT System.$" + +gText_MysteryGiftTicket2_3:: .string "Oh, I’m sorry, {PLAYER}.\nYour BAG’s KEY ITEMS POCKET is full.\pPlease store something on your PC,\nthen come back for this.$" gUnknown_086756E3:: @ 86756E3 - .incbin "baserom.gba", 0x006756e3, 0x25 + setvaddress gUnknown_086756E3 + addvar 0x403E, 1 + compare_var_to_value 0x403E, 10 + vgoto_if 0, EventScript_6756FD + setvar 0x403E, 0 + +EventScript_6756FD:: @ 86756FD + lock + faceplayer + vmessage gText_MysteryGiftAlteringCave + waitmessage + waitbuttonpress + release + end gText_MysteryGiftAlteringCave:: .string "Thank you for using the MYSTERY\nGIFT System.\pThere appears to be a rumor about\nrare POKéMON sightings.\pThe sightings reportedly came from\nthe ALTERING CAVE on ROUTE 103.\pPerhaps it would be worthwhile for\nyou to investigate this rumor.$" gUnknown_086757F4:: @ 86757F4 - .incbin "baserom.gba", 0x006757f4, 0x6d + setvaddress gUnknown_086757F4 + lock + faceplayer + checkflag 0x13C + vgoto_if 1, EventScript_675858 + checkflag 0x1CA + vgoto_if 1, EventScript_675858 + checkitem 376, 1 + compare_var_to_value 0x800D, 1 + vgoto_if 1, EventScript_675858 + vmessage gText_MysteryGiftOldSeaMap + waitmessage + waitbuttonpress + checkitemspace 376, 1 + compare_var_to_value 0x800D, 0 + vgoto_if 1, EventScript_67584F + giveitem_std 376 + setflag 0x8D6 + setflag 0x13C + vmessage gText_MysteryGiftOldSeaMap_1 + waitmessage + waitbuttonpress + release + end + +EventScript_67584F:: @ 867584F + vmessage gText_MysteryGiftOldSeaMap_3 + waitmessage + waitbuttonpress + release + end + +EventScript_675858:: @ 8675858 + vmessage gText_MysteryGiftOldSeaMap_2 + waitmessage + waitbuttonpress + release + end gText_MysteryGiftOldSeaMap:: .string "Thank you for using the MYSTERY\nGIFT System.\pLet me confirm--you are {PLAYER}?\pWe received this OLD SEA MAP\naddressed to you.$" + +gText_MysteryGiftOldSeaMap_1:: .string "It appears to be for use at the\nLILYCOVE CITY port.\pWhy not give it a try and see what\nit is about?$" + +gText_MysteryGiftOldSeaMap_2:: .string "Thank you for using the MYSTERY\nGIFT System.$" + +gText_MysteryGiftOldSeaMap_3:: .string "Oh, I’m sorry, {PLAYER}.\nYour BAG’s KEY ITEMS POCKET is full.\pPlease store something on your PC,\nthen come back for this.$" .align 2 diff --git a/data/new_menu_helpers.s b/data/new_menu_helpers.s index 8d4e43b15..c11d73d7c 100644 --- a/data/new_menu_helpers.s +++ b/data/new_menu_helpers.s @@ -4,24 +4,50 @@ .section .rodata gUnknown_0860F074:: @ 860F074 - .incbin "baserom.gba", 0x60f074, 0x20 + .incbin "graphics/interface/860F074.gbapal" gUnknown_0860F094:: @ 860F094 - .incbin "baserom.gba", 0x60f094, 0x4 + .byte 8, 4, 1, 0 gUnknown_0860F098:: @ 860F098 - .incbin "baserom.gba", 0x60f098, 0x10 + window_template 0, 2, 15, 27, 4, 15, 0x194 + null_window_template gUnknown_0860F0A8:: @ 860F0A8 - .incbin "baserom.gba", 0x60f0a8, 0x8 + window_template 0, 21, 9, 5, 4, 15, 0x125 @ These are not referenced in src/new_menu_helpers.c; rather, they are in src/menu.c. Regardless, they were plopped here. gUnknown_0860F0B0:: @ 860F0B0 - .incbin "baserom.gba", 0x60f0b0, 0x20 + .incbin "graphics/interface/860F0B0.gbapal" gUnknown_0860F0D0:: @ 860F0D0 - .incbin "baserom.gba", 0x60f0d0, 0x4 + .byte 15, 1, 2, 0 gUnknown_0860F0D4:: @ 860F0D4 - .incbin "baserom.gba", 0x60f0d4, 0x68 + .2byte 0xC0C, 0 + .2byte 0xC20, 32 + .2byte 0xC20, 100 + .2byte 0xC20, 0x60 + .2byte 0xC20, 0x80 + .2byte 0xC20, 0x48 + .2byte 0xC20, 0x44 + .2byte 0xC20, 0x6C + .2byte 0xC20, 0x68 + .2byte 0xC20, 0x88 + .2byte 0xC20, 0xA4 + .2byte 0xC20, 0x24 + .2byte 0xC20, 0x28 + .2byte 0xC20, 0x2C + .2byte 0xC20, 0x40 + .2byte 0xC20, 0x84 + .2byte 0xC20, 0x4C + .2byte 0xC20, 0xA0 + .2byte 0xC20, 0x8C + .2byte 0xC2A, 0xA8 + .2byte 0xC2A, 0xC0 + .2byte 0xC2A, 0xC8 + .2byte 0xC2A, 0xE0 + .2byte 0xC2A, 0xE8 + .2byte 0x808, 0xAE + .2byte 0x808, 0xAF diff --git a/data/option_menu.s b/data/option_menu.s index 05db7fddf..0f8608f4b 100644 --- a/data/option_menu.s +++ b/data/option_menu.s @@ -5,16 +5,26 @@ .align 2, 0 gUnknown_0855C604:: @ 855C604 - .incbin "baserom.gba", 0x55c604, 0x60 + .incbin "graphics/interface/855C604.gbapal" + .incbin "graphics/interface/855C624.bin" gUnknown_0855C664:: @ 855C664 - .incbin "baserom.gba", 0x55c664, 0x1c + .4byte gUnknown_085EE590 + .4byte gUnknown_085EE59B + .4byte gUnknown_085EE5A8 + .4byte gUnknown_085EE5B5 + .4byte gUnknown_085EE5C8 + .4byte gUnknown_085EE5BB + .4byte gUnknown_085EE5C1 gUnknown_0855C680:: @ 855C680 - .incbin "baserom.gba", 0x55c680, 0x18 + window_template 1, 2, 1, 0x1A, 2, 1, 2 + window_template 0, 2, 5, 0x1A, 14, 1, 0x36 + null_window_template gUnknown_0855C698:: @ 855C698 - .incbin "baserom.gba", 0x55c698, 0x8 + .4byte 0x1E5 + .4byte 0x11F4 gUnknown_0855C6A0:: @ 855C6A0 - .incbin "baserom.gba", 0x55c6a0, 0x4 + .2byte 0x7E51, 0 diff --git a/data/overworld.s b/data/overworld.s index 890829cd9..186af6f44 100644 --- a/data/overworld.s +++ b/data/overworld.s @@ -4,22 +4,49 @@ .section .rodata .align 2, 0 gUnknown_08339D3C:: @ 8339D3C - .incbin "baserom.gba", 0x339d3c, 0x28 + .4byte 0xFFFFFF, 0xFFFFFFFF, 0x4B0, 0xE10, 0x4B0, 0x960, 0x32, 0x50, 0xFFFFFFD4, 0x2C gUnknown_08339D64:: @ 8339D64 - .incbin "baserom.gba", 0x339d64, 0x48 + .4byte 0, 0 + .4byte 0, 1 + .4byte 0, -1 + .4byte -1, 0 + .4byte 1, 0 + .4byte -1, 1 + .4byte 1, 1 + .4byte -1, -1 + .4byte 1, -1 gUnknown_08339DAC:: @ 8339DAC - .incbin "baserom.gba", 0x339dac, 0x10 + .4byte 0x1F8 + .4byte 0x11D1 + .4byte 0x21C2 + .4byte 0x31E3 gUnknown_08339DBC:: @ 8339DBC - .incbin "baserom.gba", 0x339dbc, 0xc + .4byte REG_WIN0H + .4byte 0xa2600001 + .byte 1, 0 + .align 2 gUnknown_08339DC8:: @ 8339DC8 - .incbin "baserom.gba", 0x339dc8, 0xc + .4byte sub_80879D8 + .4byte sub_80879F8 + .4byte sub_80879FC gUnknown_08339DD4:: @ 8339DD4 - .incbin "baserom.gba", 0x339dd4, 0x2c + .4byte sub_8087A1C + .4byte sub_8087A20 + .4byte sub_8087A20 + .4byte sub_8087A20 + .4byte sub_8087A20 + .4byte sub_8087A1C + .4byte sub_8087A1C + .4byte sub_8087A88 + .4byte sub_8087A88 + .4byte sub_8087A88 + .4byte sub_8087A88 gUnknown_08339E00:: @ 8339E00 - .incbin "baserom.gba", 0x339e00, 0x8 + .4byte sub_8087AA0 + .4byte sub_8087AA8 diff --git a/data/record_mixing.s b/data/record_mixing.s index 0ef0a776a..20a37145c 100644 --- a/data/record_mixing.s +++ b/data/record_mixing.s @@ -5,16 +5,33 @@ .align 2, 0 gUnknown_0858CF8C:: @ 858CF8C - .incbin "baserom.gba", 0x58cf8c, 0x2 + .byte 1, 0 gUnknown_0858CF8E:: @ 858CF8E - .incbin "baserom.gba", 0x58cf8e, 0x6 + .byte 1, 2, 0 + .byte 2, 0, 1 gUnknown_0858CF94:: @ 858CF94 - .incbin "baserom.gba", 0x58cf94, 0x24 + .byte 1, 0, 3 + .byte 2, 3, 0 + .byte 1, 2, 2 + .byte 0, 3, 1 + .byte 1, 3, 0 + .byte 2, 2, 3 + .byte 0, 1, 3 + .byte 2, 0, 1 + .byte 1, 2, 3 + .byte 0, 2, 3 + .byte 1, 0, 3 + .byte 2, 1, 0 gUnknown_0858CFB8:: @ 858CFB8 - .incbin "baserom.gba", 0x58cfb8, 0x6 + .byte 0, 1 + .byte 1, 2 + .byte 2, 0 gUnknown_0858CFBE:: @ 858CFBE - .incbin "baserom.gba", 0x58cfbe, 0xe + .byte 0, 1, 2, 3 + .byte 0, 2, 1, 3 + .byte 0, 3, 2, 1 + .byte 0, 0 diff --git a/data/script_menu.s b/data/script_menu.s index ff9fc3871..d74731f5f 100644 --- a/data/script_menu.s +++ b/data/script_menu.s @@ -745,19 +745,36 @@ gUnknown_0858BB80:: @ 858BB80 .4byte gText_Exit gUnknown_0858BB9C:: @ 858BB9C - .incbin "baserom.gba", 0x58bb9c, 0x10 + .4byte OldaleTown_PokemonCenter_2F_Text_277F1B + .4byte OldaleTown_PokemonCenter_2F_Text_277F5A + .4byte OldaleTown_PokemonCenter_2F_Text_277F96 + .4byte OldaleTown_PokemonCenter_2F_Text_27889C gUnknown_0858BBAC:: @ 858BBAC - .incbin "baserom.gba", 0x58bbac, 0x10 + .4byte OldaleTown_PokemonCenter_2F_Text_27879F + .4byte OldaleTown_PokemonCenter_2F_Text_2787D5 + .4byte OldaleTown_PokemonCenter_2F_Text_278831 + .4byte OldaleTown_PokemonCenter_2F_Text_27889C gUnknown_0858BBBC:: @ 858BBBC - .incbin "baserom.gba", 0x58bbbc, 0x10 + .4byte OldaleTown_PokemonCenter_2F_Text_27879F + .4byte OldaleTown_PokemonCenter_2F_Text_2787D5 + .4byte OldaleTown_PokemonCenter_2F_Text_2787FC + .4byte OldaleTown_PokemonCenter_2F_Text_27889C gUnknown_0858BBCC:: @ 858BBCC - .incbin "baserom.gba", 0x58bbcc, 0x14 + .4byte OldaleTown_PokemonCenter_2F_Text_27879F + .4byte OldaleTown_PokemonCenter_2F_Text_2787D5 + .4byte OldaleTown_PokemonCenter_2F_Text_278831 + .4byte OldaleTown_PokemonCenter_2F_Text_2787FC + .4byte OldaleTown_PokemonCenter_2F_Text_27889C gUnknown_0858BBE0:: @ 858BBE0 - .incbin "baserom.gba", 0x58bbe0, 0xc + .4byte OldaleTown_PokemonCenter_2F_Text_277F1B + .4byte OldaleTown_PokemonCenter_2F_Text_277F5A + .4byte OldaleTown_PokemonCenter_2F_Text_27889C gUnknown_0858BBEC:: @ 858BBEC - .incbin "baserom.gba", 0x58bbec, 0xc + .4byte OldaleTown_PokemonCenter_2F_Text_27879F + .4byte OldaleTown_PokemonCenter_2F_Text_2787D5 + .4byte OldaleTown_PokemonCenter_2F_Text_27889C diff --git a/data/scripts/cable_club.inc b/data/scripts/cable_club.inc index 5418e6e4e..bcd92d1c2 100644 --- a/data/scripts/cable_club.inc +++ b/data/scripts/cable_club.inc @@ -1648,15 +1648,15 @@ OldaleTown_PokemonCenter_2F_Text_277EF1: @ 8277EF1 .string "Which of our services do you wish\n" .string "to use?$" -OldaleTown_PokemonCenter_2F_Text_277F1B: @ 8277F1B +OldaleTown_PokemonCenter_2F_Text_277F1B:: @ 8277F1B .string "Trade POKéMON with another player\n" .string "using a GBA Game Link cable.$" -OldaleTown_PokemonCenter_2F_Text_277F5A: @ 8277F5A +OldaleTown_PokemonCenter_2F_Text_277F5A:: @ 8277F5A .string "You may battle another TRAINER\n" .string "using a GBA Game Link cable.$" -OldaleTown_PokemonCenter_2F_Text_277F96: @ 8277F96 +OldaleTown_PokemonCenter_2F_Text_277F96:: @ 8277F96 .string "You can use the RECORD CORNER with\n" .string "others using a GBA Game Link cable.$" @@ -1826,19 +1826,19 @@ OldaleTown_PokemonCenter_2F_Text_27878B: @ 827878B OldaleTown_PokemonCenter_2F_Text_278792: @ 8278792 .string "Please wait.$" -OldaleTown_PokemonCenter_2F_Text_27879F: @ 827879F +OldaleTown_PokemonCenter_2F_Text_27879F:: @ 827879F .string "You may trade your POKéMON here\n" .string "with another TRAINER.$" -OldaleTown_PokemonCenter_2F_Text_2787D5: @ 82787D5 +OldaleTown_PokemonCenter_2F_Text_2787D5:: @ 82787D5 .string "You may battle with your friends\n" .string "here.$" -OldaleTown_PokemonCenter_2F_Text_2787FC: @ 82787FC +OldaleTown_PokemonCenter_2F_Text_2787FC:: @ 82787FC .string "Two to five TRAINERS can make\n" .string "BERRY POWDER together.$" -OldaleTown_PokemonCenter_2F_Text_278831: @ 8278831 +OldaleTown_PokemonCenter_2F_Text_278831:: @ 8278831 .string "The records of two to four players\n" .string "can be mixed together.$" @@ -1846,7 +1846,7 @@ OldaleTown_PokemonCenter_2F_Text_27886B: @ 827886B .string "A guide to the WIRELESS CLUB’s\n" .string "various services.$" -OldaleTown_PokemonCenter_2F_Text_27889C: @ 827889C +OldaleTown_PokemonCenter_2F_Text_27889C:: @ 827889C .string "Cancels the selected MENU item.$" OldaleTown_PokemonCenter_2F_Text_2788BC: @ 82788BC diff --git a/data/specials.inc b/data/specials.inc index e1a53242d..0b42fed24 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -1,6 +1,7 @@ #ifndef GUARD_SPECIALS_H #define GUARD_SPECIALS_H .macro def_special ptr +.global SPECIAL_\ptr .set SPECIAL_\ptr, __special__ .set __special__, __special__ + 1 .4byte \ptr diff --git a/data/unk_transition.s b/data/unk_transition.s index 5d0dc07af..2dc54e22d 100644 --- a/data/unk_transition.s +++ b/data/unk_transition.s @@ -4,13 +4,14 @@ .section .rodata gUnknown_0862AD54:: @ 862AD54 - .incbin "baserom.gba", 0x62ad54, 0x1dc + .incbin "graphics/battle_transitions/frontier_transition.4bpp.lz" gUnknown_0862AF30:: @ 862AF30 - .incbin "baserom.gba", 0x62af30, 0x1AC + .incbin "graphics/battle_transitions/frontier_transition.bin" gUnknown_0862B0DC:: @ 862B0DC - .incbin "baserom.gba", 0x62b0dc, 0x460 + .incbin "graphics/battle_transitions/frontier_transition_circles.4bpp.lz" gUnknown_0862B53C:: @ 862B53C - .incbin "baserom.gba", 0x62b53c, 0x1E0 + .incbin "graphics/battle_transitions/frontier_transition.gbapal" + .space 0x1c0 diff --git a/data/use_pokeblock.s b/data/use_pokeblock.s index 0e99cf223..8497f59ad 100644 --- a/data/use_pokeblock.s +++ b/data/use_pokeblock.s @@ -4,19 +4,19 @@ .section .rodata gUnknown_085DFA60:: @ 85DFA60 - .incbin "baserom.gba", 0x5dfa60, 0x20 + .incbin "graphics/interface/85DFA60.bin" gUnknown_085DFA80:: @ 85DFA80 - .incbin "baserom.gba", 0x5dfa80, 0xe0 + .incbin "graphics/interface/85DFA80.4bpp" gUnknown_085DFB60:: @ 85DFB60 - .incbin "baserom.gba", 0x5dfb60, 0xac + .incbin "graphics/interface/85DFB60.bin" gUnknown_085DFC0C:: @ 85DFC0C - .incbin "baserom.gba", 0x5dfc0c, 0xa4 + .incbin "graphics/interface/85DFC0C.bin" gUnknown_085DFCB0:: @ 85DFCB0 - .incbin "baserom.gba", 0x5dfcb0, 0x14 + .4byte 22, 47, 33, 24, 23 gUnknown_085DFCC4:: @ 85DFCC4 .byte 0, 4, 3, 2, 1 @@ -53,13 +53,58 @@ gUnknown_085DFD20:: @ 85DFD20 obj_pal gUsePokeblockUpDown_Pal, 0 gUnknown_085DFD28:: @ 85DFD28 - .incbin "baserom.gba", 0x5dfd28, 0x34 + .2byte 0x9c, 0x24 + .2byte 0x75, 0x3b + .2byte 0x75, 0x76 + .2byte 0xc5, 0x76 + .2byte 0xc5, 0x3b + +gUnknown_085DFD3C:: @ 85DFD3C + .2byte 0x4000 + .2byte 0x8000 + .2byte 0x400 + .2byte 0 + +gUnknown_085DFD44:: @ 85DFD44 + obj_image_anim_frame 0, 5 + obj_image_anim_end + +gUnknown_085DFD4C:: @ 85DFD4C + obj_image_anim_frame 8, 5 + obj_image_anim_end + +gUnknown_085DFD54:: @ 85DFD54 + .4byte gUnknown_085DFD44 + .4byte gUnknown_085DFD4C gUnknown_085DFD5C:: @ 85DFD5C - .incbin "baserom.gba", 0x5dfd5c, 0x44 + spr_template 0, 0, gUnknown_085DFD3C, gUnknown_085DFD54, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy + +gUnknown_085DFD74:: @ 85DFD74 + .2byte 0x4000 + .2byte 0xC000 + .2byte 0x400 + .2byte 0 + +gUnknown_085DFD7C:: @ 85DFD7C + obj_image_anim_frame 0, 5 + obj_image_anim_end + +gUnknown_085DFD84:: @ 85DFD84 + obj_image_anim_frame 32, 5 + obj_image_anim_end + +gUnknown_085DFD8C:: @ 85DFD8C + obj_image_anim_frame 64, 5 + obj_image_anim_end + +gUnknown_085DFD94:: @ 85DFD94 + .4byte gUnknown_085DFD7C + .4byte gUnknown_085DFD84 + .4byte gUnknown_085DFD8C gUnknown_085DFDA0:: @ 85DFDA0 - .incbin "baserom.gba", 0x5dfda0, 0x18 + spr_template 1, 1, gUnknown_085DFD74, gUnknown_085DFD94, NULL, gDummySpriteAffineAnimTable, sub_8168374 gUnknown_085DFDB8:: @ 85DFDB8 .4byte gUsePokeblockCondition_Pal diff --git a/graphics/battle_transitions/frontier_transition.bin b/graphics/battle_transitions/frontier_transition.bin new file mode 100644 index 0000000000000000000000000000000000000000..7b9d2af284bc62e16d244945b05f653b5fad0a04 GIT binary patch literal 428 zcmbVJNp8YG5S%s!8w|u|UjhvK@`6Z_HTaNwo{%T-1mAMa6Y>-ek@Af^p$>H?Gnh!p zH7aQ|Rn_WlRmUn+sRG17i&Any_sY!eHLtl?k5;yl@=$`0GNeqOC3<)|!{kyyfDo#R z8fvUE2pO<~4CX~tggP2%;&`W|$p-5@MYfkYN{j@43vG0?=}_8iF=33%w$#!^4}HV~ z47C|@z@X0_-4fRGM;PN?$pqdMQ%)F1;|Goka|ZpX&6{Y>3L%+e@nsgA!+f~0ORV10 z6;Df~Zud1d$hP`%%MI5^?eMegu*U(xfqU*;6>Kgpqn}jl-wD5{6`l*~>aK7VfAA0C JcADIt<{L}+yr2L8 literal 0 HcmV?d00001 diff --git a/graphics/battle_transitions/frontier_transition.png b/graphics/battle_transitions/frontier_transition.png new file mode 100755 index 0000000000000000000000000000000000000000..05ea84f2c7920ace73a9b1f627f06bf3a081c978 GIT binary patch literal 448 zcmeAS@N?(olHy`uVBq!ia0vp^8bIv9!VDzKR93M7DT4r?5Z9!mQ~v+|zvb$G&F=rj z)y;4=knxRS%2C59Q<8viis8{I4Bw^zH3=%HJz!v9^!9Xd46*3#y^_m!Sb>8r;a`P| zm3}~VQ?Ibe!yCa4E^jA&J$}jNp{TtT<2Ln&c^%SfcLI6l=Qu80{3cAVOI9_egX5S) zp5R@kZHJo0a>_bu8N4<3UU;wIiKfTs{N$7?WIN4_L8H&HZS2^HF5d<6&}em!@oDUZ_j*tE92Pe+fBM>%5N-n z=B{+z$eL}Topk?v_m#97?;Um;r$e?J;yfQGagqC{*_74|%2wZ;o;Cbw2&>p$96#~t znYgxl&p0Ff!VACbo4?`g=2~mxBI#WBMS|?rlG2Mb^v#xvKCKrq%;&Hdkj(olofR%E zlCst~?SA);ueBC_iHmcDthT?&sI+|gX2zP67JC{_ZaqI;QR7EdVvYK@X|`suRTc|h n*GMl@-%|L0SK{%~pTB=H>Hb^l%AlD7iYo?BS3j3^P6oy|KzrsFN8SV2m2DApm!zKHmaBN*a*!G_vG* z{v*Ij^S1!~sTsi9ED7++RtC@yT`aMg2 zp&xYFOZ}h@j@A$2=so)3(GQP)kmc~`2TJ54^+OUoCiFv6Ovv>^(p<{*L(*)_^g}ZE z-1x`J1J(a|3F!#{Ss7gk?;p&*whDlH{2jpR&YuEsR{(kcAk!3kaRX3&Lk}{ literal 0 HcmV?d00001 diff --git a/graphics/interface/855C604.pal b/graphics/interface/855C604.pal new file mode 100755 index 000000000..e7d6c330a --- /dev/null +++ b/graphics/interface/855C604.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +0 0 0 +255 255 255 +255 180 82 +197 123 0 +255 139 131 +255 49 24 +74 74 74 +213 213 205 +0 0 0 +0 0 0 +0 0 0 +0 0 0 +0 0 0 +0 0 0 +0 0 0 +0 0 0 diff --git a/graphics/interface/855C624.bin b/graphics/interface/855C624.bin new file mode 100644 index 000000000..6f48b39f6 --- /dev/null +++ b/graphics/interface/855C624.bin @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/graphics/interface/85DFA60.bin b/graphics/interface/85DFA60.bin new file mode 100644 index 0000000000000000000000000000000000000000..b1a4230d4d1af3cce2f1fffff40e784e08feb58c GIT binary patch literal 32 ccmZQzD5&eP{Qtkay1aUKy@1#CBnA`!0KaVrV*mgE literal 0 HcmV?d00001 diff --git a/graphics/interface/85DFA80.png b/graphics/interface/85DFA80.png new file mode 100755 index 0000000000000000000000000000000000000000..c1fde032563a042c380dcf9e1b1054938fe5c8b3 GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^7C_9w!VDziE-5wuDT4r?5LY1GJm-H>Qt|))|M%Ye z21NJX{cmobvUkf-pcE#Mcd)+<6piecR+!|)w1hnxA;e{W%CwnE-Xyf zJg%3qwmt_qyX=5&6(wx)=svtG05-E%z^{i6>QxDR_5^M4DCvX|O( pC%