Concerns over recursion

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
ratman
Newbie
Posts: 4
Joined: Mon Oct 24, 2016 2:27 am
Contact:

Concerns over recursion

#1 Post by ratman »

Hello, I'm currently making an RPG/VN where I use multiple call statements for every battle, and a section of Town. I had a maximum recursion depth error due to a typo (image assignment without filename extension), and this brought a concern to how I'm currently doing things in the game. It works fine now, and the game is already fairly long, but I'm wondering if continuing this way (in the long run) will lead my game to hit a maximum recursion limit. I haven't hit the python limit of 1000 even yet, but just wanted to be sure if there was anything to watch out for in the future.

Below is the traceback code (as an example of the calls)

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/robberfight.rpy", line 125, in script call
call robberfightbegins from _call_robberfightbegins
File "game/robberfight.rpy", line 228, in script call
call screen Keyboard_Listener6
File "game/robberfight.rpy", line 288, in script call
call robberattack from _call_robberattack_1
File "game/robberfight.rpy", line 645, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_13
File "game/robberfight.rpy", line 228, in script call
call screen Keyboard_Listener6
File "game/robberfight.rpy", line 291, in script call
call robberattack from _call_robberattack_2
File "game/robberfight.rpy", line 670, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_14
File "game/robberfight.rpy", line 498, in script call
call robberattack from _call_robberattack_4
File "game/robberfight.rpy", line 688, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_15
File "game/robberfight.rpy", line 228, in script call
call screen Keyboard_Listener6
File "game/robberfight.rpy", line 291, in script call
call robberattack from _call_robberattack_2
File "game/robberfight.rpy", line 701, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_16
File "game/robberfight.rpy", line 498, in script call
call robberattack from _call_robberattack_4
File "game/robberfight.rpy", line 717, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_2
File "game/robberfight.rpy", line 228, in script call
call screen Keyboard_Listener6
File "game/robberfight.rpy", line 291, in script call
call robberattack from _call_robberattack_2
File "game/robberfight.rpy", line 739, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_4
File "game/robberfight.rpy", line 228, in script call
call screen Keyboard_Listener6
File "game/robberfight.rpy", line 291, in script call
call robberattack from _call_robberattack_2
File "game/robberfight.rpy", line 769, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_6
File "game/robberfight.rpy", line 228, in script call
call screen Keyboard_Listener6
File "game/robberfight.rpy", line 291, in script call
call robberattack from _call_robberattack_2
File "game/robberfight.rpy", line 774, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_7
File "game/robberfight.rpy", line 498, in script call
call robberattack from _call_robberattack_4
File "game/robberfight.rpy", line 779, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_8
File "game/robberfight.rpy", line 228, in script call
call screen Keyboard_Listener6
File "game/robberfight.rpy", line 291, in script call
call robberattack from _call_robberattack_2
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 531, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 531, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 531, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 255, in script call
call heartattack from _call_heartattack_8
File "game/heartfight.rpy", line 759, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_23
File "game/heartfight.rpy", line 262, in script call
call heartattack from _call_heartattack_9
File "game/heartfight.rpy", line 759, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_23
File "game/heartfight.rpy", line 267, in script call
call heartattack from _call_heartattack_10
File "game/heartfight.rpy", line 734, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_22
File "game/heartfight.rpy", line 418, in script call
call heartattack from _call_heartattack_4
File "game/heartfight.rpy", line 723, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_21
File "game/heartfight.rpy", line 418, in script call
call heartattack from _call_heartattack_4
File "game/heartfight.rpy", line 704, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_19
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 698, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_18
File "game/heartfight.rpy", line 691, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_17
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 665, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_15
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 659, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_14
File "game/heartfight.rpy", line 652, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_13
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 626, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_11
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 606, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_9
File "game/heartfight.rpy", line 418, in script call
call heartattack from _call_heartattack_4
File "game/heartfight.rpy", line 586, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_7
File "game/script.rpy", line 790, in script call

File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2096, in script call
if turn >= 4:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2096, in script call
if turn >= 4:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2266, in script call
if tree == 7:
File "game/script.rpy", line 2362, in script call

File "game/script.rpy", line 2344, in script call
if tree == 2:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2338, in script call
if tree == 3:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2319, in script call

File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2311, in script call

