Add revision 10 changes (#722)
* revision 10 changes * add rev10 to github actions * add no-intro entry for leafgreen rev10
This commit is contained in:
@@ -819,10 +819,16 @@ static void SetLinkBattleEndCallbacks(void)
|
||||
|
||||
void SetBattleEndCallbacks(void)
|
||||
{
|
||||
#if REVISION >= 0xA
|
||||
#else
|
||||
if (!gPaletteFade.active)
|
||||
#endif
|
||||
{
|
||||
if (gBattleTypeFlags & BATTLE_TYPE_LINK)
|
||||
{
|
||||
#if REVISION >= 0xA
|
||||
if (!IsLinkTaskFinished() || gPaletteFade.active) return;
|
||||
#endif
|
||||
if (gWirelessCommType == 0)
|
||||
SetCloseLinkCallback();
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user