removed constants

This commit is contained in:
thedaneeffect committed 2022-09-04 16:58:45 -06:00
1 parent baa85e7454
commit 46203d5455
2 files changed
+6 -14

No files matched your search

+2 -2
View File
@@ -6730,14 +6730,14 @@ public class Game extends GameShell {
if ((seqID == npc.primarySeqID) && (seqID != -1)) {
int style = SeqType.instances[seqID].replayStyle;
if (style == SeqType.REPLAY_STYLE_RESTART) {
if (style == 0) {
npc.primarySeqFrame = 0;
npc.primarySeqCycle = 0;
npc.primarySeqDelay = delay;
npc.primarySeqLoop = 0;
}
if (style == SeqType.REPLAY_STYLE_CONTINUE) {
if (style == 1) {
npc.primarySeqLoop = 0;
}
} else if ((seqID == -1) || (npc.primarySeqID == -1) || (SeqType.instances[seqID].priority >= SeqType.instances[npc.primarySeqID].priority)) {
+4 -12
View File
@@ -57,19 +57,11 @@ public class SeqType {
public int idleStyle = -1;
/**
* Restarts the sequence when played in a NPC/Player mask.
* If 0, restarts the sequence if already playing
* If 1, does not restart if already playing
* @see Game#method86(Buffer)
*/
public static final int REPLAY_STYLE_RESTART = 1;
/**
* Does not restart the sequence.
*/
public static final int REPLAY_STYLE_CONTINUE = 2;
/**
* Describes how the seq should act if played while already active.
*/
public int replayStyle = REPLAY_STYLE_CONTINUE;
public int replayStyle = 1;
public int unusedInt;