From 0248a71aaa842a728e4375cad0bafdad737c0430 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 25 Dec 2020 12:10:01 -0300 Subject: Fork code, replace some ifs with showifs in screen, add dummy structures. Hopefully, code will be more stable from now on. It might still crash, but then I'll be sure the bug is on the draggroups. --- game/01_init.rpy | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'game/01_init.rpy') diff --git a/game/01_init.rpy b/game/01_init.rpy index cd45f0a..d90bf7e 100644 --- a/game/01_init.rpy +++ b/game/01_init.rpy @@ -106,6 +106,25 @@ init -3 python: IRC_AUTH_NICK =2 IRC_AUTH_CHAN =3 + # Special error structs + ERR_MOBSTRUCT ={ + "name": "ERROR", + "unit_id": 0, + "max_hp": 0, + "hp": 0, + "atk": 0, + "ele": 0, + "status_effects": 0 + } + ERR_PLAYERSTRUCT={ + "unit_id": 0, + "max_hp": 0, + "hp": 0, + "atk": 0, + "ele": 0, + "status_effects": 0 + } + # Smart Print command def stdout(message): if debug: -- cgit v1.2.3-70-g09d2