File "game/script.rpy", line 2281, in script call
if block == "false":
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2086, in script call
if boss_hp >= 500 and tree <= 7:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 1968, in script call

File "game/script.rpy", line 2052, in script call
if random == 3:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 1968, in script call

File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2062, in script call
if stare == 2:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2072, in script call
if stare >= 3:
File "game/script.rpy", line 2117, in script call
if breaktime >= 3 and boss_hp <= 500 and enrageflag == "FALSE" and boss_hp >= 200:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2203, in script call
if block == "true":
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2217, in script call

File "game/script.rpy", line 2233, in script call

File "game/script.rpy", line 2233, in script call

File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2126, in script call
if block == "true":
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2126, in script call
if block == "true":
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2126, in script call
if block == "true":
File "game/script.rpy", line 2607, in script call

File "game/script.rpy", line 3043, in script call
label summon:
File "game/demoncow.rpy", line 119, in script call
call DCbattle from _call_DCbattle
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 293, in script call
call DCbossattack from _call_DCbossattack_5
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 735, in script call
call DCbossattack from _call_DCbossattack_8
File "game/demoncow.rpy", line 735, in script call
call DCbossattack from _call_DCbossattack_8
File "game/demoncow.rpy", line 1241, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_13
File "game/demoncow.rpy", line 735, in script call
call DCbossattack from _call_DCbossattack_8
File "game/demoncow.rpy", line 735, in script call
call DCbossattack from _call_DCbossattack_8
File "game/demoncow.rpy", line 735, in script call
call DCbossattack from _call_DCbossattack_8
File "game/demoncow.rpy", line 758, in script call
call DCbossattack from _call_DCbossattack_9
File "game/demoncow.rpy", line 1245, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_14
File "game/demoncow.rpy", line 735, in script call
call DCbossattack from _call_DCbossattack_8
File "game/demoncow.rpy", line 1249, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_15
File "game/demoncow.rpy", line 735, in script call
call DCbossattack from _call_DCbossattack_8
File "game/demoncow.rpy", line 1222, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_11
File "game/demoncow.rpy", line 1812, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_35
File "game/demoncow.rpy", line 1713, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_33
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1812, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_35
File "game/demoncow.rpy", line 1713, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_33
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1826, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_37
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1496, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_18
File "game/demoncow.rpy", line 1517, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_19
File "game/demoncow.rpy", line 1543, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_20
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1549, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_21
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1555, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_22
File "game/demoncow.rpy", line 298, in script call
call DCbossattack from _call_DCbossattack_6
File "game/demoncow.rpy", line 1575, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_23
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1601, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_26
File "game/demoncow.rpy", line 298, in script call
call DCbossattack from _call_DCbossattack_6
File "game/demoncow.rpy", line 1620, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_27
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1656, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_30
File "game/demoncow.rpy", line 1661, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_31
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1661, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_31
File "game/demoncow.rpy", line 678, in script call
call DCbossattack from _call_DCbossattack_7
File "game/fishboss.rpy", line 134, in script call
call FBbattle
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1411, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1419, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 1442, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1449, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 1473, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 197, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 306, in script call
call FBbossattack
File "game/fishboss.rpy", line 1486, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 1508, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 243, in script call
call FBbossattack
File "game/fishboss.rpy", line 1516, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1523, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 1528, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1547, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 311, in script call
call FBbossattack
File "game/fishboss.rpy", line 1557, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 1605, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1614, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1629, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 315, in script call
call FBbossattack
File "game/fishboss.rpy", line 1644, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 1671, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1678, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1683, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1693, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1700, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1709, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 315, in script call
call FBbossattack
File "game/fishboss.rpy", line 1724, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 1751, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1756, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1761, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 780, in script call
call FBbossattack
File "game/fishboss.rpy", line 1345, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 780, in script call
call FBbossattack
File "game/fishboss.rpy", line 1357, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 780, in script call
call FBbossattack
File "game/fishboss.rpy", line 1368, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 780, in script call
call FBbossattack
File "game/fishboss.rpy", line 1383, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 780, in script call
call FBbossattack
File "game/fishboss.rpy", line 1397, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 714, in script call
call FBbossattack
File "game/chapter4.rpy", line 937, in script
ScriptError: could not find label 'miamireturnlabel'.

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/robberfight.rpy", line 125, in script call
call robberfightbegins from _call_robberfightbegins
File "game/robberfight.rpy", line 228, in script call
call screen Keyboard_Listener6
File "game/robberfight.rpy", line 288, in script call
call robberattack from _call_robberattack_1
File "game/robberfight.rpy", line 645, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_13
File "game/robberfight.rpy", line 228, in script call
call screen Keyboard_Listener6
File "game/robberfight.rpy", line 291, in script call
call robberattack from _call_robberattack_2
File "game/robberfight.rpy", line 670, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_14
File "game/robberfight.rpy", line 498, in script call
call robberattack from _call_robberattack_4
File "game/robberfight.rpy", line 688, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_15
File "game/robberfight.rpy", line 228, in script call
call screen Keyboard_Listener6
File "game/robberfight.rpy", line 291, in script call
call robberattack from _call_robberattack_2
File "game/robberfight.rpy", line 701, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_16
File "game/robberfight.rpy", line 498, in script call
call robberattack from _call_robberattack_4
File "game/robberfight.rpy", line 717, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_2
File "game/robberfight.rpy", line 228, in script call
call screen Keyboard_Listener6
File "game/robberfight.rpy", line 291, in script call
call robberattack from _call_robberattack_2
File "game/robberfight.rpy", line 739, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_4
File "game/robberfight.rpy", line 228, in script call
call screen Keyboard_Listener6
File "game/robberfight.rpy", line 291, in script call
call robberattack from _call_robberattack_2
File "game/robberfight.rpy", line 769, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_6
File "game/robberfight.rpy", line 228, in script call
call screen Keyboard_Listener6
File "game/robberfight.rpy", line 291, in script call
call robberattack from _call_robberattack_2
File "game/robberfight.rpy", line 774, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_7
File "game/robberfight.rpy", line 498, in script call
call robberattack from _call_robberattack_4
File "game/robberfight.rpy", line 779, in script call
call Rblockresetdeathcheck from _call_Rblockresetdeathcheck_8
File "game/robberfight.rpy", line 228, in script call
call screen Keyboard_Listener6
File "game/robberfight.rpy", line 291, in script call
call robberattack from _call_robberattack_2
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 531, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 531, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 531, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 255, in script call
call heartattack from _call_heartattack_8
File "game/heartfight.rpy", line 759, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_23
File "game/heartfight.rpy", line 262, in script call
call heartattack from _call_heartattack_9
File "game/heartfight.rpy", line 759, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_23
File "game/heartfight.rpy", line 267, in script call
call heartattack from _call_heartattack_10
File "game/heartfight.rpy", line 734, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_22
File "game/heartfight.rpy", line 418, in script call
call heartattack from _call_heartattack_4
File "game/heartfight.rpy", line 723, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_21
File "game/heartfight.rpy", line 418, in script call
call heartattack from _call_heartattack_4
File "game/heartfight.rpy", line 704, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_19
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 698, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_18
File "game/heartfight.rpy", line 691, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_17
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 665, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_15
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 659, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_14
File "game/heartfight.rpy", line 652, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_13
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 626, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_11
File "game/heartfight.rpy", line 194, in script call
call screen Keyboard_Listener4
File "game/heartfight.rpy", line 217, in script call
call heartattack from _call_heartattack_1
File "game/heartfight.rpy", line 606, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_9
File "game/heartfight.rpy", line 418, in script call
call heartattack from _call_heartattack_4
File "game/heartfight.rpy", line 586, in script call
call Hblockresetdeathcheck from _call_Hblockresetdeathcheck_7
File "game/script.rpy", line 790, in script call

