record and replay end_shop_mode
This commit is contained in:
@@ -162,6 +162,10 @@ static void update_last_talk(int new_node) {
|
||||
}
|
||||
|
||||
void end_shop_mode() {
|
||||
if(recording){
|
||||
record_action("end_shop_mode", "");
|
||||
}
|
||||
|
||||
rectangle dummy_rect = {0,0,0,0};
|
||||
|
||||
// This would be a place to show the text box, if I add it (and if this is not an outdoor shop).
|
||||
|
@@ -537,6 +537,8 @@ static void replay_next_action() {
|
||||
word_rect_t word_rect = word_rect_from_action(next_action);
|
||||
click_talk_rect(word_rect);
|
||||
handle_talk_node(word_rect.node);
|
||||
}else if(t == "end_shop_mode"){
|
||||
end_shop_mode();
|
||||
}
|
||||
|
||||
// TODO some of these actions shouldn't call advance_time(). They should return
|
||||
|
Reference in New Issue
Block a user