Fix special vars in frlg ingame trade (#9328)

This commit is contained in:
FosterProgramming 2026-02-25 18:51:15 +01:00 committed by GitHub
parent 9d2023e34b
commit 6ac7540d3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1525,9 +1525,8 @@ gText_WantWhichFloor::
.include "data/text/abnormal_weather.inc"
EventScript_GetInGameTradeSpeciesInfo::
copyvar VAR_0x8004, VAR_0x8008
specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
copyvar VAR_0x8009, VAR_RESULT
copyvar VAR_0x8005, VAR_0x8008
specialvar VAR_0x8009, GetInGameTradeSpeciesInfo
return
EventScript_ChooseMonForInGameTrade::
@ -1535,18 +1534,13 @@ EventScript_ChooseMonForInGameTrade::
waitstate
lock
faceplayer
copyvar VAR_0x800A, VAR_0x8004
return
EventScript_GetInGameTradeSpecies::
copyvar VAR_0x8005, VAR_0x800A
specialvar VAR_RESULT, GetTradeSpecies
copyvar VAR_0x800B, VAR_RESULT
return
EventScript_DoInGameTrade::
copyvar VAR_0x8004, VAR_0x8008
copyvar VAR_0x8005, VAR_0x800A
special CreateInGameTradePokemon
special DoInGameTradeScene
waitstate