File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2096, in script call
if turn >= 4:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2096, in script call
if turn >= 4:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2266, in script call
if tree == 7:
File "game/script.rpy", line 2362, in script call

File "game/script.rpy", line 2344, in script call
if tree == 2:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2338, in script call
if tree == 3:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2319, in script call

File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2311, in script call

File "game/script.rpy", line 2281, in script call
if block == "false":
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2086, in script call
if boss_hp >= 500 and tree <= 7:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 1968, in script call

File "game/script.rpy", line 2052, in script call
if random == 3:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 1968, in script call

File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2062, in script call
if stare == 2:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2072, in script call
if stare >= 3:
File "game/script.rpy", line 2117, in script call
if breaktime >= 3 and boss_hp <= 500 and enrageflag == "FALSE" and boss_hp >= 200:
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2203, in script call
if block == "true":
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2217, in script call

File "game/script.rpy", line 2233, in script call

File "game/script.rpy", line 2233, in script call

File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2126, in script call
if block == "true":
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2126, in script call
if block == "true":
File "game/script.rpy", line 1813, in script call

File "game/script.rpy", line 1835, in script call

File "game/script.rpy", line 2126, in script call
if block == "true":
File "game/script.rpy", line 2607, in script call

File "game/script.rpy", line 3043, in script call
label summon:
File "game/demoncow.rpy", line 119, in script call
call DCbattle from _call_DCbattle
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 293, in script call
call DCbossattack from _call_DCbossattack_5
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 735, in script call
call DCbossattack from _call_DCbossattack_8
File "game/demoncow.rpy", line 735, in script call
call DCbossattack from _call_DCbossattack_8
File "game/demoncow.rpy", line 1241, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_13
File "game/demoncow.rpy", line 735, in script call
call DCbossattack from _call_DCbossattack_8
File "game/demoncow.rpy", line 735, in script call
call DCbossattack from _call_DCbossattack_8
File "game/demoncow.rpy", line 735, in script call
call DCbossattack from _call_DCbossattack_8
File "game/demoncow.rpy", line 758, in script call
call DCbossattack from _call_DCbossattack_9
File "game/demoncow.rpy", line 1245, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_14
File "game/demoncow.rpy", line 735, in script call
call DCbossattack from _call_DCbossattack_8
File "game/demoncow.rpy", line 1249, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_15
File "game/demoncow.rpy", line 735, in script call
call DCbossattack from _call_DCbossattack_8
File "game/demoncow.rpy", line 1222, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_11
File "game/demoncow.rpy", line 1812, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_35
File "game/demoncow.rpy", line 1713, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_33
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1812, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_35
File "game/demoncow.rpy", line 1713, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_33
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1826, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_37
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1861, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_40
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1496, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_18
File "game/demoncow.rpy", line 1517, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_19
File "game/demoncow.rpy", line 1543, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_20
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1549, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_21
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1555, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_22
File "game/demoncow.rpy", line 298, in script call
call DCbossattack from _call_DCbossattack_6
File "game/demoncow.rpy", line 1575, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_23
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1601, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_26
File "game/demoncow.rpy", line 298, in script call
call DCbossattack from _call_DCbossattack_6
File "game/demoncow.rpy", line 1620, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_27
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1656, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_30
File "game/demoncow.rpy", line 1661, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_31
File "game/demoncow.rpy", line 209, in script call
call screen Keyboard_ListenerDC2
File "game/demoncow.rpy", line 230, in script call
call DCbossattack from _call_DCbossattack_1
File "game/demoncow.rpy", line 1661, in script call
call DCblockresetdeathcheck from _call_DCblockresetdeathcheck_31
File "game/demoncow.rpy", line 678, in script call
call DCbossattack from _call_DCbossattack_7
File "game/fishboss.rpy", line 134, in script call
call FBbattle
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1411, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1419, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 1442, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1449, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 1473, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 197, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 306, in script call
call FBbossattack
File "game/fishboss.rpy", line 1486, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 1508, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 243, in script call
call FBbossattack
File "game/fishboss.rpy", line 1516, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1523, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 1528, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1547, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 311, in script call
call FBbossattack
File "game/fishboss.rpy", line 1557, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 1605, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1614, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1629, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 315, in script call
call FBbossattack
File "game/fishboss.rpy", line 1644, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 1671, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1678, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1683, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1693, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1700, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1709, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 315, in script call
call FBbossattack
File "game/fishboss.rpy", line 1724, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 1751, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1756, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 225, in script call
call screen Keyboard_ListenerFB2
File "game/fishboss.rpy", line 252, in script call
call FBbossattack
File "game/fishboss.rpy", line 1761, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 780, in script call
call FBbossattack
File "game/fishboss.rpy", line 1345, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 780, in script call
call FBbossattack
File "game/fishboss.rpy", line 1357, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 780, in script call
call FBbossattack
File "game/fishboss.rpy", line 1368, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 780, in script call
call FBbossattack
File "game/fishboss.rpy", line 1383, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 780, in script call
call FBbossattack
File "game/fishboss.rpy", line 1397, in script call
call FBblockresetdeathcheck
File "game/fishboss.rpy", line 714, in script call
call FBbossattack
File "game/chapter4.rpy", line 937, in script
File "C:\Users\Patrick\Downloads\renpy-6.99.12.2-sdk\renpy\ast.py", line 1527, in execute
rv = renpy.game.script.lookup(target)
File "C:\Users\Patrick\Downloads\renpy-6.99.12.2-sdk\renpy\script.py", line 857, in lookup
raise ScriptError("could not find label '%s'." % str(original))
ScriptError: could not find label 'miamireturnlabel'.

