summaryrefslogtreecommitdiff
path: root/csrc/fcn_4021f8.c
diff options
context:
space:
mode:
Diffstat (limited to 'csrc/fcn_4021f8.c')
-rw-r--r--csrc/fcn_4021f8.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/csrc/fcn_4021f8.c b/csrc/fcn_4021f8.c
index f854ba5..80dffb7 100644
--- a/csrc/fcn_4021f8.c
+++ b/csrc/fcn_4021f8.c
@@ -8,6 +8,21 @@ void fcn_004021f8(int a1, int a2, int a3)
GetCursorPos_250(0);
}
+void fcn_00402460(int a1)
+{
+ if (a1 == 1) {
+ b_48a178 = (uint8_t)a1;
+ if ((b_48a179 & 1) != 0)
+ return;
+ GetCursorPos_250(0);
+ return;
+ }
+ if ((b_48a179 & 1) != 0) {
+ GetCursorPos_35d(0);
+ }
+ b_48a178 = (uint8_t)a1;
+}
+
/* 0x0040235d */
void GetCursorPos_35d(int * a1)
{