Skip to content

Commit abc11b9

Browse files
committed
different NPCs can have their own speech bubble sprites
1 parent 19f129f commit abc11b9

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

objects/obj_game/Draw_64.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ for (var i = array_length(self.thought_bubbles) - 1; i >= 0; i--) {
1717
ww = ceil(ww / 32) * 32;
1818
hh = ceil(hh / 32) * 32;
1919

20-
draw_sprite_stretched(spr_speech_bubble, 0, location.x - ww / 2 , location.y - hh, ww, hh);
20+
draw_sprite_stretched(bubble.parent.mind_read_sprite, bubble.parent.mind_read_sprite_index, location.x - ww / 2 , location.y - hh, ww, hh);
2121

2222
draw_set_halign(fa_center);
2323
draw_set_valign(fa_middle);

objects/obj_npc/obj_npc.yy

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)