Windows-7-6.1.7601-SP1
Ren'Py 6.99.12.2.2029
The Adventures of Owen Wilson 0.0



and here is an example of a normal (small) fight, the code is all in RenPy besides some pygame.
I know I don't have elif statements and the code is pretty trash, but yeah, that's not my main question right now.
Thanks if anyone bothers to read through!


init python:
import pygame

class KeyboardListener7(renpy.Displayable):

def __init__(self):
renpy.Displayable.__init__(self)

# This function listens for events.
def event(self, ev, x, y, st):

# We only care about keydown events.
if ev.type != pygame.KEYDOWN:
return

if ev.key == pygame.K_SPACE:
renpy.call("increment4")
ui.pausebehavior(0.001)

return

# Return a small empty render, so we get events.
def render(self, width, height, st, at):
return renpy.Render(1, 1)

# Create a Listener to actually listen for the code.
keyboard_listener7 = KeyboardListener7()


screen Keyboard_Listener7():
add(keyboard_listener7)


init python:
import pygame

class KeyboardListener8(renpy.Displayable):

def __init__(self):

renpy.Displayable.__init__(self)

# This function listens for events.
def event(self, ev, x, y, st):

# We only care about keydown events.
if ev.type != pygame.KEYDOWN:
return

if ev.key == pygame.K_SPACE:


