From bfdb1e33f4f8571c0db1221266e636674de0e104 Mon Sep 17 00:00:00 2001 From: nmlgc Date: Tue, 14 Jun 2022 21:19:08 +0200 Subject: [PATCH] [Decompilation] [th01] Endings: Bad Part of P0200, funded by Yanga. --- master.hpp | 1 + th01/end/end.cpp | 70 ++++++++++++++ th01/shiftjis/end.hpp | 3 + th01_fuuin.asm | 210 +----------------------------------------- 4 files changed, 76 insertions(+), 208 deletions(-) diff --git a/master.hpp b/master.hpp index ad5229c6..64f2ddb8 100644 --- a/master.hpp +++ b/master.hpp @@ -193,6 +193,7 @@ void MASTER_RET graph_show(void); void MASTER_RET graph_hide(void); void MASTER_RET graph_start(void); int MASTER_RET graph_copy_page(int to_page); +void MASTER_RET graph_scrollup(unsigned line); #if defined(PC98_H) && defined(__cplusplus) void MASTER_RET graph_gaiji_putc(int x, int y, int c, int color); diff --git a/th01/end/end.cpp b/th01/end/end.cpp index cfc7390f..4be1efd1 100644 --- a/th01/end/end.cpp +++ b/th01/end/end.cpp @@ -73,6 +73,76 @@ void near end_good_jigoku(void); frame_delay(delay_frames); \ } +void pascal near shake_then_boom(int shake_duration, int boom_duration) +{ + int i; + + // <= instead of