forked from akanyan/mu3-mods
28 lines
604 B
C#
28 lines
604 B
C#
using MU3.Util;
|
|
|
|
namespace MU3;
|
|
|
|
class patch_UIGetItem: UIGetItem {
|
|
private int state_;
|
|
private float time_;
|
|
|
|
public extern bool orig_isOutEnd();
|
|
public new bool isOutEnd() {
|
|
if(!Singleton<Mod.State>.instance.SkipItemFrame) {
|
|
return orig_isOutEnd();
|
|
} else {
|
|
return true;
|
|
}
|
|
}
|
|
|
|
public extern void orig_start(Kind kind);
|
|
private void start(Kind kind) {
|
|
if(!Singleton<Mod.State>.instance.SkipItemFrame) {
|
|
orig_start(kind);
|
|
} else {
|
|
state_ = 3;
|
|
time_ = 100f;
|
|
}
|
|
}
|
|
}
|