renpy.call("done4")
ui.pausebehavior(0.001)


return

# Return a small empty render, so we get events.
def render(self, width, height, st, at):
return renpy.Render(1, 1)

# Create a Listener to actually listen for the code.
keyboard_listener8 = KeyboardListener8()


screen Keyboard_Listener8():
add(keyboard_listener8)








image mushroomshriek = "mushroomshriek.jpg"
image sporkdeath = "death.jpg"
image knifestab = "stabbystab.gif"



label mushroomfightstarter:
hide mushroomani
show mushroomani4 with Move((0, 10), (0, -10), .10, bounce=True, repeat=True, delay=1.0)
call mushroombattle from _call_mushroombattle


label mushroomfightstarter2:
play music "darkforest.mp3"
hide mushroomani
show mushroomani4 with Move((0, 10), (0, -10), .10, bounce=True, repeat=True, delay=1.0)
call mushroombattle from _call_mushroombattle_1




label mushroombite:
$ mushroombrawl1 = 1
"\"There is only One Option.\""
"You open your mouth Wide."
show sporktalk with Dissolve(0.5)
sp "\"No, Owen! You cannot Eat these Shrooms.\""
sp "\"Use me Instead.\""
menu:
"Pick up your Spork":
jump itbeginshere



label itbeginshere:
"You pick up your Spork."
"You feel Warm."
"You wonder to yourself how you lived life for so long without this Spork."
sp "\"We are Above these Shrooms, Owen.\""
sp "\"We will Not Lose.\""
hide sporktalk with Dissolve(0.5)
call screen mushroomfight2


label mushroomquit:
"You eat the Inhaler."
"Your Spork weeps for you."
$ renpy.full_restart()

label youdiedatmushroom1:
$ death = 0
$ death += 1
stop music
scene sporkdeath
menu:
"Attempt to breathe":
jump mushroomfightstarter2

"Eat the Inhaler":
jump mushroomquit



label mushroombattle:
$ time = 5
$ player_max_hp = 50
$ player_hp = 50
$ turn = 0
$ mana = 3
$ max_mana = 6
$ action = "none"
$ damage = 1
$ boss_hp = 300
$ boss_max_hp = 300
$ test = 50
$ stab = renpy.random.randint(50, 90)
$ senpaisummon = 0
$ block = "false"
$ action = "none"
$ damage = 0
$ timer_jump = 'stabpunishment'
$ timestringd = "block"
$ shriek = 0
$ timestring2 = "stab"
$ action = "none"
$ summon = 0
$ death = 0
$ incrementer = 0
call screen mushroomfight1










