Skeetendo

’Cause all games were better on the GBC

You are not logged in.

  • Index
  • → Help/Question
  • → Pokered - Burglars give you something after you defeat them

#1 2016-02-07 23:44:53

Fotomac
Member
Registered: 2015-10-25
Post 139/297

Pokered - Burglars give you something after you defeat them

It's a behavioral pattern found in later games, and I was thinking of introducing it into my hack. I was thinking of having an alternate After Battle text for if you haven't yet received the item and there's an empty spot in your bag. But how would I go about it?

Offline

#2 2016-02-08 00:02:57

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 3,231/3,508

Re: Pokered - Burglars give you something after you defeat them

After battle text is just like any other text, so as far I know you should be able to just use TX_ASM in their after battle text to use a similar script to any other NPC that gives you an item, like the guy on Route 1 who gives you the Potion. This would best be done in the text that shows when you talk to them again after battle, not the text that they say automatically inside the battle itself when you win.

Last edited by Mateo (2016-02-08 00:03:51)

Offline

#3 2016-02-08 00:18:18

Fotomac
Member
Registered: 2015-10-25
Post 140/297

Re: Pokered - Burglars give you something after you defeat them

So End Battle, then? And which event would I use? (Because item handouts tend to be tied to an in-game event as listed in the constants.)

Offline

#4 2016-02-08 01:27:15

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 3,232/3,508

Re: Pokered - Burglars give you something after you defeat them

Just one of the umpteen dozen unused Event constants would be fine.

Offline

  • Index
  • → Help/Question
  • → Pokered - Burglars give you something after you defeat them

Board footer

Powered by FluxBB