Info dumping with a lua script and .wch for Summon Night Swordcraft Story 2 (U) ROM.
Lua script:
(tried to inline code tags but BBCODE did not like it at all..)
https://pastebin.com/tD6vT8XT
WCH file contents:
SystemID GBA
00E9E0 w 1 0 EWRAM Non Combat XPos 1
00E9E4 w 1 0 EWRAM Non Combat XPos 2 (used as destination)
00E9E2 w 1 0 EWRAM Non Combat YPos 1
00E9E6 w 1 0 EWRAM Non Combat YPos 2 (used as destination)
00EA0C w u 0 EWRAM Non Combat some XPos component
00EA24 w u 0 EWRAM Non Combat some XPos component
0200FDF0 w 1 0 System Bus Encounter Timer.
0200FD60 w 1 0 System Bus Prev Non Combat Other XPos 1
0200FD62 w 1 0 System Bus Prev Non Combat Other YPos 2
030065DC b h 0 System Bus if this == 0x03, we are in combat
03003050 b u 0 System Bus
0030005A w u 0 System Bus
0300060C d u 0 System Bus Current Health (player)
03000618 d u 0 System Bus Previous Health (player)
03007C5C w 1 0 System Bus
030074D2 w 1 0 System Bus
0300743C b h 0 System Bus Some state tracking bit
0300058C d 3 0 System Bus Player X (in combat)
03000594 d 3 0 System Bus Prev Player X (in combat)
03000590 d 3 0 System Bus Player Y (in combat)
03000598 d 3 0 System Bus Prev Player Y (in combat)
03000564 d h 0 System Bus Character State flags (in combat)
08B8 d 3 0 IWRAM Enemy 1 Position X
0938 d u 0 IWRAM Enemy 1 HP
0BE4 d 3 0 IWRAM Enemy 2 Position X
040728 b u 0 Combined WRAM
0300001E w h 0 System Bus Part of RNG
0300000F b u 0 System Bus Part of Crit RNG?
03000004 d h 0 System Bus Part of RNG (in combat?) i think this starts counting 130 frames after we encounter an enemy.
02000028 d h 0 System Bus Part of RNG
02001524 d u 0 System Bus Money
7C5F b u 0 IWRAM
0200FD60 w 1 0 System Bus
0200FD62 w 1 0 System Bus
02001528 w h 0 System Bus
030067F6 w u 0 System Bus Number of enemies in combat
03000008 b u 0 System Bus Also number of enemies in combat
0F10 d 3 0 IWRAM Enemy 3 Position X
0F90 d u 0 IWRAM Enemy 3 Current HP