label Mattack:
$ action = "attack"
if action == "attack":
$ turn += 1
jump Mattack2

label Mattack2:
$ incrementer = 0
$ time = 0.5
$ time_range = 0.5
$ timer_jump = 'Mattack3'
show screen countdown

call screen Keyboard_Listener7

label Mattack3:
hide screen countdown
hide screen Keyboard_Listener7
if incrementer >= 1:
jump failattack4
$ time = 0.3
$ time_range = 0.3
$ timer_jump = 'failattack4'
show screen countdown

show badanimation at right
call screen Keyboard_Listener8


label failattack4:
hide badanimation
"You have failed your attack."
call mushroomattack from _call_mushroomattack

label done4:
hide screen countdown
hide screen Keyboard_Listener8
hide badanimation
$ turn += 1
$ mana += 1
if mana >= max_mana:
$ mana = max_mana
show screen damagetest
$ damage = renpy.random.randint(20, 32)
$ boss_hp = boss_hp - damage
"You attack and deal [damage] damage."
hide screen damagetest
call mushroomattack from _call_mushroomattack_5








label blockresetdeathcheck2:
$ block = "false"
if player_hp <= 0:
"You have died."
jump youdiedatmushroom1

if boss_hp <= 0:
hide screen mushroomfight2
"You have Defeated the Shroom."
scene blackscreen with Dissolve(2.0)
"You regenerate fully from defeating the Shroom."
"Your Stabs become more Honed."
sp "\"It is not over yet, Owen.\""
jump mushroomfightbegins3

if player_hp >= 0:
call screen mushroomfight2



label defend2:
call screen defend2

label roll2:
"You flail around on the floor."
call screen mushroomfight2



label back2:
call screen mushroomfight2

label block2:

if mana <= 0:
"You do not have enough mana to defend."
call back2 from _call_back2


if mana >= 1:
$ turn += 1
$ mana = mana - 1
$ block = "false"

if hard == "TRUE":
$ time = 3
$ timer_range = 3
$ timer_jump = 'mushroomattack'
show screen timerbar
$ player_try = renpy.input("block")
if player_try != timestringd:
hide screen timerbar
$ time = 3
$ timer_range = 3
$ block = "false"
jump mushroomattack
if player_try == timestringd:



hide screen timerbar
$ time = 3
$ time_range = 3
$ block = "true"
jump mushroomattack

if medium == "TRUE":
$ time = 5
$ timer_range = 5
$ timer_jump = 'mushroomattack'
show screen timerbar
$ player_try = renpy.input("block")
if player_try != timestringd:
hide screen timerbar
$ time = 5
$ timer_range = 5
$ block = "false"
jump mushroomattack
if player_try == timestringd:

hide screen timerbar
$ time = 5
$ time_range = 5
$ block = "true"
jump mushroomattack

if easy == "TRUE":
$ time = 30
$ timer_range = 30
$ timer_jump = 'mushroomattack'
show screen timerbar
$ player_try = renpy.input("block")
if player_try != timestringd:
hide screen timerbar
$ time = 30
$ timer_range = 30
$ block = "false"
jump mushroomattack
if player_try == timestringd:

hide screen timerbar
$ time = 30
$ time_range = 30
$ block = "true"
jump mushroomattack

else:
hide screen timerbar
$ time = 5
$ time_range = 5
$ block = "false"
jump mushroomattack




label skill2:
call screen skill2


label stab:
if mana <= 2:
"You do not have enough mana to use this skill."
jump back2


if mana >= 3:
$ mana -= 3
$ block = "false"
$ turn += 1


if hard == "TRUE":
$ time = 5
$ timer_range = 5
$ timer_jump = 'mushroomattack'
show screen timerbar
$ player_try = renpy.input("stab")
if player_try != timestring2:
jump stabpunishment
if player_try == timestring2:



hide screen timerbar
$ time = 5
$ timer_range = 5
$ boss_hp = boss_hp - stab

