[Scummvm-tracker] [ScummVM :: Bugs] #13797: SCUMM/HE: FREDDI5: Outline of Freddi appears in the leftmost tide pool

ScummVM :: Bugs trac at scummvm.org
Sat Jul 6 21:24:00 UTC 2024


#13797: SCUMM/HE: FREDDI5: Outline of Freddi appears in the leftmost tide pool
-------------------------+----------------------------
Reporter:  Thunderforge  |       Owner:  (none)
    Type:  defect        |      Status:  new
Priority:  normal        |   Component:  Engine: SCUMM
 Version:                |  Resolution:
Keywords:                |        Game:  Freddi Fish 5
-------------------------+----------------------------
Comment (by AndywinXp):

 So, this is a sprite image of the mudskipper which the scripts EXPLICITLY
 ask the engine to render (function renderSprites(), image 495 state 15):


 {{{
 Script# 2067
 [0000] (37) dim2dim2Array.dword(roomvar3,0,15,0,0,1)
 [000E] (BF) startScriptQuick2(53,[])
 ERROR: No items on stack to pop!
 [0015] (47) roomarray3[**** INVALID DATA ****] = 0
 [0018] (B6) printDebug.begin()
 [001A] (B6) printDebug.msg("all sprites untouchable 1")
 [0036] (43) localvar0 = 1
 [003B] (5D) while (localvar0 <= 15) {
 [0044] (BF)   startScriptQuick2(53,[])
 ERROR: No items on stack to pop!
 [004C] (47)   roomarray3[**** INVALID DATA ****] = localvar0
 [004F] (0C)   dup[1] = roomarray3[localvar0]
 [0056] (26)   setSpriteInfo.setRange(dup[1],dup[1])
 [0058] (26)   setSpriteInfo.resetSprite()
 [005A] (26)   setSpriteInfo.setImage(495)
 [005F] (26)   setSpriteInfo.setImageState(localvar0)
 [0064] (26)   setSpriteInfo.setUpdateType(1)
 [0068] (26)   setSpriteInfo.setAutoAnimFlag(0)
 [006C] (26)   setSpriteInfo.setPriority(-5)
 [0071] (26)   setSpriteInfo.setGroup(17)
 [0075] (26)   setSpriteInfo.setPosition(0,0)
 [007B] (4B)   array260[roomarray3[localvar0]][1] = 2054
 [0089] (4F)   localvar0++
 [008C] (**) }
 [008F] (66) stopObjectCodeB()
 END

 }}}

 And guess what happens when I debug the original executable? It follows
 this sprite's rendering pipeline aaaall the way to the end :-) ''and yet
 the original doesn't show this thing on screen'' :-)

 I'm giving up, I've been behind this ticket for months and this still
 makes no sense...
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/13797#comment:8>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list