@@ -117,7 +117,7 @@ def parse_ability_event(self, buffer, frames, type, code, pid):
117117 return LocationAbilityEvent (frames , pid , type , code , None , location )
118118
119119 elif flag in (0x04 ,0x05 ,0x07 ):
120- print "Made it!"
120+ # print "Made it!"
121121 h = buffer .read_hex (2 )
122122 hinge = buffer .read_byte ()
123123 if hinge & 0x20 :
@@ -144,18 +144,18 @@ def parse_ability_event(self, buffer, frames, type, code, pid):
144144 elif atype in (0x08 ,0x0a ): #new to patch 1.3.3
145145 #10 bytes total, coordinates have a different format?
146146 #X coordinate definitely is the first byte, with (hopefully) y next
147- print hex (flag )
147+ # print hex(flag)
148148 event = UnknownAbilityEvent (frames , pid , type , code , None )
149149 event .location1 = buffer .read_coordinate ()
150150 buffer .skip (5 )
151151 return event
152152
153153 else :
154- print hex (atype )
155- print hex (buffer .cursor )
154+ # print hex(atype)
155+ # print hex(buffer.cursor)
156156 raise TypeError ()
157157
158- print "%s - %s" % (hex (atype ),hex (flag ))
158+ # print "%s - %s" % (hex(atype),hex(flag))
159159 raise TypeError ("Shouldn't be here EVER!" )
160160
161161 def parse_selection_event (self , buffer , frames , type , code , pid ):
@@ -277,11 +277,11 @@ def parse_ability_event(self, buffer, frames, type, code, pid):
277277 return LocationAbilityEvent (frames , pid , type , code , None , location )
278278
279279 else :
280- print hex (atype )
281- print hex (buffer .cursor )
280+ # print hex(atype)
281+ # print hex(buffer.cursor)
282282 raise TypeError ()
283283
284- print "%s - %s" % (hex (atype ),hex (flag ))
284+ # print "%s - %s" % (hex(atype),hex(flag))
285285 raise TypeError ("Shouldn't be here EVER!" )
286286
287287class Unknown2Parser (object ):
0 commit comments