"Success"
"You stab the Shroom."
show knifestab with moveinbottom
hide knifestab with moveoutright
show screen punchnumber
"The Shroom has taken [stab] damage from your Stab."
hide screen punchnumber
call mushroomattack from _call_mushroomattack_1

if medium == "TRUE":
$ time = 9
$ timer_range = 9
$ timer_jump = 'mushroomattack'
show screen timerbar
$ player_try = renpy.input("stab")
if player_try != timestring2:
jump stabpunishment
if player_try == timestring2:



hide screen timerbar
$ time = 9
$ timer_range = 9
$ boss_hp = boss_hp - stab

"Success"
"You stab the Shroom."
show knifestab with moveinbottom
hide knifestab with moveoutright
show screen punchnumber
"The Shroom has taken [stab] damage from your Stab."
hide screen punchnumber
call mushroomattack from _call_mushroomattack_2

if easy == "TRUE":

$ time = 60
$ timer_range = 60
$ timer_jump = 'mushroomattack'
show screen timerbar
$ player_try = renpy.input("stab")
if player_try != timestring2:
jump stabpunishment
if player_try == timestring2:



hide screen timerbar
$ time = 60
$ timer_range = 60
$ boss_hp = boss_hp - stab

"Success"
"You stab the Shroom."
show knifestab with moveinbottom
hide knifestab with moveoutright
show screen punchnumber
"The Shroom has taken [stab] damage from your Stab."
hide screen punchnumber
call mushroomattack from _call_mushroomattack_3



label stabpunishment:
hide screen timerbar
"You fail to stab the Shroom."
unknown "\"sjfkFJKhjhh....\""
call mushroomattack from _call_mushroomattack_4






label mushroomattack:
hide screen timerbar
if player_hp <= 0:
"You have died."
jump youdiedatmushroom1
if boss_hp <= 0:
hide screen mushroomfight2
"You have Defeated the Shroom."
scene blackscreen with Dissolve(2.0)
"You regenerate fully from defeating the Shroom."
"Your Stabs become more Honed."
sp "\"It is not over yet, Owen.\""
jump mushroomfightbegins3
while boss_hp >= 0:


if boss_hp <= 150 and boss_hp >= 1:

if shriek >= 5:
"The Shroom can Shriek no Longer."
$ shriek += 1
call blockresetdeathcheck2 from _call_blockresetdeathcheck2


if shriek >= 4:
if block == "false":
unknown "\"DFFJKDHFKDDHDFKDHJJHFJDHJFHJKSHDJKHFSDHJSFHJDSHFJHSD\""
"The Shroom's shrieks explode at Full Force."
play sound "Shriek.mp3"
show mushroomshriek with Move((0, 10), (0, -10), .10, bounce=True, repeat=True, delay=1.0)
hide mushroomshriek
$ damage = 25
"You take [damage] damage."
$ player_hp = player_hp - damage
$ shriek += 1
call blockresetdeathcheck2 from _call_blockresetdeathcheck2_1

if block == "true":
unknown "\"DFFJKDHFKDDHDFKDHJJHFJDHJFHJKSHDJKHFSDHJSFHJDSHFJHSD\""
"The Shroom's shrieks explode at Full Force."
play sound "Shriek.mp3"
show mushroomshriek with Move((0, 10), (0, -10), .10, bounce=True, repeat=True, delay=1.0)
hide mushroomshriek
"Success"
"You block a majority of the damage taken."
$ damage = 12
"You take [damage] damage."
$ player_hp = player_hp - damage
$ shriek += 1
call blockresetdeathcheck2 from _call_blockresetdeathcheck2_2


if shriek >= 3:
"The Shroom Recharges."
$ shriek += 1
call blockresetdeathcheck2 from _call_blockresetdeathcheck2_3


if shriek >= 2:
if block == "false":
unknown "\"DFFJKDHFKDDHDFKDHJJHFJDHJFHJKSHDJKHFSDHJSFHJDSHFJHSD\""
"The Shroom's shrieks explode at Full Force."
play sound "Shriek.mp3"
show mushroomshriek with Move((0, 10), (0, -10), .10, bounce=True, repeat=True, delay=1.0)
hide mushroomshriek
$ damage = 25
"You take [damage] damage."
$ player_hp = player_hp - damage
$ shriek += 1
call blockresetdeathcheck2 from _call_blockresetdeathcheck2_4

