Skip to content

Commit 255f68e

Browse files
committed
Merge branch 'dev' into release
2 parents 5d7278b + 72706ae commit 255f68e

File tree

6 files changed

+20
-4
lines changed

6 files changed

+20
-4
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,15 @@ Link to [Patch File is Here](https://drive.google.com/drive/folders/1GFChFDEmOJH
88
To build it, use [LunarIPS](https://fusoya.eludevisibility.org/lips/) and your legally obtained copy of Pokémon Emerald (those devs who made the game 20 years ago gotta eat too).
99

1010
![Example](https://i.imgur.com/KSMvc0h.png)
11+
## v2.3.1
12+
- Fly Will Only Be Displayed by Pokémon Who Cannot Learn iit If Flying Is Currently Allowed.
13+
- Bugfix where Dad giving SS Ticket causes him to not move.
14+
1115
## v2.3.0
1216
- Now Able to Access PC from PokéNav in caves, houses, and gyms after receiving Balance Badge.
1317
- [Pokémon withdrawn from the PokéNav will not be healed from when they were put into the PC.](https://github.com/pret/pokeemerald/wiki/Make-Pokemon-Not-Heal-When-Going-into-PC)
1418
- Move Status is now displayed in summary screen, TM bag pocket, and TM Case.
19+
- [Added TM Case that Displays Which Pokémon Can Learn the Move.](https://www.pokecommunity.com/showpost.php?p=10378278)
1520
- [Added Ability to Display Mugshots](https://www.pokecommunity.com/showpost.php?p=10593661&postcount=444) [Credit: Anon822]
1621
- Prof. Birch's lab now has a book that shows the Type Chart and one that shows the Nature Chart.
1722
- Nature Chart is shown when choosing mints from Jaime.

data/maps/LittlerootTown_BrendansHouse_1F/scripts.inc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,11 @@ PlayersHouse_1F_Text_PortsInSlateportLilycove:
408408
PlayersHouse_1F_Text_BetterGetBackToGym:
409409
.string "I'd better get back to PETALBURG GYM.\p"
410410
.string "MOM, thanks for looking after the house\n"
411-
.string "while I'm away.\p"
412-
.string "Also, {PLAYER}, I left a\n"
413-
.string "few gifts in your PC.$"
411+
.string "while I'm away.$"
412+
413+
PlayersHouse_1F_Text_AddedItemsToPC:
414+
.string "Oh {PLAYER}, before I forget:\n"
415+
.string "I left a few gifts in your PC.$"
414416
415417
PlayersHouse_1F_Text_DadShouldStayLonger:
416418
.string "MOM: That DAD of yours…\p"

data/scripts/obtain_item.inc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ EventScript_ObtainedItemMessage:
9090
message gText_ObtainedTheItem
9191
EventScript_ContinueObtainedItem:
9292
delay 10
93+
copyvar VAR_TEMP_B, VAR_0x8009
9394
showitemdesc
95+
copyvar VAR_0x8009, VAR_TEMP_B
9496
waitfanfare
9597
call EventScript_PutItemMsg
9698
setvar VAR_RESULT, TRUE
@@ -176,7 +178,9 @@ EventScript_PickUpItemContinueAdd::
176178
call_if_eq VAR_0x8008, TRUE, EventScript_FoundTMHM
177179
call_if_eq VAR_0x8008, FALSE, EventScript_FoundItem
178180
delay 10
181+
copyvar VAR_TEMP_B, VAR_0x8009
179182
showitemdesc
183+
copyvar VAR_0x8009, VAR_TEMP_B
180184
waitfanfare
181185
waitmessage
182186
bufferitemnameplural STR_VAR_2, VAR_0x8004, VAR_0x8005
@@ -249,7 +253,9 @@ EventScript_FoundHiddenItem::
249253

250254
EventScript_PutHiddenItemInPocket::
251255
delay 10
256+
copyvar VAR_TEMP_B, VAR_0x8009
252257
showitemdesc
258+
copyvar VAR_0x8009, VAR_TEMP_B
253259
waitmessage
254260
waitfanfare
255261
bufferitemnameplural STR_VAR_2, VAR_0x8004, 1

data/scripts/players_house.inc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,9 @@ PlayersHouse_1F_EventScript_GetSSTicketAndSeeLatiTV::
445445
call_if_eq VAR_0x8008, MALE, PlayersHouse_1F_EventScript_MomApproachDadMale
446446
call_if_eq VAR_0x8008, FEMALE, PlayersHouse_1F_EventScript_MomApproachDadFemale
447447
msgbox PlayersHouse_1F_Text_BetterGetBackToGym, MSGBOX_DEFAULT
448+
applymovement VAR_0x8009, Common_Movement_FacePlayer
449+
waitmovement 0
450+
msgbox PlayersHouse_1F_Text_AddedItemsToPC, MSGBOX_DEFAULT
448451
closemessage
449452
call_if_eq VAR_0x8008, MALE, PlayersHouse_1F_EventScript_DadExitsMale
450453
call_if_eq VAR_0x8008, FEMALE, PlayersHouse_1F_EventScript_DadExitsFemale

graphics/intro/copyright.png

4 Bytes
Loading

src/party_menu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2664,7 +2664,7 @@ static u8 SlotToShowFly(void)
26642664
// Returns the slot to display fly in if no one in the party can learn fly. Returns the party size otherwise
26652665
{
26662666
u8 i;
2667-
if (CanLearnFlyInParty())
2667+
if (CanLearnFlyInParty() || !Overworld_MapTypeAllowsTeleportAndFly(gMapHeader.mapType))
26682668
return PARTY_SIZE;
26692669
for (i = 0; i < PARTY_SIZE; i++)
26702670
{

0 commit comments

Comments
 (0)