Thread: Research: Let's research the OAM-System
View Single Post
  #2    
Old December 21st, 2010 (07:25 AM). Edited June 11th, 2011 by knizz.
knizz's Avatar
knizz knizz is offline
 
Join Date: Aug 2007
Posts: 192
Code:
00000000 npc_state       struc @ (sizeof=0x24)
00000000 bitfield_DX:    .byte ?
00000001 field_1:        .byte ?
00000002 field_2:        .byte ?
00000003 field_3:        .byte ?
00000004 oamid:          .byte ?
00000005 typeid:         .byte ?          @ Used as index for gender-color-lookup
00000006 running_behaviour:.byte ?
00000007 is_trainer:     .byte ?
00000008 field_8:        .byte ?
00000009 field_9:        .byte ?
0000000A field_A:        .byte ?
0000000B height:         .byte ?          @ Only bits 0x0F define height. I don't know about 0xF0.
0000000C stay_around:    coords ?
00000010 from:           coords ?
00000014 to:             coords ?
00000018 unknown2:       .byte ?
00000019 movement_area:  .byte ?
0000001A field_1A:       .short ?
0000001C the_state:      .byte ?
0000001D sight_distance: .byte ?
0000001E tile_from:      .byte ?
0000001F tile_to:        .byte ?
00000020 unknown1:       .byte ?
00000021 unknown3:       .byte ?
00000022 field_22:       .byte ?
00000023 field_23:       .byte ?
00000024 npc_state       ends
__________________
Firered IDA 6.5 DB: https://www.dropbox.com/s/hvvmxxoo1dkmdzc/firered.idb
VBA-M with lua scripting support
Reply With Quote