if block == "true":
unknown "\"DFFJKDHFKDDHDFKDHJJHFJDHJFHJKSHDJKHFSDHJSFHJDSHFJHSD\""
"The Shroom's shrieks explode at Full Force."
play sound "Shriek.mp3"
show mushroomshriek with Move((0, 10), (0, -10), .10, bounce=True, repeat=True, delay=1.0)
hide mushroomshriek
"Success"
"You block a majority of the damage taken."
$ damage = 12
"You take [damage] damage."
$ player_hp = player_hp - damage
$ shriek += 1
call blockresetdeathcheck2 from _call_blockresetdeathcheck2_5

if shriek >= 1:
unknown "\"DHdhHJbdhjBHJBHJHJbbhjhjb\""
"The Shroom's shrieks grow in Magnitude."
show sporktalk with Dissolve(0.5)
sp "\"Be careful Owen... I'm not sure what this Shroom is trying to do.\""
hide sporktalk with Dissolve(0.5)
$ shriek += 1
call blockresetdeathcheck2 from _call_blockresetdeathcheck2_6

if shriek <= 0:
unknown "\"SShBbhjasdhHJFHjhghjg\""
"The Shroom begins shrieking into the Darkness."
$ shriek += 1
call blockresetdeathcheck2 from _call_blockresetdeathcheck2_7









if boss_hp <= 300:
if block == "false":
unknown "\".....dJKKBKB\""
show mushroomani2
"The Shroom barrels acid in your direction."
$ damage = 7
"You take [damage] damage."
$ player_hp = player_hp - damage
call blockresetdeathcheck2 from _call_blockresetdeathcheck2_8

if block == "true":
unknown "\".....dJKKBKB\""
show mushroomani2
"The Shroom barrels acid in your direction."
show mushroomani2
"Success"
"You block the majority of the acid."
$ damage = 3
"You take [damage] damage."
$ player_hp = player_hp - damage
call blockresetdeathcheck2 from _call_blockresetdeathcheck2_9



label summon2:
if summon >= 1:
"You have no more available summons."
call screen mushroomfight2





if summon <= 0:
"You begin chanting a Sutra you heard from an all commercial TV channel."
"\"buuuyyyyyyy thissssssssss producccttttttttttt hoooaaaaaaghh.\""
show christian at left with Dissolve(3.0)
s "\"Hello! It is I, Your Senpai.\""
"\"Oh Boy.\""
sp "\"Owen... what did you end up summoning...\""
"You are forced to acknowledge this strange man as your Senpai."
"By doing so, you gain his [[Blessing]."
s "\"Actually I can't really [[Bless] you today.\""
s "\"Kinda low on income.\""
s "\"You'll have to Make Do with This.\""
s "\"huuUuuuuAAAAGHHHHHHHHHhhhhhHHHHHHHhhhhh.\""
s "\"huuuUAAAAAAGAHHHHHHHHHHHHHHHHHHHHHHhhhhhhhHHHHHHHAHAHH.\""
s "\"HUUUAghGHHGHHGGHHGGHGHGHGHAGGGGGGAGAGGAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH.\""
s "[[Moonwalk]."
hide christian with moveoutright
show screen damagetest
$ damage = 50
$ boss_hp = boss_hp - damage
"The Shroom takes [damage] damage from Senpai's Slick Walk."
hide screen damagetest
$ summon += 1
call blockresetdeathcheck2 from _call_blockresetdeathcheck2_10




label increment4:
$ incrementer = 1






User avatar
Alex
Lemma-Class Veteran
Posts: 3094
Joined: Fri Dec 11, 2009 5:25 pm
Contact:

Re: Concerns over recursion

#2 Post by Alex »

This error means that you have too much calls for labels without returns, like

Code: Select all

label my_label:
    call my_label
just fix your script.

User avatar
ratman
Newbie
Posts: 4
Joined: Mon Oct 24, 2016 2:27 am
Contact:

Re: Concerns over recursion

#3 Post by ratman »

Hey, thanks for the reply. I already fixed the issue, I was just wondering if the way I was doing things would lead to a similar issue in the future.

"this brought a concern to how I'm currently doing things in the game. It works fine now..."

It might be too hard to answer just based off of this so, my bad if it seems like an impossible question.

Post Reply

Who is online

Users browsing this forum: Google [Bot]