From 1c3d3e04123e85d1117cf6607416c9e1077e2183 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sun, 21 Oct 2012 20:41:12 +0200 Subject: changed sun and moon and crow Z order --- bugfixes.yaml | 2 ++ src/mrsun.cpp | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bugfixes.yaml b/bugfixes.yaml index 9dc847c..af1ea6e 100644 --- a/bugfixes.yaml +++ b/bugfixes.yaml @@ -225,3 +225,5 @@ hooks: - {name: AlwaysDrawPictureFontWhite, type: branch_insn, branch_type: b, src_addr_pal: 0x800E596C, target_func: 'TextWriterCrap'} - {name: DebugSCM, type: branch_insn, branch_type: b, src_addr_pal: 0x8006A6C4, target_func: 'EndSCM'} + - {name: FrontCrow, type: patch, addr_pal: 0x80ACF6A0, data: '45ABE000'} # 5500.0f + diff --git a/src/mrsun.cpp b/src/mrsun.cpp index b643128..35d72a4 100755 --- a/src/mrsun.cpp +++ b/src/mrsun.cpp @@ -226,7 +226,10 @@ int daMrSun_c::onCreate() { this->sunDying = 0; this->killFlag = 0; - this->pos.z = 5500.00; + if (this->settings == 1) + this->pos.z = 6000.0f; // moon + else + this->pos.z = 5750.0f; // sun char eventNum = (this->settings >> 16) & 0xFF; -- cgit v1.2.3