summaryrefslogtreecommitdiff
path: root/csrc/fcn_4021f8.c
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-08-31 22:05:42 +0800
committerIru Cai <mytbk920423@gmail.com>2018-08-31 22:05:42 +0800
commit00f32e72fdeff84798fa40771db19009de98e36b (patch)
tree2b3f094863264b5c89914de3c97bfbb5398b8440 /csrc/fcn_4021f8.c
parentcabca19c455c1c32e4ee560ba371545b1da26da4 (diff)
downloadrich4-00f32e72fdeff84798fa40771db19009de98e36b.tar.xz
fcn_00{402460,419703}
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)
{