forked from MokhaLeee/fe8u-cskillsys-kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
Wizardry/Essentials/BattleForcastFix/BattleForcastFix.event
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef BATTLE_FORCAST_FIX_INSTALLED | ||
#define BATTLE_FORCAST_FIX_INSTALLED | ||
|
||
/** | ||
* https://feuniverse.us/t/contros-code-collection/13514/15 | ||
*/ | ||
|
||
#include "Source/LynJump.event" | ||
#include "Source/BattleForcastFix.lyn.event" | ||
|
||
#endif // BATTLE_FORCAST_FIX_INSTALLED |
15 changes: 15 additions & 0 deletions
15
Wizardry/Essentials/BattleForcastFix/Source/BattleForcastFix.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#include <common-chax.h> | ||
|
||
/** | ||
* Called in target-selection on cancel, | ||
* Quite a dangrous bug on vanilla. | ||
*/ | ||
LYN_REPLACE_CHECK(sub_8022E38); | ||
void sub_8022E38(void) | ||
{ | ||
#if CHAX | ||
ResetText(); | ||
#endif | ||
|
||
EnsureCameraOntoPosition(NULL, gActiveUnit->xPos, gActiveUnit->yPos); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
PUSH | ||
ORG $22e38 | ||
ALIGN 4 | ||
WORD $46C04778 $E59FC000 $E12FFF1C | ||
POIN sub_8022E38 | ||
POP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters